Lines Matching +full:bias +full:- +full:pull +full:- +full:up

1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/regulator/dlg,da9211-regulator.h>
9 #include <dt-bindings/gpio/gpio.h>
25 compatible = "pwm-backlight";
27 power-supply = <&bl_fixed_reg>;
28 enable-gpios = <&pio 95 GPIO_ACTIVE_HIGH>;
30 pinctrl-names = "default";
31 pinctrl-0 = <&panel_backlight_en_pins>;
36 compatible = "regulator-fixed";
37 regulator-name = "bl_fixed";
38 regulator-min-microvolt = <1800000>;
39 regulator-max-microvolt = <1800000>;
40 startup-delay-us = <1000>;
41 enable-active-high;
43 pinctrl-names = "default";
44 pinctrl-0 = <&bl_fixed_pins>;
48 stdout-path = "serial0:115200n8";
51 gpio_keys: gpio-keys {
52 compatible = "gpio-keys";
53 pinctrl-names = "default";
54 pinctrl-0 = <&gpio_keys_pins>;
56 switch-lid {
60 linux,input-type = <EV_SW>;
61 gpio-key,wakeup;
64 switch-power {
68 debounce-interval = <30>;
69 gpio-key,wakeup;
72 switch-tablet-mode {
76 linux,input-type = <EV_SW>;
77 gpio-key,wakeup;
80 switch-volume-down {
86 switch-volume-up {
95 power-supply = <&panel_fixed_3v3>;
100 remote-endpoint = <&ps8640_out>;
106 compatible = "regulator-fixed";
107 regulator-name = "PANEL_3V3";
108 regulator-min-microvolt = <3300000>;
109 regulator-max-microvolt = <3300000>;
110 enable-active-high;
112 pinctrl-names = "default";
113 pinctrl-0 = <&panel_fixed_pins>;
117 compatible = "regulator-fixed";
118 regulator-name = "PS8640_1V2";
119 regulator-min-microvolt = <1200000>;
120 regulator-max-microvolt = <1200000>;
121 regulator-enable-ramp-delay = <2000>;
122 enable-active-high;
123 regulator-boot-on;
125 pinctrl-names = "default";
126 pinctrl-0 = <&ps8640_fixed_pins>;
130 compatible = "regulator-fixed";
131 regulator-name = "3V3";
132 regulator-min-microvolt = <3300000>;
133 regulator-max-microvolt = <3300000>;
135 pinctrl-names = "default";
136 pinctrl-0 = <&sdio_fixed_3v3_pins>;
140 compatible = "mediatek,mt8173-rt5650";
141 mediatek,audio-codec = <&rt5650 &hdmi0>;
143 pinctrl-names = "default";
144 pinctrl-0 = <&aud_i2s2>;
147 codec-capture {
148 sound-dai = <&rt5650 1>;
153 compatible = "hdmi-connector";
156 ddc-i2c-bus = <&hdmiddc0>;
160 remote-endpoint = <&hdmi0_out>;
167 domain-supply = <&da9211_vgpu_reg>;
175 proc-supply = <&mt6397_vpca15_reg>;
179 proc-supply = <&mt6397_vpca15_reg>;
183 proc-supply = <&da9211_vcpu_reg>;
184 sram-supply = <&mt6397_vsramca7_reg>;
188 proc-supply = <&da9211_vcpu_reg>;
189 sram-supply = <&mt6397_vsramca7_reg>;
193 sustainable-power = <4500>; /* milliwatts */
195 threshold: trip-point0 {
199 target: trip-point1 {
210 remote-endpoint = <&ps8640_in>;
227 remote-endpoint = <&hdmi_connector_in>;
241 rt5650: audio-codec@1a {
244 avdd-supply = <&mt6397_vgp1_reg>;
245 cpvdd-supply = <&mt6397_vcama_reg>;
246 interrupt-parent = <&pio>;
248 pinctrl-names = "default";
249 pinctrl-0 = <&rt5650_irq>;
250 #sound-dai-cells = <1>;
251 realtek,dmic1-data-pin = <2>;
252 realtek,jd-mode = <2>;
255 ps8640: edp-bridge@8 {
258 powerdown-gpios = <&pio 127 GPIO_ACTIVE_LOW>;
259 reset-gpios = <&pio 115 GPIO_ACTIVE_LOW>;
260 pinctrl-names = "default";
261 pinctrl-0 = <&ps8640_pins>;
262 vdd12-supply = <&ps8640_fixed_1v2>;
263 vdd33-supply = <&mt6397_vgp2_reg>;
266 #address-cells = <1>;
267 #size-cells = <0>;
273 remote-endpoint = <&dsi0_out>;
281 remote-endpoint = <&panel_in>;
289 clock-frequency = <1500000>;
295 interrupt-parent = <&pio>;
300 regulator-name = "VBUCKA";
301 regulator-min-microvolt = < 700000>;
302 regulator-max-microvolt = <1310000>;
303 regulator-min-microamp = <2000000>;
304 regulator-max-microamp = <4400000>;
305 regulator-ramp-delay = <10000>;
306 regulator-always-on;
307 regulator-allowed-modes = <DA9211_BUCK_MODE_SYNC
312 regulator-name = "VBUCKB";
313 regulator-min-microvolt = < 700000>;
314 regulator-max-microvolt = <1310000>;
315 regulator-min-microamp = <2000000>;
316 regulator-max-microamp = <3000000>;
317 regulator-ramp-delay = <10000>;
329 powered-while-suspended;
334 clock-frequency = <400000>;
340 interrupt-parent = <&pio>;
346 clock-frequency = <400000>;
348 pinctrl-names = "default";
349 pinctrl-0 = <&trackpad_irq>;
353 interrupt-parent = <&pio>;
356 vcc-supply = <&mt6397_vgp6_reg>;
357 wakeup-source;
367 pinctrl-names = "default", "state_uhs";
368 pinctrl-0 = <&mmc0_pins_default>;
369 pinctrl-1 = <&mmc0_pins_uhs>;
370 bus-width = <8>;
371 max-frequency = <200000000>;
372 cap-mmc-highspeed;
373 mmc-hs200-1_8v;
374 mmc-hs400-1_8v;
375 cap-mmc-hw-reset;
376 hs400-ds-delay = <0x14015>;
377 mediatek,hs200-cmd-int-delay = <30>;
378 mediatek,hs400-cmd-int-delay = <14>;
379 mediatek,hs400-cmd-resp-sel-rising;
380 vmmc-supply = <&mt6397_vemc_3v3_reg>;
381 vqmmc-supply = <&mt6397_vio18_reg>;
382 assigned-clocks = <&topckgen CLK_TOP_MSDC50_0_SEL>;
383 assigned-clock-parents = <&topckgen CLK_TOP_MSDCPLL_D2>;
384 non-removable;
389 pinctrl-names = "default", "state_uhs";
390 pinctrl-0 = <&mmc1_pins_default>;
391 pinctrl-1 = <&mmc1_pins_uhs>;
392 bus-width = <4>;
393 max-frequency = <200000000>;
394 cap-sd-highspeed;
395 sd-uhs-sdr50;
396 sd-uhs-sdr104;
397 cd-gpios = <&pio 1 GPIO_ACTIVE_LOW>;
398 vmmc-supply = <&mt6397_vmch_reg>;
399 vqmmc-supply = <&mt6397_vmc_reg>;
404 pinctrl-names = "default", "state_uhs";
405 pinctrl-0 = <&mmc3_pins_default>;
406 pinctrl-1 = <&mmc3_pins_uhs>;
407 bus-width = <4>;
408 max-frequency = <200000000>;
409 cap-sd-highspeed;
410 sd-uhs-sdr50;
411 sd-uhs-sdr104;
412 keep-power-in-suspend;
413 wakeup-source;
414 cap-sdio-irq;
415 vmmc-supply = <&sdio_fixed_3v3>;
416 vqmmc-supply = <&mt6397_vgp3_reg>;
417 non-removable;
418 cap-power-off-card;
420 #address-cells = <1>;
421 #size-cells = <0>;
424 compatible = "marvell,sd8897-bt";
426 interrupt-parent = <&pio>;
428 marvell,wakeup-pin = /bits/ 16 <0x0d>;
429 marvell,wakeup-gap-ms = /bits/ 16 <0x64>;
435 interrupt-parent = <&pio>;
437 marvell,wakeup-pin = <3>;
443 pinctrl-names = "default";
444 pinctrl-0 = <&nor_gpio1_pins>;
447 compatible = "jedec,spi-nor";
449 spi-max-frequency = <50000000>;
454 gpio-line-names = "EC_INT_1V8",
603 bias-pull-down;
610 output-low;
617 bias-pull-up;
624 output-low;
632 bias-pull-up;
637 bias-pull-up;
650 bias-pull-up;
665 bias-pull-up;
670 bias-pull-down;
675 bias-pull-up;
686 input-enable;
687 drive-strength = <MTK_DRIVE_4mA>;
688 bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
693 bias-pull-down;
694 drive-strength = <MTK_DRIVE_4mA>;
699 bias-pull-up;
709 input-enable;
710 drive-strength = <MTK_DRIVE_8mA>;
711 bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
716 input-enable;
717 drive-strength = <MTK_DRIVE_8mA>;
718 bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
723 bias-pull-down;
724 drive-strength = <MTK_DRIVE_8mA>;
739 input-enable;
740 drive-strength = <MTK_DRIVE_6mA>;
741 bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
746 drive-strength = <MTK_DRIVE_6mA>;
747 bias-pull-down = <MTK_PUPD_SET_R1R0_01>;
752 drive-strength = <MTK_DRIVE_10mA>;
753 bias-pull-down = <MTK_PUPD_SET_R1R0_01>;
758 bias-pull-up;
769 input-enable;
770 drive-strength = <MTK_DRIVE_6mA>;
771 bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
776 drive-strength = <MTK_DRIVE_8mA>;
777 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
787 input-enable;
788 drive-strength = <MTK_DRIVE_8mA>;
789 bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
794 input-enable;
795 drive-strength = <MTK_DRIVE_8mA>;
796 bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
801 drive-strength = <MTK_DRIVE_8mA>;
802 bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
811 input-enable;
812 drive-strength = <MTK_DRIVE_4mA>;
813 bias-pull-up;
818 drive-strength = <MTK_DRIVE_4mA>;
819 bias-pull-up;
824 input-enable;
825 drive-strength = <MTK_DRIVE_4mA>;
826 bias-pull-up;
859 bias-pull-down;
866 output-low;
873 bias-pull-up;
881 bias-disable;
888 input-enable;
889 bias-pull-up;
896 output-high;
897 bias-disable;
904 bias-pull-up;
910 pinctrl-names = "default";
911 pinctrl-0 = <&disp_pwm0_pins>;
918 #address-cells = <1>;
919 #size-cells = <1>;
920 interrupt-parent = <&pio>;
922 interrupt-controller;
923 #interrupt-cells = <2>;
926 compatible = "mediatek,mt6397-clk";
927 #clock-cells = <1>;
931 compatible = "mediatek,mt6397-pinctrl";
932 pins-are-numbered;
933 gpio-controller;
934 #gpio-cells = <2>;
938 compatible = "mediatek,mt6397-regulator";
941 regulator-compatible = "buck_vpca15";
942 regulator-name = "vpca15";
943 regulator-min-microvolt = < 700000>;
944 regulator-max-microvolt = <1350000>;
945 regulator-ramp-delay = <12500>;
946 regulator-always-on;
947 regulator-allowed-modes = <0 1>;
951 regulator-compatible = "buck_vpca7";
952 regulator-name = "vpca7";
953 regulator-min-microvolt = < 700000>;
954 regulator-max-microvolt = <1350000>;
955 regulator-ramp-delay = <12500>;
956 regulator-enable-ramp-delay = <115>;
957 regulator-always-on;
961 regulator-compatible = "buck_vsramca15";
962 regulator-name = "vsramca15";
963 regulator-min-microvolt = < 700000>;
964 regulator-max-microvolt = <1350000>;
965 regulator-ramp-delay = <12500>;
966 regulator-always-on;
970 regulator-compatible = "buck_vsramca7";
971 regulator-name = "vsramca7";
972 regulator-min-microvolt = < 700000>;
973 regulator-max-microvolt = <1350000>;
974 regulator-ramp-delay = <12500>;
975 regulator-always-on;
979 regulator-compatible = "buck_vcore";
980 regulator-name = "vcore";
981 regulator-min-microvolt = < 700000>;
982 regulator-max-microvolt = <1350000>;
983 regulator-ramp-delay = <12500>;
984 regulator-always-on;
988 regulator-compatible = "buck_vgpu";
989 regulator-name = "vgpu";
990 regulator-min-microvolt = < 700000>;
991 regulator-max-microvolt = <1350000>;
992 regulator-ramp-delay = <12500>;
993 regulator-enable-ramp-delay = <115>;
997 regulator-compatible = "buck_vdrm";
998 regulator-name = "vdrm";
999 regulator-min-microvolt = <1200000>;
1000 regulator-max-microvolt = <1400000>;
1001 regulator-ramp-delay = <12500>;
1002 regulator-always-on;
1006 regulator-compatible = "buck_vio18";
1007 regulator-name = "vio18";
1008 regulator-min-microvolt = <1620000>;
1009 regulator-max-microvolt = <1980000>;
1010 regulator-ramp-delay = <12500>;
1011 regulator-always-on;
1015 regulator-compatible = "ldo_vtcxo";
1016 regulator-name = "vtcxo";
1017 regulator-always-on;
1021 regulator-compatible = "ldo_va28";
1022 regulator-name = "va28";
1026 regulator-compatible = "ldo_vcama";
1027 regulator-name = "vcama";
1028 regulator-min-microvolt = <1800000>;
1029 regulator-max-microvolt = <1800000>;
1030 regulator-enable-ramp-delay = <218>;
1034 regulator-compatible = "ldo_vio28";
1035 regulator-name = "vio28";
1036 regulator-always-on;
1040 regulator-compatible = "ldo_vusb";
1041 regulator-name = "vusb";
1045 regulator-compatible = "ldo_vmc";
1046 regulator-name = "vmc";
1047 regulator-min-microvolt = <1800000>;
1048 regulator-max-microvolt = <3300000>;
1049 regulator-enable-ramp-delay = <218>;
1053 regulator-compatible = "ldo_vmch";
1054 regulator-name = "vmch";
1055 regulator-min-microvolt = <3000000>;
1056 regulator-max-microvolt = <3300000>;
1057 regulator-enable-ramp-delay = <218>;
1061 regulator-compatible = "ldo_vemc3v3";
1062 regulator-name = "vemc_3v3";
1063 regulator-min-microvolt = <3000000>;
1064 regulator-max-microvolt = <3300000>;
1065 regulator-enable-ramp-delay = <218>;
1069 regulator-compatible = "ldo_vgp1";
1070 regulator-name = "vcamd";
1071 regulator-min-microvolt = <1800000>;
1072 regulator-max-microvolt = <1800000>;
1073 regulator-enable-ramp-delay = <240>;
1077 regulator-compatible = "ldo_vgp2";
1078 regulator-name = "vcamio";
1079 regulator-min-microvolt = <3300000>;
1080 regulator-max-microvolt = <3300000>;
1081 regulator-enable-ramp-delay = <218>;
1085 regulator-compatible = "ldo_vgp3";
1086 regulator-name = "vcamaf";
1087 regulator-min-microvolt = <1800000>;
1088 regulator-max-microvolt = <1800000>;
1089 regulator-enable-ramp-delay = <218>;
1093 regulator-compatible = "ldo_vgp4";
1094 regulator-name = "vgp4";
1095 regulator-min-microvolt = <1200000>;
1096 regulator-max-microvolt = <3300000>;
1097 regulator-enable-ramp-delay = <218>;
1101 regulator-compatible = "ldo_vgp5";
1102 regulator-name = "vgp5";
1103 regulator-min-microvolt = <1200000>;
1104 regulator-max-microvolt = <3000000>;
1105 regulator-enable-ramp-delay = <218>;
1109 regulator-compatible = "ldo_vgp6";
1110 regulator-name = "vgp6";
1111 regulator-min-microvolt = <3300000>;
1112 regulator-max-microvolt = <3300000>;
1113 regulator-enable-ramp-delay = <218>;
1114 regulator-always-on;
1118 regulator-compatible = "ldo_vibr";
1119 regulator-name = "vibr";
1120 regulator-min-microvolt = <1300000>;
1121 regulator-max-microvolt = <3300000>;
1122 regulator-enable-ramp-delay = <218>;
1127 compatible = "mediatek,mt6397-rtc";
1131 compatible = "mediatek,mt6397-pctl-pmic-syscfg",
1139 pinctrl-names = "default";
1140 pinctrl-0 = <&spi_pins_a>;
1141 mediatek,pad-select = <1>;
1145 compatible = "google,cros-ec-spi";
1147 spi-max-frequency = <12000000>;
1148 interrupt-parent = <&pio>;
1150 google,cros-ec-spi-msg-delay = <500>;
1152 i2c_tunnel: i2c-tunnel0 {
1153 compatible = "google,cros-ec-i2c-tunnel";
1154 google,remote-bus = <0>;
1155 #address-cells = <1>;
1156 #size-cells = <0>;
1158 battery: sbs-battery@b {
1159 compatible = "sbs,sbs-battery";
1161 sbs,i2c-retry-count = <2>;
1162 sbs,poll-retry-count = <1>;
1170 wakeup-source;
1171 vusb33-supply = <&mt6397_vusb_reg>;
1176 bank0-supply = <&mt6397_vpca15_reg>;
1177 bank1-supply = <&da9211_vcpu_reg>;
1185 pinctrl-names = "default";
1186 pinctrl-0 = <&usb_pins>;
1187 vusb33-supply = <&mt6397_vusb_reg>;
1191 #include <arm/cros-ec-keyboard.dtsi>