Home
last modified time | relevance | path

Searched +full:adck +full:- +full:max +full:- +full:frequency (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/Documentation/devicetree/bindings/iio/adc/
Dfsl,vf610-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/fsl,vf610-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Fugang Duan <fugang.duan@nxp.com>
17 const: fsl,vf610-adc
29 clock-names:
32 vref-supply:
35 fsl,adck-max-frequency:
36 $ref: /schemas/types.yaml#/definitions/uint32-array
[all …]
/Linux-v5.10/drivers/iio/adc/
Dvf610_adc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
31 #define DRIVER_NAME "vf610-adc"
178 struct vf610_adc_feature *adc_feature = &info->adc_feature; in vf610_adc_calculate_rates()
179 unsigned long adck_rate, ipg_rate = clk_get_rate(info->clk); in vf610_adc_calculate_rates()
183 adck_rate = info->max_adck_rate[adc_feature->conv_mode]; in vf610_adc_calculate_rates()
188 adc_feature->clk_div = 1 << fls(divisor + 1); in vf610_adc_calculate_rates()
190 /* fall-back value using a safe divisor */ in vf610_adc_calculate_rates()
191 adc_feature->clk_div = 8; in vf610_adc_calculate_rates()
194 adck_rate = ipg_rate / adc_feature->clk_div; in vf610_adc_calculate_rates()
201 lst_addr_min = adc_feature->default_sample_time / adck_period; in vf610_adc_calculate_rates()
[all …]
/Linux-v5.10/arch/arm/boot/dts/
Dvfxxx.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 #include "vf610-pinfunc.h"
6 #include <dt-bindings/clock/vf610-clock.h>
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/gpio/gpio.h>
32 compatible = "fixed-clock";
33 #clock-cells = <0>;
34 clock-frequency = <24000000>;
38 compatible = "fixed-clock";
39 #clock-cells = <0>;
[all …]
Dimx6sx.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/clock/imx6sx-clock.h>
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include "imx6sx-pinfunc.h"
12 #address-cells = <1>;
13 #size-cells = <1>;
16 * pre-existing /chosen node to be available to insert the
57 #address-cells = <1>;
[all …]
Dimx6ul.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/clock/imx6ul-clock.h>
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include "imx6ul-pinfunc.h"
12 #address-cells = <1>;
13 #size-cells = <1>;
16 * pre-existing /chosen node to be available to insert the
55 #address-cells = <1>;
[all …]