Home
last modified time | relevance | path

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

/linux-6.12.1/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 - Haibo Chen <haibo.chen@nxp.com>
18 - items:
19 - enum:
20 - fsl,imx6sx-adc
21 - fsl,imx6ul-adc
22 - const: fsl,vf610-adc
[all …]
/linux-6.12.1/drivers/iio/adc/
Dvf610_adc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
31 #define DRIVER_NAME "vf610-adc"
185 struct vf610_adc_feature *adc_feature = &info->adc_feature; in vf610_adc_calculate_rates()
186 unsigned long adck_rate, ipg_rate = clk_get_rate(info->clk); in vf610_adc_calculate_rates()
190 adck_rate = info->max_adck_rate[adc_feature->conv_mode]; in vf610_adc_calculate_rates()
195 adc_feature->clk_div = 1 << fls(divisor + 1); in vf610_adc_calculate_rates()
197 /* fall-back value using a safe divisor */ in vf610_adc_calculate_rates()
198 adc_feature->clk_div = 8; in vf610_adc_calculate_rates()
201 adck_rate = ipg_rate / adc_feature->clk_div; in vf610_adc_calculate_rates()
208 lst_addr_min = adc_feature->default_sample_time / adck_period; in vf610_adc_calculate_rates()
[all …]
/linux-6.12.1/arch/arm/boot/dts/nxp/vf/
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 …]
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/
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
60 #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
57 #address-cells = <1>;
[all …]