/linux-6.12.1/drivers/iio/adc/ |
D | sophgo-cv1800b-adc.c | 3 * Sophgo CV1800B SARADC Driver 72 static void cv1800b_adc_start_measurement(struct cv1800b_adc *saradc, in cv1800b_adc_start_measurement() argument 75 writel(0, saradc->regs + CV1800B_ADC_CTRL_REG); in cv1800b_adc_start_measurement() 77 saradc->regs + CV1800B_ADC_CTRL_REG); in cv1800b_adc_start_measurement() 80 static int cv1800b_adc_wait(struct cv1800b_adc *saradc) in cv1800b_adc_wait() argument 82 if (saradc->irq < 0) { in cv1800b_adc_wait() 85 return readl_poll_timeout(saradc->regs + CV1800B_ADC_STATUS_REG, in cv1800b_adc_wait() 90 return wait_for_completion_timeout(&saradc->completion, in cv1800b_adc_wait() 99 struct cv1800b_adc *saradc = iio_priv(indio_dev); in cv1800b_adc_read_raw() local 105 scoped_guard(mutex, &saradc->lock) { in cv1800b_adc_read_raw() [all …]
|
D | rockchip_saradc.c | 319 .compatible = "rockchip,saradc", 325 .compatible = "rockchip,rk3399-saradc", 328 .compatible = "rockchip,rk3568-saradc", 331 .compatible = "rockchip,rk3588-saradc", 339 * Reset SARADC Controller. 454 "saradc-apb"); in rockchip_saradc_probe() 457 return dev_err_probe(&pdev->dev, ret, "failed to get saradc-apb\n"); in rockchip_saradc_probe() 512 info->clk = devm_clk_get_enabled(&pdev->dev, "saradc"); in rockchip_saradc_probe() 587 .name = "rockchip-saradc", 596 MODULE_DESCRIPTION("Rockchip SARADC driver");
|
D | meson_saradc.c | 1260 .name = "meson-meson8-saradc", 1265 .name = "meson-meson8b-saradc", 1270 .name = "meson-meson8m2-saradc", 1275 .name = "meson-gxbb-saradc", 1280 .name = "meson-gxl-saradc", 1285 .name = "meson-gxm-saradc", 1290 .name = "meson-axg-saradc", 1295 .name = "meson-g12a-saradc", 1300 .compatible = "amlogic,meson8-saradc", 1303 .compatible = "amlogic,meson8b-saradc", [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/iio/adc/ |
D | rockchip-saradc.yaml | 4 $id: http://devicetree.org/schemas/iio/adc/rockchip-saradc.yaml# 15 - const: rockchip,saradc 17 - const: rockchip,rk3399-saradc 18 - const: rockchip,rk3588-saradc 20 - const: rockchip,rk3576-saradc 21 - const: rockchip,rk3588-saradc 24 - rockchip,px30-saradc 25 - rockchip,rk3308-saradc 26 - rockchip,rk3328-saradc 27 - rockchip,rk3568-saradc [all …]
|
D | amlogic,meson-saradc.yaml | 4 $id: http://devicetree.org/schemas/iio/adc/amlogic,meson-saradc.yaml# 18 - const: amlogic,meson-saradc 21 - amlogic,meson8-saradc 22 - amlogic,meson8b-saradc 23 - amlogic,meson8m2-saradc 24 - amlogic,meson-gxbb-saradc 25 - amlogic,meson-gxl-saradc 26 - amlogic,meson-gxm-saradc 27 - amlogic,meson-axg-saradc 28 - amlogic,meson-g12a-saradc [all …]
|
D | sophgo,cv1800b-saradc.yaml | 4 $id: http://devicetree.org/schemas/iio/adc/sophgo,cv1800b-saradc.yaml# 19 const: sophgo,cv1800b-saradc 65 compatible = "sophgo,cv1800b-saradc";
|
/linux-6.12.1/arch/arm/boot/dts/amlogic/ |
D | meson8m2.dtsi | 83 &saradc { 84 compatible = "amlogic,meson8m2-saradc", "amlogic,meson-saradc";
|
D | meson.dtsi | 17 io-channels = <&saradc 8>; 99 saradc: adc@8680 { label 100 compatible = "amlogic,meson-saradc"; 324 io-channels = <&saradc 8>;
|
D | meson8m2-mxiii-plus.dts | 36 io-channels = <&saradc 0>; 209 &saradc {
|
/linux-6.12.1/arch/arm64/boot/dts/amlogic/ |
D | meson-gxm.dtsi | 190 &saradc { 191 compatible = "amlogic,meson-gxm-saradc", "amlogic,meson-saradc";
|
D | meson-gxbb-p200.dts | 33 io-channels = <&saradc 0>; 160 &saradc {
|
D | meson-g12b-odroid-go-ultra.dts | 26 io-channels = <&saradc 2>, <&saradc 3>; 49 io-channels = <&saradc 0>, <&saradc 1>; 641 &saradc {
|
/linux-6.12.1/arch/arm64/boot/dts/rockchip/ |
D | rk3308-evb.dts | 21 io-channels = <&saradc 0>; 35 io-channels = <&saradc 1>; 193 &saradc {
|
D | rk3326-odroid-go2.dts | 17 io-channels = <&saradc 1>, 18 <&saradc 2>;
|
D | rk3328-roc-pc.dts | 16 io-channels = <&saradc 0>; 93 &saradc {
|
D | rk3399-gru-kevin.dts | 73 io-channels = <&saradc 2>; 82 io-channels = <&saradc 3>; 295 &saradc {
|
D | rk3566-soquartz-blade.dts | 140 * saradc is exposed on CM1 / Module1A - to J2 144 &saradc {
|
D | rk3566-soquartz-cm4.dts | 138 * saradc is exposed on CM1 / Module1A - to J2 142 &saradc {
|
D | rk3326-odroid-go2-v11.dts | 21 io-channels = <&saradc 1>, 22 <&saradc 2>;
|
D | rk3566-soquartz-model-a.dts | 165 * saradc is exposed on CM1 / Module1A - to J2 169 &saradc {
|
D | rk3588-ok3588-c.dts | 18 io-channels = <&saradc 0>; 32 io-channels = <&saradc 1>; 358 &saradc {
|
D | rk3566-powkiddy-x55.dts | 30 io-channels = <&saradc 0>, <&saradc 1>, 31 <&saradc 2>, <&saradc 3>; 804 &saradc {
|
/linux-6.12.1/arch/arm/boot/dts/rockchip/ |
D | rk3xxx.dtsi | 440 saradc: saradc@2006c000 { label 441 compatible = "rockchip,saradc"; 446 clock-names = "saradc", "apb_pclk"; 448 reset-names = "saradc-apb";
|
D | rk3066a-mk808.dts | 30 io-channels = <&saradc 1>; 222 &saradc {
|
D | rk3288-rock2-square.dts | 17 io-channels = <&saradc 1>; 257 &saradc {
|