| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/gpio/ |
| D | rockchip,rk3328-grf-gpio.txt | 1 Rockchip RK3328 GRF (General Register Files) GPIO controller. 3 In Rockchip RK3328, the output only GPIO_MUTE pin, originally for codec mute 5 GRF_SOC_CON10 register in GRF. Aside from the GPIO_MUTE pin, the HDMI pins can 8 Currently this GPIO controller only supports the mute pin. If needed in the 12 - compatible: Should contain "rockchip,rk3328-grf-gpio". 13 - gpio-controller: Marks the device node as a gpio controller. 14 - #gpio-cells: Should be 2. The first cell is the pin number and 15 the second cell is used to specify the gpio polarity: 21 grf: syscon@ff100000 { 22 compatible = "rockchip,rk3328-grf", "syscon", "simple-mfd"; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/gpio/ |
| D | rockchip,rk3328-grf-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/gpio/rockchip,rk3328-grf-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip RK3328 General Register Files GPIO controller 10 The Rockchip RK3328 General Register File (GRF) outputs only the 14 The GPIO node should be declared as the child of the GRF node. 21 the second cell is used to specify the GPIO polarity 26 - Heiko Stuebner <heiko@sntech.de> 30 const: rockchip,rk3328-grf-gpio [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/rockchip/ |
| D | grf.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/soc/rockchip/grf.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip General Register Files (GRF) 10 - Heiko Stuebner <heiko@sntech.de> 15 - items: 16 - enum: 17 - rockchip,rk3288-sgrf 18 - rockchip,rk3566-pipe-grf [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | rockchip,rk3328-codec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/rockchip,rk3328-codec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip rk3328 internal codec 10 - Heiko Stuebner <heiko@sntech.de> 14 const: rockchip,rk3328-codec 21 - description: clock for audio codec 22 - description: clock for I2S master clock 24 clock-names: [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | rockchip,rk3328-codec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/rockchip,rk3328-codec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Rockchip rk3328 internal codec 10 - Heiko Stuebner <heiko@sntech.de> 12 - $ref: dai-common.yaml# 17 const: rockchip,rk3328-codec 24 - description: clock for audio codec 25 - description: clock for I2S master clock [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/ |
| D | rk3328.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/rk3328-cru.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/power/rk3328-power.h> 12 #include <dt-bindings/soc/rockchip,boot-mode.h> 13 #include <dt-bindings/thermal/thermal.h> 16 compatible = "rockchip,rk3328"; [all …]
|
| D | rk356x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/rk3568-cru.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/phy/phy.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/power/rk3568-power.h> 12 #include <dt-bindings/soc/rockchip,boot-mode.h> 13 #include <dt-bindings/thermal/thermal.h> 16 interrupt-parent = <&gic>; [all …]
|
| D | rk3308.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/clock/rk3308-cru.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/pinctrl/rockchip.h> 12 #include <dt-bindings/soc/rockchip,boot-mode.h> 13 #include <dt-bindings/thermal/thermal.h> 18 interrupt-parent = <&gic>; 19 #address-cells = <2>; [all …]
|
| D | rk3588s.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/rockchip,rk3588-cru.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/power/rk3588-power.h> 10 #include <dt-bindings/reset/rockchip,rk3588-cru.h> 11 #include <dt-bindings/phy/phy.h> 12 #include <dt-bindings/ata/ahci.h> 17 interrupt-parent = <&gic>; 18 #address-cells = <2>; [all …]
|
| D | px30.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/px30-cru.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/power/px30-power.h> 12 #include <dt-bindings/soc/rockchip,boot-mode.h> 13 #include <dt-bindings/thermal/thermal.h> 18 interrupt-parent = <&gic>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/ |
| D | rk3328.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/rk3328-cru.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/power/rk3328-power.h> 12 #include <dt-bindings/soc/rockchip,boot-mode.h> 13 #include <dt-bindings/thermal/thermal.h> 16 compatible = "rockchip,rk3328"; [all …]
|
| D | rk3308.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/clock/rk3308-cru.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/pinctrl/rockchip.h> 12 #include <dt-bindings/soc/rockchip,boot-mode.h> 13 #include <dt-bindings/thermal/thermal.h> 18 interrupt-parent = <&gic>; 19 #address-cells = <2>; [all …]
|
| D | px30.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/px30-cru.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/power/px30-power.h> 12 #include <dt-bindings/soc/rockchip,boot-mode.h> 13 #include <dt-bindings/thermal/thermal.h> 18 interrupt-parent = <&gic>; [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | rk3328_codec.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // rk3328 ALSA SoC Audio driver 10 #include <linux/gpio/consumer.h> 22 * 0: -39dB 56 static int rk3328_codec_reset(struct rk3328_codec_priv *rk3328) in rk3328_codec_reset() argument 58 regmap_write(rk3328->regmap, CODEC_RESET, 0x00); in rk3328_codec_reset() 60 regmap_write(rk3328->regmap, CODEC_RESET, 0x03); in rk3328_codec_reset() 67 struct rk3328_codec_priv *rk3328 = in rk3328_set_dai_fmt() local 68 snd_soc_component_get_drvdata(dai->component); in rk3328_set_dai_fmt() 79 return -EINVAL; in rk3328_set_dai_fmt() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | rk3328_codec.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // rk3328 ALSA SoC Audio driver 10 #include <linux/gpio/consumer.h> 23 * 0: -39dB 57 static int rk3328_codec_reset(struct rk3328_codec_priv *rk3328) in rk3328_codec_reset() argument 59 regmap_write(rk3328->regmap, CODEC_RESET, 0x00); in rk3328_codec_reset() 61 regmap_write(rk3328->regmap, CODEC_RESET, 0x03); in rk3328_codec_reset() 68 struct rk3328_codec_priv *rk3328 = in rk3328_set_dai_fmt() local 69 snd_soc_component_get_drvdata(dai->component); in rk3328_set_dai_fmt() 80 return -EINVAL; in rk3328_set_dai_fmt() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| D | rockchip,pinctrl.txt | 6 muxing options with option 0 being the use as a GPIO. 8 Please refer to pinctrl-bindings.txt in this directory for details of the 16 settings such as pull-up, etc. 19 defined as gpio sub-nodes of the pinmux controller. 22 - compatible: should be 23 "rockchip,px30-pinctrl": for Rockchip PX30 24 "rockchip,rv1108-pinctrl": for Rockchip RV1108 25 "rockchip,rk2928-pinctrl": for Rockchip RK2928 26 "rockchip,rk3066a-pinctrl": for Rockchip RK3066a 27 "rockchip,rk3066b-pinctrl": for Rockchip RK3066b [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| D | rockchip-dwmac.txt | 6 - compatible: should be "rockchip,<name>-gamc" 7 "rockchip,px30-gmac": found on PX30 SoCs 8 "rockchip,rk3128-gmac": found on RK312x SoCs 9 "rockchip,rk3228-gmac": found on RK322x SoCs 10 "rockchip,rk3288-gmac": found on RK3288 SoCs 11 "rockchip,rk3328-gmac": found on RK3328 SoCs 12 "rockchip,rk3366-gmac": found on RK3366 SoCs 13 "rockchip,rk3368-gmac": found on RK3368 SoCs 14 "rockchip,rk3399-gmac": found on RK3399 SoCs 15 "rockchip,rv1108-gmac": found on RV1108 SoCs [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/ |
| D | rockchip,pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Heiko Stuebner <heiko@sntech.de> 16 options with option 0 being used as a GPIO. 18 Please refer to pinctrl-bindings.txt in this directory for details of the 26 various pad settings such as pull-up, etc. 29 defined as gpio sub-nodes of the pinmux controller. 34 - rockchip,px30-pinctrl 35 - rockchip,rk2928-pinctrl [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/thermal/ |
| D | rockchip-thermal.txt | 4 - compatible : should be "rockchip,<name>-tsadc" 5 "rockchip,px30-tsadc": found on PX30 SoCs 6 "rockchip,rv1108-tsadc": found on RV1108 SoCs 7 "rockchip,rk3228-tsadc": found on RK3228 SoCs 8 "rockchip,rk3288-tsadc": found on RK3288 SoCs 9 "rockchip,rk3328-tsadc": found on RK3328 SoCs 10 "rockchip,rk3368-tsadc": found on RK3368 SoCs 11 "rockchip,rk3399-tsadc": found on RK3399 SoCs 12 - reg : physical base address of the controller and length of memory mapped 14 - interrupts : The interrupt number to the cpu. The interrupt specifier format [all …]
|
| /kernel/linux/linux-5.10/drivers/soc/rockchip/ |
| D | io-domain.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 * "Recommended Operating Conditions" for "Digital GPIO". When the typical 26 * - If the voltage on a rail is above the "1.8" voltage (1.98V) we'll tell the 28 * - If the voltage on a rail is above the "3.3" voltage (3.6V) we'll consider 74 struct regmap *grf; member 82 struct rockchip_iodomain *iod = supply->iod; in rockchip_iodomain_write() 88 val <<= supply->idx; in rockchip_iodomain_write() 90 /* apply hiword-mask */ in rockchip_iodomain_write() 91 val |= (BIT(supply->idx) << 16); in rockchip_iodomain_write() 93 ret = regmap_write(iod->grf, iod->soc_data->grf_offset, val); in rockchip_iodomain_write() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpio/ |
| D | gpio-syscon.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * SYSCON GPIO driver 9 #include <linux/gpio/driver.h> 20 /* SYSCON driver is designed to use 32-bit wide registers */ 25 * struct syscon_gpio_data - Configuration for the device. 32 * @dat_bit_offset: Offset (in bits) to the first GPIO bit. 34 * GPIO direction (Used with GPIO_SYSCON_FEAT_DIR flag). 62 offs = priv->dreg_offset + priv->data->dat_bit_offset + offset; in syscon_gpio_get() 64 ret = regmap_read(priv->syscon, in syscon_gpio_get() 77 offs = priv->dreg_offset + priv->data->dat_bit_offset + offset; in syscon_gpio_set() [all …]
|
| /kernel/linux/linux-6.6/drivers/soc/rockchip/ |
| D | io-domain.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 * "Recommended Operating Conditions" for "Digital GPIO". When the typical 26 * - If the voltage on a rail is above the "1.8" voltage (1.98V) we'll tell the 28 * - If the voltage on a rail is above the "3.3" voltage (3.6V) we'll consider 76 struct regmap *grf; member 84 struct rockchip_iodomain *iod = supply->iod; in rk3568_iodomain_write() 89 switch (supply->idx) { in rk3568_iodomain_write() 93 b = supply->idx; in rk3568_iodomain_write() 95 b = supply->idx + 4; in rk3568_iodomain_write() 98 regmap_write(iod->grf, RK3568_PMU_GRF_IO_VSEL2, val0); in rk3568_iodomain_write() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/thermal/ |
| D | rockchip-thermal.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/thermal/rockchip-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Heiko Stuebner <heiko@sntech.de> 15 - rockchip,px30-tsadc 16 - rockchip,rk3228-tsadc 17 - rockchip,rk3288-tsadc 18 - rockchip,rk3328-tsadc 19 - rockchip,rk3368-tsadc [all …]
|
| /kernel/linux/linux-5.10/drivers/gpio/ |
| D | gpio-syscon.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * SYSCON GPIO driver 9 #include <linux/gpio/driver.h> 21 /* SYSCON driver is designed to use 32-bit wide registers */ 26 * struct syscon_gpio_data - Configuration for the device. 33 * @dat_bit_offset: Offset (in bits) to the first GPIO bit. 35 * GPIO direction (Used with GPIO_SYSCON_FEAT_DIR flag). 64 offs = priv->dreg_offset + priv->data->dat_bit_offset + offset; in syscon_gpio_get() 66 ret = regmap_read(priv->syscon, in syscon_gpio_get() 79 offs = priv->dreg_offset + priv->data->dat_bit_offset + offset; in syscon_gpio_set() [all …]
|
| /kernel/linux/linux-5.10/drivers/thermal/ |
| D | rockchip_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2016, Fuzhou Rockchip Electronics Co., Ltd 4 * Caesar Wang <wxt@rock-chips.com> 25 * or via GPIO give PMIC. 70 * struct chip_tsadc_table - hold information about chip-specific differences 84 * struct rockchip_tsadc_chip - hold the private data of tsadc chip 87 * @tshut_temp: the hardware-controlled shutdown temperature value 88 * @tshut_mode: the hardware-controlled shutdown mode (0:CRU 1:GPIO) 89 * @tshut_polarity: the hardware-controlled active polarity (0:LOW 1:HIGH) 95 * @set_tshut_temp: set the hardware-controlled shutdown temperature [all …]
|