[U-Boot] [U-Boot,v2,00/14] Add rockchip SARADC support

David Wu david.wu at rock-chips.com
Tue Sep 19 10:53:11 UTC 2017


The SARADC is used for adc keys and charging detect at uboot
loader. Except for the rk3036 and rk3228 Socs, the others
support the SARADC IP.

David Wu (14):
  adc: Add driver for Rockchip SARADC
  configs: rockchip: Enable the ROCKCHIP_SARADC config
  clk: rockchip: Add rv1108 SARADC clock support
  clk: rockchip: Add SARADC clock support for rk3288
  clk: rockchip: Add rk3328 SARADC clock support
  clk: rockchip: Add rk3368 SARADC clock support
  clk: rockchip: Add rk3399 SARADC clock support
  arm: dts: rv1108: Add Saradc node at dtsi level
  arm: dts: Enable SARADC for rv1108-evb
  arm: dts: Enable SARADC for rk3288-popmetal
  arm: dts: Enable SARADC for rk3328-evb
  arm: dts: Enable SARADC for rk3368-px5-evb
  arm: dts: Enable SARADC for rk3368-sheep
  arm: dts: Enable SARADC for rk3399-evb

 arch/arm/dts/rk3288-popmetal.dtsi               |   4 +
 arch/arm/dts/rk3328-evb.dts                     |   4 +
 arch/arm/dts/rk3368-px5-evb.dts                 |   4 +
 arch/arm/dts/rk3368-sheep.dts                   |   4 +
 arch/arm/dts/rk3399-evb.dts                     |   4 +
 arch/arm/dts/rv1108-evb.dts                     |   4 +
 arch/arm/dts/rv1108.dtsi                        |  11 ++
 arch/arm/include/asm/arch-rockchip/cru_rk3368.h |   5 +
 arch/arm/include/asm/arch-rockchip/cru_rv1108.h |   5 +
 configs/chromebit_mickey_defconfig              |   2 +
 configs/chromebook_jerry_defconfig              |   2 +
 configs/chromebook_minnie_defconfig             |   2 +
 configs/evb-px5_defconfig                       |   2 +
 configs/evb-rk3288_defconfig                    |   2 +
 configs/evb-rk3328_defconfig                    |   2 +
 configs/evb-rk3399_defconfig                    |   2 +
 configs/evb-rv1108_defconfig                    |   2 +
 configs/fennec-rk3288_defconfig                 |   2 +
 configs/firefly-rk3288_defconfig                |   2 +
 configs/firefly-rk3399_defconfig                |   2 +
 configs/geekbox_defconfig                       |   2 +
 configs/lion-rk3368_defconfig                   |   2 +
 configs/miqi-rk3288_defconfig                   |   2 +
 configs/phycore-rk3288_defconfig                |   2 +
 configs/popmetal-rk3288_defconfig               |   2 +
 configs/puma-rk3399_defconfig                   |   2 +
 configs/rock2_defconfig                         |   2 +
 configs/rock_defconfig                          |   2 +
 configs/sheep-rk3368_defconfig                  |   2 +
 configs/tinker-rk3288_defconfig                 |   2 +
 drivers/adc/Kconfig                             |   9 ++
 drivers/adc/Makefile                            |   1 +
 drivers/adc/rockchip-saradc.c                   | 183 ++++++++++++++++++++++++
 drivers/clk/rockchip/clk_rk3288.c               |  41 ++++++
 drivers/clk/rockchip/clk_rk3328.c               |  35 ++++-
 drivers/clk/rockchip/clk_rk3368.c               |  32 +++++
 drivers/clk/rockchip/clk_rk3399.c               |  36 ++++-
 drivers/clk/rockchip/clk_rv1108.c               |  33 ++++-
 include/dt-bindings/clock/rv1108-cru.h          |   2 +
 39 files changed, 456 insertions(+), 3 deletions(-)
 create mode 100644 drivers/adc/rockchip-saradc.c

-- 
2.7.4




More information about the U-Boot mailing list