| /kernel/linux/linux-6.6/arch/arm/boot/dts/renesas/ |
| 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> 16 compatible = "renesas,r8a7791"; 17 #address-cells = <2>; [all …]
|
| D | r8a7791-koelsch.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2013-2014 Renesas Solutions Corp. 11 * SSI-AK4643 23 * You can use Mute 28 * You can use Volume Ramp 38 /dts-v1/; 39 #include "r8a7791.dtsi" 40 #include <dt-bindings/gpio/gpio.h> 41 #include <dt-bindings/input/input.h> 45 compatible = "renesas,koelsch", "renesas,r8a7791"; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| 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> 16 compatible = "renesas,r8a7791"; 17 #address-cells = <2>; [all …]
|
| D | r8a7791-koelsch.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2013-2014 Renesas Solutions Corp. 11 * SSI-AK4643 23 * You can use Mute 28 * You can use Volume Ramp 38 /dts-v1/; 39 #include "r8a7791.dtsi" 40 #include <dt-bindings/gpio/gpio.h> 41 #include <dt-bindings/input/input.h> 45 compatible = "renesas,koelsch", "renesas,r8a7791"; [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/adc/ |
| D | renesas,rcar-gyroadc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/renesas,rcar-gyroadc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas R-Car GyroADC 10 - Marek Vasut <marek.vasut+renesas@gmail.com> 15 are sampled by the GyroADC block in a round-robin fashion and the result 23 - enum: 24 - renesas,r8a7791-gyroadc 25 - renesas,r8a7792-gyroadc [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/can/ |
| D | rcar_can.txt | 1 Renesas R-Car CAN controller Device Tree Bindings 2 ------------------------------------------------- 5 - compatible: "renesas,can-r8a7742" if CAN controller is a part of R8A7742 SoC. 6 "renesas,can-r8a7743" if CAN controller is a part of R8A7743 SoC. 7 "renesas,can-r8a7744" if CAN controller is a part of R8A7744 SoC. 8 "renesas,can-r8a7745" if CAN controller is a part of R8A7745 SoC. 9 "renesas,can-r8a77470" if CAN controller is a part of R8A77470 SoC. 10 "renesas,can-r8a774a1" if CAN controller is a part of R8A774A1 SoC. 11 "renesas,can-r8a774b1" if CAN controller is a part of R8A774B1 SoC. 12 "renesas,can-r8a774c0" if CAN controller is a part of R8A774C0 SoC. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | renesas,gyroadc.txt | 1 * Renesas R-Car GyroADC device driver 5 are sampled by the GyroADC block in a round-robin fashion and the result 9 - compatible: Should be "<soc-specific>", "renesas,rcar-gyroadc". 10 The <soc-specific> should be one of: 11 renesas,r8a7791-gyroadc - for the GyroADC block present 12 in r8a7791 SoC 13 renesas,r8a7792-gyroadc - for the GyroADC with interrupt 15 - reg: Address and length of the register set for the device 16 - clocks: References to all the clocks specified in the clock-names 18 Documentation/devicetree/bindings/clock/clock-bindings.txt. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/ |
| D | renesas,jpu.txt | 5 can encode image data and decode JPEG data quickly. 8 - compatible: "renesas,jpu-<soctype>", "renesas,rcar-gen2-jpu" as fallback. 10 - "renesas,jpu-r8a7790" for R-Car H2 11 - "renesas,jpu-r8a7791" for R-Car M2-W 12 - "renesas,jpu-r8a7792" for R-Car V2H 13 - "renesas,jpu-r8a7793" for R-Car M2-N 15 - reg: Base address and length of the registers block for the JPU. 16 - interrupts: JPU interrupt specifier. 17 - clocks: A phandle + clock-specifier pair for the JPU functional clock. 19 Example: R8A7790 (R-Car H2) JPU node [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/ |
| D | rcar_du_of.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * rcar_du_of.c - Legacy DT bindings compatibility 23 /* ----------------------------------------------------------------------------- 39 .compatible = "renesas,du-" #soc, \ 59 return -ENODEV; in rcar_du_of_apply_overlay() 62 return of_overlay_fdt_apply(dtb->begin, dtb->end - dtb->begin, in rcar_du_of_apply_overlay() 72 int ret = -ENOMEM; in rcar_du_of_add_property() 76 return -ENOMEM; in rcar_du_of_add_property() 78 prop->name = kstrdup(name, GFP_KERNEL); in rcar_du_of_add_property() 79 if (!prop->name) in rcar_du_of_add_property() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/ |
| D | renesas,cpg-mssr.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/renesas,cpg-mssr.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Geert Uytterhoeven <geert+renesas@glider.be> 13 On Renesas ARM SoCs (SH/R-Mobile, R-Car, RZ), the CPG (Clock Pulse Generator) 18 - The CPG block generates various core clocks, 19 - The MSSR block provides two functions: 27 - renesas,r7s9210-cpg-mssr # RZ/A2 28 - renesas,r8a7742-cpg-mssr # RZ/G1H [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ |
| D | renesas,cpg-mssr.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: "http://devicetree.org/schemas/clock/renesas,cpg-mssr.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 10 - Geert Uytterhoeven <geert+renesas@glider.be> 13 On Renesas ARM SoCs (SH/R-Mobile, R-Car, RZ), the CPG (Clock Pulse Generator) 18 - The CPG block generates various core clocks, 19 - The MSSR block provides two functions: 27 - renesas,r7s9210-cpg-mssr # RZ/A2 28 - renesas,r8a7742-cpg-mssr # RZ/G1H [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/bridge/ |
| D | renesas,lvds.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas R-Car LVDS Encoder 10 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 13 These DT bindings describe the LVDS encoder embedded in the Renesas R-Car 14 Gen2, R-Car Gen3, RZ/G1 and RZ/G2 SoCs. 19 - renesas,r8a7742-lvds # for RZ/G1H compatible LVDS encoders 20 - renesas,r8a7743-lvds # for RZ/G1M compatible LVDS encoders 21 - renesas,r8a7744-lvds # for RZ/G1N compatible LVDS encoders [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/bridge/ |
| D | renesas,lvds.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas R-Car LVDS Encoder 10 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 13 These DT bindings describe the LVDS encoder embedded in the Renesas R-Car 14 Gen2, R-Car Gen3, RZ/G1 and RZ/G2 SoCs. 19 - renesas,r8a7742-lvds # for RZ/G1H compatible LVDS encoders 20 - renesas,r8a7743-lvds # for RZ/G1M compatible LVDS encoders 21 - renesas,r8a7744-lvds # for RZ/G1N compatible LVDS encoders [all …]
|
| /kernel/linux/linux-5.10/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 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 28 TDM-SSI : 6ch case, you can use TDM [all …]
|
| /kernel/linux/linux-5.10/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 36 DIV_ROUND_UP((d) * (p)->clk_rate, clk_divs[(p)->cks]) 38 /* d is 16 bit, clk_divs 12 bit -> no 32 bit overflow */ 39 #define DIV_BY_CLKS_PER_SEC(p, d) ((d) * clk_divs[(p)->cks] / (p)->clk_rate) 62 writel_relaxed(val, priv->base + reg); in rwdt_write() 69 rwdt_write(priv, 65536 - MUL_BY_CLKS_PER_SEC(priv, wdev->timeout), RWTCNT); in rwdt_init_timeout() 78 delay = DIV_ROUND_UP(cycles * 1000000, priv->clk_rate); in rwdt_wait_cycles() 88 pm_runtime_get_sync(wdev->parent); in rwdt_start() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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> 72 { .compatible = "renesas,sdhi-sh73a0", .data = &of_default_cfg, }, 73 { .compatible = "renesas,sdhi-r8a73a4", .data = &of_default_cfg, }, 74 { .compatible = "renesas,sdhi-r8a7740", .data = &of_default_cfg, }, 75 { .compatible = "renesas,sdhi-r7s72100", .data = &of_rz_compatible, }, 76 { .compatible = "renesas,sdhi-r8a7778", .data = &of_rcar_gen1_compatible, }, [all …]
|
| /kernel/linux/linux-6.6/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> 75 { .compatible = "renesas,sdhi-sh73a0", .data = &of_default_cfg, }, 76 { .compatible = "renesas,sdhi-r8a73a4", .data = &of_default_cfg, }, 77 { .compatible = "renesas,sdhi-r8a7740", .data = &of_default_cfg, }, 78 { .compatible = "renesas,sdhi-r7s72100", .data = &of_rz_compatible, }, 79 { .compatible = "renesas,sdhi-r8a7778", .data = &of_rcar_gen1_compatible, }, [all …]
|
| /kernel/linux/linux-6.6/drivers/phy/renesas/ |
| D | phy-rcar-gen2.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Renesas R-Car Gen2 PHY driver 79 struct rcar_gen2_channel *channel = phy->channel; in rcar_gen2_phy_init() 80 struct rcar_gen2_phy_driver *drv = channel->drv; in rcar_gen2_phy_init() 88 * driver. Achieving this with cmpxcgh() should be SMP-safe. in rcar_gen2_phy_init() 90 if (cmpxchg(&channel->selected_phy, -1, phy->number) != -1) in rcar_gen2_phy_init() 91 return -EBUSY; in rcar_gen2_phy_init() 93 clk_prepare_enable(drv->clk); in rcar_gen2_phy_init() 95 spin_lock_irqsave(&drv->lock, flags); in rcar_gen2_phy_init() 96 ugctrl2 = readl(drv->base + USBHS_UGCTRL2); in rcar_gen2_phy_init() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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" 64 ret = -EINVAL; in rcar_pcie_wakeup() 74 * which it can return to L0s/L0 on its own. in rcar_pcie_wakeup() [all …]
|