Home
last modified time | relevance | path

Searched full:s5m8767 (Results 1 – 25 of 34) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/regulator/
Ds5m8767.c14 #include <linux/mfd/samsung/s5m8767.h>
162 static int s5m8767_get_register(struct s5m8767_info *s5m8767, int reg_id, in s5m8767_get_register() argument
191 for (i = 0; i < s5m8767->num_regulators; i++) { in s5m8767_get_register()
192 if (s5m8767->opmode[i].id == reg_id) { in s5m8767_get_register()
193 mode = s5m8767->opmode[i].mode; in s5m8767_get_register()
198 if (i >= s5m8767->num_regulators) in s5m8767_get_register()
206 static int s5m8767_get_vsel_reg(int reg_id, struct s5m8767_info *s5m8767) in s5m8767_get_vsel_reg() argument
222 if (s5m8767->buck2_gpiodvs) in s5m8767_get_vsel_reg()
223 reg += s5m8767->buck_gpioindex; in s5m8767_get_vsel_reg()
227 if (s5m8767->buck3_gpiodvs) in s5m8767_get_vsel_reg()
[all …]
/kernel/linux/linux-5.10/drivers/regulator/
Ds5m8767.c14 #include <linux/mfd/samsung/s5m8767.h>
162 static int s5m8767_get_register(struct s5m8767_info *s5m8767, int reg_id, in s5m8767_get_register() argument
191 for (i = 0; i < s5m8767->num_regulators; i++) { in s5m8767_get_register()
192 if (s5m8767->opmode[i].id == reg_id) { in s5m8767_get_register()
193 mode = s5m8767->opmode[i].mode; in s5m8767_get_register()
198 if (i >= s5m8767->num_regulators) in s5m8767_get_register()
206 static int s5m8767_get_vsel_reg(int reg_id, struct s5m8767_info *s5m8767) in s5m8767_get_vsel_reg() argument
222 if (s5m8767->buck2_gpiodvs) in s5m8767_get_vsel_reg()
223 reg += s5m8767->buck_gpioindex; in s5m8767_get_vsel_reg()
227 if (s5m8767->buck3_gpiodvs) in s5m8767_get_vsel_reg()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Dsamsung,s5m8767.yaml4 $id: http://devicetree.org/schemas/mfd/samsung,s5m8767.yaml#
7 title: Samsung S5M8767 Power Management IC
16 The Samsung S5M8767 is a Power Management IC which includes voltage
21 const: samsung,s5m8767-pmic
35 $ref: ../regulator/samsung,s5m8767.yaml
39 s5m8767,pmic-buck2-dvs-voltage:
47 s5m8767,pmic-buck3-dvs-voltage:
55 s5m8767,pmic-buck4-dvs-voltage:
63 s5m8767,pmic-buck-ds-gpios:
70 s5m8767,pmic-buck2-uses-gpio-dvs:
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
Dsamsung,s5m8767.txt1 Binding for Samsung S5M8767 regulator block
7 The S5M8767 device provide buck and LDO regulators.
16 - s5m8767,pmic-buck-ds-gpios: GPIO specifiers for three host gpio's used
19 [1] If either of the 's5m8767,pmic-buck[2/3/4]-uses-gpio-dvs' optional
21 's5m8767,pmic-buck[2/3/4]-dvs-voltage' should be specified.
24 - s5m8767,pmic-buck2-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
28 - s5m8767,pmic-buck3-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
32 - s5m8767,pmic-buck4-dvs-voltage: A set of 8 voltage values in micro-volt (uV)
36 - s5m8767,pmic-buck2-uses-gpio-dvs: 'buck2' can be controlled by gpio dvs.
37 - s5m8767,pmic-buck3-uses-gpio-dvs: 'buck3' can be controlled by gpio dvs.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Dsamsung,s2mps11.txt8 The S2MPS11/13/15 and S5M8767 provide three(AP/CP/BT) buffered 32.768 kHz
21 "samsung,s2mps14-clk", "samsung,s5m8767-clk"
30 32KhzAP 0 S2MPS11/13/14/15, S5M8767
31 32KhzCP 1 S2MPS11/13/15, S5M8767
32 32KhzBT 2 S2MPS11/13/14/15, S5M8767
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/
Dsamsung,s5m8767.yaml4 $id: http://devicetree.org/schemas/regulator/samsung,s5m8767.yaml#
7 title: Samsung S5M8767 Power Management IC regulators
16 The S5M8767 provides buck and LDO regulators.
18 See also Documentation/devicetree/bindings/mfd/samsung,s5m8767.yaml for
92 s5m8767,pmic-ext-control-gpios:
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dexynos5250-spring.dts108 s5m8767-pmic@66 {
109 compatible = "samsung,s5m8767-pmic";
117 s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 GPIO_ACTIVE_LOW>, /* DVS1 */
121 s5m8767,pmic-buck-ds-gpios = <&gpx2 3 GPIO_ACTIVE_LOW>, /* SET1 */
130 s5m8767,pmic-buck2-dvs-voltage = <1350000>, <1300000>,
135 s5m8767,pmic-buck3-dvs-voltage = <1100000>, <1100000>,
140 s5m8767,pmic-buck4-dvs-voltage = <1200000>, <1200000>,
146 compatible = "samsung,s5m8767-clk";
453 s5m8767_dvs: s5m8767-dvs {
488 s5m8767_ds: s5m8767-ds {
[all …]
Dexynos4412-itop-scp-core.dtsi137 s5m8767: s5m8767-pmic@66 { label
138 compatible = "samsung,s5m8767-pmic";
141 s5m8767,pmic-buck-default-dvs-idx = <3>;
143 s5m8767,pmic-buck-dvs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>,
147 s5m8767,pmic-buck-ds-gpios = <&gpm3 5 GPIO_ACTIVE_HIGH>,
152 s5m8767,pmic-buck2-dvs-voltage = <1356250>, <1300000>,
157 s5m8767,pmic-buck3-dvs-voltage = <1000000>, <1000000>,
162 s5m8767,pmic-buck4-dvs-voltage = <1081250>, <1081250>,
458 compatible = "samsung,s5m8767-clk";
Dexynos4412-origen.dts120 compatible = "samsung,s5m8767-pmic";
123 s5m8767,pmic-buck-default-dvs-idx = <3>;
125 s5m8767,pmic-buck-dvs-gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>,
129 s5m8767,pmic-buck-ds-gpios = <&gpm3 5 GPIO_ACTIVE_HIGH>,
133 s5m8767,pmic-buck2-dvs-voltage = <1250000>, <1200000>,
138 s5m8767,pmic-buck3-dvs-voltage = <1100000>, <1100000>,
143 s5m8767,pmic-buck4-dvs-voltage = <1200000>, <1200000>,
149 compatible = "samsung,s5m8767-clk";
Dexynos5250-arndale.dts215 compatible = "samsung,s5m8767-pmic";
242 s5m8767,pmic-buck2-dvs-voltage = <1300000>;
243 s5m8767,pmic-buck3-dvs-voltage = <1100000>;
244 s5m8767,pmic-buck4-dvs-voltage = <1200000>;
245 s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 GPIO_ACTIVE_HIGH>,
248 s5m8767,pmic-buck-ds-gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>,
253 compatible = "samsung,s5m8767-clk";
595 s5m8767_irq: s5m8767-irq {
/kernel/linux/linux-6.6/drivers/mfd/
Dsec-core.c25 #include <linux/mfd/samsung/s5m8767.h>
29 { .name = "s5m8767-pmic", },
32 .name = "s5m8767-clk",
33 .of_compatible = "samsung,s5m8767-clk",
84 .compatible = "samsung,s5m8767-pmic",
247 * Only the common platform data elements for s5m8767 are parsed here from the
248 * device tree. Other sub-modules of s5m8767 such as pmic, rtc , charger and
251 * The s5m8767 platform data structure is instantiated here and the drivers for
/kernel/linux/linux-6.6/arch/arm/boot/dts/samsung/
Dexynos4412-itop-scp-core.dtsi141 s5m8767: pmic@66 { label
142 compatible = "samsung,s5m8767-pmic";
145 s5m8767,pmic-buck-default-dvs-idx = <3>;
147 s5m8767,pmic-buck-dvs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>,
151 s5m8767,pmic-buck-ds-gpios = <&gpm3 5 GPIO_ACTIVE_HIGH>,
156 s5m8767,pmic-buck2-dvs-voltage = <1356250>, <1300000>,
161 s5m8767,pmic-buck3-dvs-voltage = <1000000>, <1000000>,
166 s5m8767,pmic-buck4-dvs-voltage = <1081250>, <1081250>,
463 compatible = "samsung,s5m8767-clk";
Dexynos5250-spring.dts115 compatible = "samsung,s5m8767-pmic";
123 s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 GPIO_ACTIVE_LOW>, /* DVS1 */
127 s5m8767,pmic-buck-ds-gpios = <&gpx2 3 GPIO_ACTIVE_LOW>, /* SET1 */
136 s5m8767,pmic-buck2-dvs-voltage = <1350000>, <1300000>,
141 s5m8767,pmic-buck3-dvs-voltage = <1100000>, <1100000>,
146 s5m8767,pmic-buck4-dvs-voltage = <1200000>, <1200000>,
152 compatible = "samsung,s5m8767-clk";
460 s5m8767_dvs: s5m8767-dvs-pins {
495 s5m8767_ds: s5m8767-ds-pins {
502 s5m8767_irq: s5m8767-irq-pins {
Dexynos4412-origen.dts125 compatible = "samsung,s5m8767-pmic";
128 s5m8767,pmic-buck-default-dvs-idx = <3>;
130 s5m8767,pmic-buck-dvs-gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>,
134 s5m8767,pmic-buck-ds-gpios = <&gpm3 5 GPIO_ACTIVE_HIGH>,
138 s5m8767,pmic-buck2-dvs-voltage = <1250000>, <1200000>,
143 s5m8767,pmic-buck3-dvs-voltage = <1100000>, <1100000>,
148 s5m8767,pmic-buck4-dvs-voltage = <1200000>, <1200000>,
155 compatible = "samsung,s5m8767-clk";
Dexynos4212-tab3.dtsi549 s5m8767: pmic@66 { label
550 compatible = "samsung,s5m8767-pmic";
558 s5m8767,pmic-buck-default-dvs-idx = <1>;
560 s5m8767,pmic-buck-dvs-gpios = <&gpm3 0 GPIO_ACTIVE_HIGH>,
564 s5m8767,pmic-buck-ds-gpios = <&gpf3 1 GPIO_ACTIVE_HIGH>,
568 s5m8767,pmic-buck2-dvs-voltage = <1100000>, <1100000>,
573 s5m8767,pmic-buck3-dvs-voltage = <1100000>, <1100000>,
578 s5m8767,pmic-buck4-dvs-voltage = <1100000>, <1100000>,
794 compatible = "samsung,s5m8767-clk";
842 s5m8767_ds: s5m8767-ds-pins {
[all …]
Dexynos5250-arndale.dts236 compatible = "samsung,s5m8767-pmic";
264 s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 GPIO_ACTIVE_HIGH>,
267 s5m8767,pmic-buck-ds-gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>,
272 compatible = "samsung,s5m8767-clk";
615 s5m8767_irq: s5m8767-irq-pins {
/kernel/linux/linux-5.10/drivers/mfd/
Dsec-core.c27 #include <linux/mfd/samsung/s5m8767.h>
43 { .name = "s5m8767-pmic", },
46 .name = "s5m8767-clk",
47 .of_compatible = "samsung,s5m8767-clk",
99 .compatible = "samsung,s5m8767-pmic",
286 * Only the common platform data elements for s5m8767 are parsed here from the
287 * device tree. Other sub-modules of s5m8767 such as pmic, rtc , charger and
290 * The s5m8767 platform data structure is instantiated here and the drivers for
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dsamsung,sec-core.txt7 The Samsung S2MPA01, S2MPS11/13/14/15, S2MPU02 and S5M8767 is a family
18 - bindings/regulator/samsung,s5m8767.txt
30 - "samsung,s5m8767-pmic".
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/
Dsamsung,s2mps11.yaml16 The S2MPS11/13/15 and S5M8767 provide three(AP/CP/BT) buffered 32.768 kHz
31 - samsung,s5m8767-clk
/kernel/linux/linux-6.6/include/linux/mfd/samsung/
Ds5m8767.h10 /* S5M8767 registers */
135 /* S5M8767 regulator ids */
/kernel/linux/linux-5.10/include/linux/mfd/samsung/
Ds5m8767.h10 /* S5M8767 registers */
135 /* S5M8767 regulator ids */
/kernel/linux/linux-5.10/drivers/clk/
Dclk-s2mps11.c17 #include <linux/mfd/samsung/s5m8767.h>
228 { "s5m8767-clk", S5M8767X},
254 .compatible = "samsung,s5m8767-clk",
DKconfig225 tristate "Clock driver for S2MPS1X/S5M8767 MFD"
228 This driver supports S2MPS11/S2MPS14/S5M8767 crystal oscillator
230 (S2MPS11, S5M8767) fixed-rate oscillators, clocked at 32KHz each.
/kernel/linux/linux-6.6/drivers/clk/
Dclk-s2mps11.c17 #include <linux/mfd/samsung/s5m8767.h>
227 { "s5m8767-clk", S5M8767X},
253 .compatible = "samsung,s5m8767-clk",
DKconfig273 tristate "Clock driver for S2MPS1X/S5M8767 MFD"
276 This driver supports S2MPS11/S2MPS14/S5M8767 crystal oscillator
278 (S2MPS11, S5M8767) fixed-rate oscillators, clocked at 32KHz each.

12