/Linux-v6.1/arch/arm/boot/dts/ |
D | r8a7792.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the R-Car V2H (R8A77920) SoC 8 #include <dt-bindings/clock/r8a7792-cpg-mssr.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/power/r8a7792-sysc.h> 15 #address-cells = <2>; 16 #size-cells = <2>; 37 /* External CAN clock */ 38 can_clk: can { [all …]
|
D | r8a7794.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the R-Car E2 (R8A77940) SoC 9 #include <dt-bindings/clock/r8a7794-cpg-mssr.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/power/r8a7794-sysc.h> 16 #address-cells = <2>; 17 #size-cells = <2>; 39 compatible = "fixed-clock"; 40 #clock-cells = <0>; [all …]
|
D | r8a7793.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the R-Car M2-N (R8A77930) SoC 5 * Copyright (C) 2014-2015 Renesas Electronics Corporation 8 #include <dt-bindings/clock/r8a7793-cpg-mssr.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/power/r8a7793-sysc.h> 15 #address-cells = <2>; 16 #size-cells = <2>; 37 compatible = "fixed-clock"; [all …]
|
D | r8a7745.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-2017 Cogent Embedded Inc. 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/clock/r8a7745-cpg-mssr.h> 11 #include <dt-bindings/power/r8a7745-sysc.h> 15 #address-cells = <2>; 16 #size-cells = <2>; 41 compatible = "fixed-clock"; 42 #clock-cells = <0>; [all …]
|
D | r8a7791.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the R-Car M2-W (R8A77910) SoC 5 * Copyright (C) 2013-2015 Renesas Electronics Corporation 6 * Copyright (C) 2013-2014 Renesas Solutions Corp. 10 #include <dt-bindings/clock/r8a7791-cpg-mssr.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/power/r8a7791-sysc.h> 17 #address-cells = <2>; 18 #size-cells = <2>; [all …]
|
D | r8a7743.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-2017 Cogent Embedded Inc. 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/clock/r8a7743-cpg-mssr.h> 11 #include <dt-bindings/power/r8a7743-sysc.h> 15 #address-cells = <2>; 16 #size-cells = <2>; 24 compatible = "fixed-clock"; 25 #clock-cells = <0>; [all …]
|
D | r8a7744.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/clock/r8a7744-cpg-mssr.h> 11 #include <dt-bindings/power/r8a7744-sysc.h> 15 #address-cells = <2>; 16 #size-cells = <2>; 24 compatible = "fixed-clock"; 25 #clock-cells = <0>; 26 clock-frequency = <0>; [all …]
|
D | r8a7742.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/clock/r8a7742-cpg-mssr.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/power/r8a7742-sysc.h> 15 #address-cells = <2>; 16 #size-cells = <2>; 24 compatible = "fixed-clock"; 25 #clock-cells = <0>; 26 clock-frequency = <0>; [all …]
|
D | r8a7790.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree Source for the R-Car H2 (R8A77900) SoC 6 * Copyright (C) 2013-2014 Renesas Solutions Corp. 10 #include <dt-bindings/clock/r8a7790-cpg-mssr.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/power/r8a7790-sysc.h> 17 #address-cells = <2>; 18 #size-cells = <2>; 46 compatible = "fixed-clock"; [all …]
|
D | r8a77470.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/clock/r8a77470-cpg-mssr.h> 11 #include <dt-bindings/power/r8a77470-sysc.h> 14 #address-cells = <2>; 15 #size-cells = <2>; 26 #address-cells = <1>; 27 #size-cells = <0>; 31 compatible = "arm,cortex-a7"; [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/net/can/ |
D | renesas,rcar-can.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/can/renesas,rcar-can.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas R-Car CAN Controller 10 - Sergei Shtylyov <sergei.shtylyov@gmail.com> 15 - items: 16 - enum: 17 - renesas,can-r8a7778 # R-Car M1-A 18 - renesas,can-r8a7779 # R-Car H1 [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/timer/ |
D | renesas,cmt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Geert Uytterhoeven <geert+renesas@glider.be> 11 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 14 The CMT is a multi-channel 16/32/48-bit timer/counter with configurable clock 18 are independent. A particular CMT instance can implement only a subset of the 26 - items: 27 - enum: 28 - renesas,r8a7740-cmt0 # 32-bit CMT0 on R-Mobile A1 [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/media/ |
D | renesas,jpu.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Mikhail Ulyanov <mikhail.ulyanov@cogentembedded.com> 15 JPU can encode image data and decode JPEG data quickly. 20 - enum: 21 - renesas,jpu-r8a7790 # R-Car H2 22 - renesas,jpu-r8a7791 # R-Car M2-W 23 - renesas,jpu-r8a7792 # R-Car V2H 24 - renesas,jpu-r8a7793 # R-Car M2-N [all …]
|
/Linux-v6.1/drivers/watchdog/ |
D | renesas_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2015-17 Wolfram Sang, Sang Engineering <wsa@sang-engineering.com> 6 * Copyright (C) 2015-17 Renesas Electronics Corporation 37 DIV_ROUND_UP((d) * (p)->clk_rate, clk_divs[(p)->cks]) 39 /* d is 16 bit, clk_divs 12 bit -> no 32 bit overflow */ 40 #define DIV_BY_CLKS_PER_SEC(p, d) ((d) * clk_divs[(p)->cks] / (p)->clk_rate) 64 writel_relaxed(val, priv->base + reg); in rwdt_write() 71 rwdt_write(priv, 65536 - MUL_BY_CLKS_PER_SEC(priv, wdev->timeout), RWTCNT); in rwdt_init_timeout() 80 delay = DIV_ROUND_UP(cycles * 1000000, priv->clk_rate); in rwdt_wait_cycles() 90 pm_runtime_get_sync(wdev->parent); in rwdt_start() [all …]
|
/Linux-v6.1/drivers/clocksource/ |
D | sh_cmt.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * SuperH Timer Support - CMT 39 * 16B 32B 32B-F 48B R-Car Gen2 40 * ----------------------------------------------------------------------------- 46 * The r8a73a4 / R-Car Gen2 version has a per-channel start/stop register 50 * Channels are indexed from 0 to N-1 in the documentation. The channel index 55 * CMT0 on r8a7740, which is a 32-bit variant with a single channel numbered 0 59 * Similarly CMT0 on r8a73a4, r8a7790 and r8a7791, while implementing 32-bit 60 * channels only, is a 48-bit gen2 CMT with the 48-bit channels unavailable. 238 #define CMCLKE 0x1000 /* CLK Enable Register (R-Car Gen2) */ [all …]
|
/Linux-v6.1/drivers/i2c/busses/ |
D | i2c-rcar.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Driver for the Renesas R-Car I2C unit 5 * Copyright (C) 2014-19 Wolfram Sang <wsa@sang-engineering.com> 6 * Copyright (C) 2011-2019 Renesas Electronics Corporation 8 * Copyright (C) 2012-14 Renesas Solutions Corp. 11 * This file is based on the drivers/i2c/busses/i2c-sh7760.c 12 * (c) 2005-2008 MSC Vertriebsges.m.b.H, Manuel Lauss <mlau@msc-ge.com> 18 #include <linux/dma-mapping.h> 24 #include <linux/i2c-smbus.h> 54 #define MDBS BIT(7) /* non-fifo mode switch */ [all …]
|
/Linux-v6.1/drivers/iommu/ |
D | ipmmu-vmsa.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * IOMMU API for Renesas VMSA-compatible IPMMU 6 * Copyright (C) 2014-2020 Renesas Electronics Corporation 11 #include <linux/dma-mapping.h> 17 #include <linux/io-pgtable.h> 28 #include <asm/dma-iommu.h> 31 #define arm_iommu_attach_device(...) -ENODEV 37 #define IPMMU_CTX_INVALID -1 94 /* ----------------------------------------------------------------------------- 101 #define IMCTR 0x0000 /* R-Car Gen2/3 */ [all …]
|
/Linux-v6.1/drivers/phy/renesas/ |
D | phy-rcar-gen2.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Renesas R-Car Gen2 PHY driver 80 struct rcar_gen2_channel *channel = phy->channel; in rcar_gen2_phy_init() 81 struct rcar_gen2_phy_driver *drv = channel->drv; in rcar_gen2_phy_init() 89 * driver. Achieving this with cmpxcgh() should be SMP-safe. in rcar_gen2_phy_init() 91 if (cmpxchg(&channel->selected_phy, -1, phy->number) != -1) in rcar_gen2_phy_init() 92 return -EBUSY; in rcar_gen2_phy_init() 94 clk_prepare_enable(drv->clk); in rcar_gen2_phy_init() 96 spin_lock_irqsave(&drv->lock, flags); in rcar_gen2_phy_init() 97 ugctrl2 = readl(drv->base + USBHS_UGCTRL2); in rcar_gen2_phy_init() [all …]
|
/Linux-v6.1/drivers/pci/controller/ |
D | pcie-rcar-host.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * PCIe driver for Renesas R-Car SoCs 4 * Copyright (C) 2014-2020 Renesas Electronics Europe Ltd 7 * arch/sh/drivers/pci/pcie-sh7786.c 8 * arch/sh/drivers/pci/ops-sh7786.c 9 * Copyright (C) 2009 - 2011 Paul Mundt 16 #include <linux/clk-provider.h> 33 #include "pcie-rcar.h" 53 * Static copy of PCIe device pointer, so we can check whether the 79 ret = -EINVAL; in rcar_pcie_wakeup() [all …]
|
/Linux-v6.1/drivers/thermal/ |
D | rcar_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * R-Car THS/TSC thermal sensor driver 101 list_for_each_entry(pos, &common->head, list) 104 #define rcar_zone_to_priv(zone) ((zone)->devdata) 105 #define rcar_priv_to_dev(priv) ((priv)->common->dev) 106 #define rcar_has_irq_support(priv) ((priv)->common->base) 107 #define rcar_id_to_shift(priv) ((priv)->id * 8) 111 .compatible = "renesas,rcar-thermal", 115 .compatible = "renesas,rcar-gen2-thermal", 119 .compatible = "renesas,thermal-r8a774c0", [all …]
|
/Linux-v6.1/drivers/mmc/host/ |
D | renesas_sdhi_sys_dmac.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-19 Renesas Electronics Corporation 6 * Copyright (C) 2016-19 Sang Engineering, Wolfram Sang 8 * Copyright (C) 2010-2011 Guennadi Liakhovetski 12 #include <linux/dma-mapping.h> 74 { .compatible = "renesas,sdhi-sh73a0", .data = &of_default_cfg, }, 75 { .compatible = "renesas,sdhi-r8a73a4", .data = &of_default_cfg, }, 76 { .compatible = "renesas,sdhi-r8a7740", .data = &of_default_cfg, }, 77 { .compatible = "renesas,sdhi-r7s72100", .data = &of_rz_compatible, }, 78 { .compatible = "renesas,sdhi-r8a7778", .data = &of_rcar_gen1_compatible, }, [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/sound/ |
D | renesas,rsnd.txt | 1 Renesas R-Car sound 7 Renesas R-Car and RZ/G sound is constructed from below modules 8 (for Gen2 or later) 11 - SRC : Sampling Rate Converter 12 - CMD 13 - CTU : Channel Transfer Unit 14 - MIX : Mixer 15 - DVC : Digital Volume and Mute Function 25 Multi channel is supported by Multi-SSI, or TDM-SSI. 27 Multi-SSI : 6ch case, you can use stereo x 3 SSI [all …]
|
/Linux-v6.1/drivers/iio/adc/ |
D | rcar-gyroadc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Renesas R-Car GyroADC driver 26 #define DRIVER_NAME "rcar-gyroadc" 77 const unsigned long clk_mhz = clk_get_rate(priv->clk) / 1000000; in rcar_gyroadc_hw_init() 79 (priv->mode == RCAR_GYROADC_MODE_SELECT_1_MB88101A) ? 10 : 5; in rcar_gyroadc_hw_init() 83 * According to the R-Car Gen2 datasheet Rev. 1.01, Sept 08 2014, in rcar_gyroadc_hw_init() 84 * page 77-7, clock length must be even number. If it's odd number, in rcar_gyroadc_hw_init() 91 writel(0, priv->regs + RCAR_GYROADC_START_STOP); in rcar_gyroadc_hw_init() 94 if (priv->model == RCAR_GYROADC_MODEL_R8A7792) in rcar_gyroadc_hw_init() 95 writel(0, priv->regs + RCAR_GYROADC_INTENR); in rcar_gyroadc_hw_init() [all …]
|
/Linux-v6.1/drivers/dma/sh/ |
D | rcar-dmac.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Renesas R-Car Gen2/Gen3 DMA Controller Driver 5 * Copyright (C) 2014-2019 Renesas Electronics Inc. 11 #include <linux/dma-mapping.h> 28 * struct rcar_dmac_xfer_chunk - Descriptor for a hardware transfer 43 * struct rcar_dmac_hw_desc - Hardware descriptor for a transfer chunk 56 * struct rcar_dmac_desc - R-Car Gen2 DMA Transfer Descriptor 97 * struct rcar_dmac_desc_page - One page worth of descriptors 112 ((PAGE_SIZE - offsetof(struct rcar_dmac_desc_page, descs)) / \ 115 ((PAGE_SIZE - offsetof(struct rcar_dmac_desc_page, chunks)) / \ [all …]
|
/Linux-v6.1/drivers/net/can/rcar/ |
D | rcar_can.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /* Renesas R-Car CAN device driver 16 #include <linux/can/dev.h> 33 * mailbox 60 - 63 - Rx FIFO mailboxes 34 * mailbox 56 - 59 - Tx FIFO mailboxes 35 * non-FIFO mailboxes are not used 37 #define RCAR_CAN_N_MBX 64 /* Number of mailboxes in non-FIFO mode */ 38 #define RCAR_CAN_RX_FIFO_MBX 60 /* Mailbox - window to Rx FIFO */ 39 #define RCAR_CAN_TX_FIFO_MBX 56 /* Mailbox - window to Tx FIFO */ 46 u8 dlc; /* Data Length Code - bits [0..3] */ [all …]
|