| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | rv1106.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 #include <dt-bindings/clock/rv1106-cru.h> 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/pinctrl/rockchip.h> 10 #include <dt-bindings/soc/rockchip,boot-mode.h> 11 #include <dt-bindings/soc/rockchip-system-status.h> 12 #include <dt-bindings/thermal/thermal.h> 15 #address-cells = <1>; [all …]
|
| H A D | rv1106-u-boot.dtsi | 4 * SPDX-License-Identifier: GPL-2.0+ 14 stdout-path = &uart2; 15 u-boot,spl-boot-order = &sdmmc, &spi_nor, &spi_nand, &emmc; 18 secure-otp@ff3fd8000 { 19 compatible = "rockchip,rv1106-secure-otp"; 24 u-boot,dm-spl; 30 mmc-ecsd = <0x3F000>; 31 bus-width = <8>; 32 mmc-hs200-1_8v; 33 u-boot,dm-spl; [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | rv1106.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 #include <dt-bindings/clock/rv1106-cru.h> 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/pinctrl/rockchip.h> 10 #include <dt-bindings/soc/rockchip,boot-mode.h> 11 #include <dt-bindings/soc/rockchip-system-status.h> 12 #include <dt-bindings/thermal/thermal.h> 15 #address-cells = <1>; [all …]
|
| H A D | rv1103.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "rv1106.dtsi" 12 /delete-property/ gpio2; 16 /delete-node/ &gpio2; 19 compatible = "rockchip,rv1103-codec"; 23 /delete-node/ opp-1200000000; 24 /delete-node/ opp-1296000000; 25 /delete-node/ opp-1416000000; 26 /delete-node/ opp-1512000000; 27 /delete-node/ opp-1608000000; [all …]
|
| H A D | rv1106g-evb2-v11-emmc.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "rv1106.dtsi" 9 #include "rv1106-evb-v10.dtsi" 10 #include "rv1106-thunder-boot-emmc.dtsi" 14 compatible = "rockchip,rv1106g-evb2-v11-emmc", "rockchip,rv1106"; 20 vcc_1v8: vcc-1v8 { 21 compatible = "regulator-fixed"; 22 regulator-name = "vcc_1v8"; 23 regulator-always-on; [all …]
|
| H A D | rv1106g-evb2-v10.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "rv1106.dtsi" 9 #include "rv1106-evb-v10.dtsi" 10 #include "rv1106-thunder-boot-spi-nor.dtsi" 14 compatible = "rockchip,rv1106g-evb2-v10", "rockchip,rv1106"; 20 vcc_1v8: vcc-1v8 { 21 compatible = "regulator-fixed"; 22 regulator-name = "vcc_1v8"; 23 regulator-always-on; [all …]
|
| H A D | rv1106g-evb2-v10-dual-camera.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "rv1106.dtsi" 9 #include "rv1106-evb-v10.dtsi" 10 #include "rv1106-thunder-boot-spi-nor.dtsi" 14 compatible = "rockchip,rv1106g-evb2-v10-dual-camera", "rockchip,rv1106"; 20 vcc_1v8: vcc-1v8 { 21 compatible = "regulator-fixed"; 22 regulator-name = "vcc_1v8"; 23 regulator-always-on; [all …]
|
| H A D | rv1106g-smart-door-lock-rmsl-v10.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "rv1106.dtsi" 9 #include "rv1106-evb.dtsi" 10 #include "rv1106-thunder-boot-spi-nor.dtsi" 11 #include "rv1106-smd-cam.dtsi" 15 compatible = "rockchip,rv1106g-smart-door-lock-rmsl-v10", "rockchip,rv1106"; 22 acodec_sound: acodec-sound { 23 compatible = "simple-audio-card"; 24 simple-audio-card,name = "rv1106-acodec"; [all …]
|
| H A D | rv1103g-battery-ipc-v10.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 9 #include "rv1106-evb.dtsi" 10 #include "rv1106-thunder-boot-spi-nor.dtsi" 14 compatible = "rockchip,rv1103g-battery-ipc-v10", "rockchip,rv1103"; 17 /delete-property/ csi2dphy1; 18 /delete-property/ csi2dphy2; 19 /delete-property/ ethernet0; 20 /delete-property/ i2c0; 21 /delete-property/ i2c1; [all …]
|
| H A D | rv1103g-battery-ipc-v11.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 9 #include "rv1106-evb.dtsi" 10 #include "rv1106-thunder-boot-spi-nor.dtsi" 14 compatible = "rockchip,rv1103g-battery-ipc-v11", "rockchip,rv1103"; 17 /delete-property/ csi2dphy1; 18 /delete-property/ csi2dphy2; 19 /delete-property/ ethernet0; 20 /delete-property/ i2c0; 21 /delete-property/ i2c1; [all …]
|
| H A D | rv1103g-rmsl311-dloc-sl-v10.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 9 #include "rv1106-thunder-boot-spi-nor.dtsi" 13 compatible = "rockchip,rv1103g-rmsl311-dloc-v10", "rockchip,rv1103"; 19 vcc_1v8: vcc-1v8 { 20 compatible = "regulator-fixed"; 21 regulator-name = "vcc_1v8"; 22 regulator-always-on; 23 regulator-boot-on; 24 regulator-min-microvolt = <1800000>; [all …]
|
| H A D | rv1106-ipc.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 #include "rv1106-amp.dtsi" 12 acodec_sound: acodec-sound { 13 compatible = "simple-audio-card"; 14 simple-audio-card,name = "rv-acodec"; 15 simple-audio-card,format = "i2s"; 16 simple-audio-card,mclk-fs = <256>; 17 simple-audio-card,cpu { 18 sound-dai = <&i2s0_8ch>; 20 simple-audio-card,codec { [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/clock/ |
| H A D | rockchip,rv1106-cru.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/clock/rockchip,rv1106-cru.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ROCKCHIP rv1106 Family Clock Control Module Binding 10 - Elaine Zhang <zhangqing@rock-chips.com> 11 - Heiko Stuebner <heiko@sntech.de> 14 The RV1106 clock controller generates the clock and also implements a 19 preprocessor macros in the dt-bindings/clock/rv1106-cru.h headers and can be 25 - rockchip,rv1106-cru [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/ |
| H A D | rockchip-dwmac.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: "http://devicetree.org/schemas/net/rockchip-dwmac.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 10 - David Wu <david.wu@rock-chips.com> 18 - rockchip,px30-gmac 19 - rockchip,rk3128-gmac 20 - rockchip,rk3228-gmac 21 - rockchip,rk3288-gmac 22 - rockchip,rk3308-gmac [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/ |
| H A D | rockchip,i2s-tdm.txt | 5 - compatible: should be one of the following 6 - "rockchip,px30-i2s-tdm": for px30 7 - "rockchip,rk1808-i2s-tdm": for rk1808 8 - "rockchip,rk3308-i2s-tdm": for rk3308 9 - "rockchip,rk3568-i2s-tdm": for rk3568 10 - "rockchip,rk3588-i2s-tdm": for rk3588 11 - "rockchip,rv1106-i2s-tdm": for rv1106 12 - "rockchip,rv1126-i2s-tdm": for rv1126 13 - reg: physical base address of the controller and length of memory mapped 15 - interrupts: should contain the I2S interrupt. [all …]
|
| H A D | rockchip,codec-digital.txt | 5 - compatible: should be one of the following 6 - "rockchip,codec-digital-v1" 7 - "rockchip,rk3568-codec-digital" 8 - "rockchip,rk3588-codec-digital" 9 - "rockchip,rv1106-codec-digital" 10 - "rockchip,rv1126-codec-digital" 11 - reg: physical base address of the controller and length of memory mapped 13 - clocks: a list of phandle + clock-specifer pairs, one for each entry in clock-names. 14 - clock-names: clock names. 15 - rockchip,bclk-fs: configure the bclk fs. [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/clk/rockchip/ |
| H A D | clk_rv1106.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Author: Elaine Zhang <zhangqing@rock-chips.com> 9 #include <clk-uclass.h> 19 #include <dt-bindings/clock/rv1106-cru.h> 78 struct rv1106_cru *cru = priv->cru; in rv1106_peri_get_clk() local 83 con = readl(&cru->peri_clksel_con[1]); in rv1106_peri_get_clk() 95 con = readl(&cru->peri_clksel_con[1]); in rv1106_peri_get_clk() 107 con = readl(&cru->peri_clksel_con[1]); in rv1106_peri_get_clk() 117 con = readl(&cru->peri_clksel_con[9]); in rv1106_peri_get_clk() 129 con = readl(&cru->clksel_con[24]); in rv1106_peri_get_clk() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/rockchip/ |
| H A D | clk-rv1106.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Author: Elaine Zhang <zhangqing@rock-chips.com> 8 #include <linux/clk-provider.h> 15 #include <dt-bindings/clock/rv1106-cru.h> 984 pr_warn("CRU:\n"); in rv1106_dump_cru() 1000 if ((rate0 - target_rate) < (target_rate >> 5)) in _cru_pvtpll_calibrate() 1012 if (abs(rate1 - target_rate) < (target_rate >> 5)) in _cru_pvtpll_calibrate() 1015 step = rate0 - rate1; in _cru_pvtpll_calibrate() 1016 delta = rate1 - target_rate; in _cru_pvtpll_calibrate() 1023 while (abs(rate0 - target_rate) >= (target_rate >> 5)) { in _cru_pvtpll_calibrate() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/ |
| H A D | phy-rockchip-inno-usb2.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/phy-rockchip-inno-usb2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Heiko Stuebner <heiko@sntech.de> 15 - rockchip,px30-usb2phy 16 - rockchip,rk1808-usb2phy 17 - rockchip,rk3128-usb2phy 18 - rockchip,rk3228-usb2phy 19 - rockchip,rk3308-usb2phy [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-rockchip/ |
| H A D | cru_rv1106.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Author: Elaine Zhang <zhangqing@rock-chips.com> 24 /* RV1106 pll id */ 40 struct rv1106_cru *cru; member
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp/ |
| H A D | version.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 #include <linux/rk-isp21-config.h> 23 * 2. fix picture of hdr is abnormal in multi-visual isp when run second time 26 * 5. add cru reset for rv1126 122 * 8. don't start ldch asynchronously in multi-isp mode 154 * 10.add v-blank to procfs 189 * 16.useless version return -EINVAL 234 * 13.add isp32 for rv1106 247 * 26.use videobuf2-cma-sg 263 * 42.vicap->isp online set clk according to sensor rate [all …]
|
| H A D | hw.c | 1 // SPDX-License-Identifier: GPL-2.0 19 #include <media/videobuf2-cma-sg.h> 20 #include <media/videobuf2-dma-sg.h> 33 * -------------------------------------- 110 switch (dev->isp_ver) { in default_sw_reg_flag() 133 flag = dev->sw_base_addr + reg[i] + RKISP_ISP_SW_REG_SIZE; in default_sw_reg_flag() 135 if (dev->hw_dev->is_unite) { in default_sw_reg_flag() 146 struct rkisp_device *isp = hw_dev->isp[hw_dev->mipi_dev_id]; in mipi_irq_hdl() 147 void __iomem *base = !hw_dev->is_unite ? in mipi_irq_hdl() 148 hw_dev->base_addr : hw_dev->base_next_addr; in mipi_irq_hdl() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-rockchip/ |
| H A D | rv1106_pm.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 133 /* cru */ 286 while (delay-- >= 0) { in pm_pll_wait_lock() 406 rkpm_bootdata_cpusp = RV1106_PMUSRAM_BASE + (SZ_8K - 8); in rv1106_config_bootdata() 540 pvtm_div = (pvtm_freq_khz + 16) / 32 - 1; in pvtm_32k_config() 959 rkpm_printstr("rv1106 enter sleep\n"); in rv1106_suspend_enter() 965 rkpm_printch('-'); in rv1106_suspend_enter() 983 rkpm_printstr("-WFI-"); in rv1106_suspend_enter() 1002 rkpm_printch('-'); in rv1106_suspend_enter() 1009 rkpm_printstr("rv1106 exit sleep\n"); in rv1106_suspend_enter() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/thermal/ |
| H A 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> 22 #include <linux/nvmem-consumer.h> 26 * the resulting TSHUT gave CRU module,let it reset the entire chip, 71 * struct chip_tsadc_table - hold information about chip-specific differences 90 * struct rockchip_tsadc_chip - hold the private data of tsadc chip 95 * @tshut_temp: the hardware-controlled shutdown temperature value 96 * @tshut_mode: the hardware-controlled shutdown mode (0:CRU 1:GPIO) 97 * @tshut_polarity: the hardware-controlled active polarity (0:LOW 1:HIGH) [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/net/ |
| H A D | gmac_rockchip.c | 4 * SPDX-License-Identifier: GPL-2.0+ 6 * Rockchip GMAC ethernet IP driver for U-Boot 40 #include <dt-bindings/clock/rk3288-cru.h> 105 pdata->tx_delay = tx_delay; in gmac_set_rgmii() 106 pdata->rx_delay = rx_delay; in gmac_set_rgmii() 108 ops->set_to_rgmii(pdata); in gmac_set_rgmii() 121 pdata->clock_input = true; in gmac_rockchip_ofdata_to_platdata() 123 pdata->clock_input = false; in gmac_rockchip_ofdata_to_platdata() 125 /* If phy-handle property is passed from DT, use it as the PHY */ in gmac_rockchip_ofdata_to_platdata() 126 ret = dev_read_phandle_with_args(dev, "phy-handle", NULL, 0, 0, &args); in gmac_rockchip_ofdata_to_platdata() [all …]
|