/* * Copyright (c) 2022, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #include &L9B { regulator-min-microvolt = <2960000>; regulator-max-microvolt = <3008000>; qcom,init-voltage = <3008000>; }; &L10B { qcom,init-voltage = <1800000>; }; &qupv3_se4_i2c { #address-cells = <1>; #size-cells = <0>; status = "ok"; /* Rogue panel */ goodix_ts_i2c@5d { status = "ok"; compatible = "goodix,gt9916"; reg = <0x5d>; mmi,status = "/chosen","mmi,panel_name","contains","csot_ili7838A","tianma_nt37701A", "csot_nt37701A"; goodix,reset-gpio = <&tlmm 24 0x0>; goodix,irq-gpio = <&tlmm 25 0x2002>; goodix,irq-flags = <0x2002>; /* 1:trigger rising, 2:trigger falling;*/ goodix,panel-max-id = <10>; goodix,panel-max-x = <8640>; goodix,panel-max-y = <19200>; goodix,panel-max-w = <255>; goodix,panel-max-p = <4096>; goodix,avdd-name = "pm_humu_l9"; goodix,iovdd-name = "pm_humu_l10"; pinctrl-names = "pmx_ts_active", "pmx_ts_suspend", "pmx_ts_release"; pinctrl-0 = <&ts_active>; pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>; pinctrl-2 = <&ts_release>; mmi,enable-gestures; mmi,power-off-suspend; mmi,usb-charger-detection; mmi,refresh-rate-update; goodix,pen-enable; goodix,film_mode-ctrl; goodix,sensitivity-ctrl; goodix,edge-ctrl; goodix,report_rate-ctrl; goodix,interpolation-ctrl; }; }; &qupv3_se4_spi { #address-cells = <1>; #size-cells = <0>; status = "ok"; goodix-berlin@0 { status = "ok"; compatible = "goodix,gt9916P"; reg = <0>; spi-max-frequency = <15000000>; goodix,reset-gpio = <&tlmm 24 0x0>; goodix,irq-gpio = <&tlmm 25 0x2002>; goodix,irq-flags = <0x2002>; /* 1:trigger rising, 2:trigger falling;*/ goodix,panel-max-id = <10>; goodix,panel-max-x = <17280>; goodix,panel-max-y = <38400>; goodix,panel-max-w = <255>; goodix,panel-max-p = <4096>; goodix,avdd-name = "pm_humu_l9"; goodix,iovdd-name = "pm_humu_l10"; pinctrl-names = "pmx_ts_active", "pmx_ts_suspend", "pmx_ts_release"; pinctrl-0 = <&ts_active>; pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>; pinctrl-2 = <&ts_release>; mmi,power-off-suspend; mmi,usb-charger-detection; mmi,supported_gesture_type = <0x07>; mmi,enable-gestures; goodix,gesture-wait-pm; mmi,fod_coords = <540 2141>; goodix,edge-ctrl; goodix,interpolation-ctrl; goodix,sample-ctrl; mmi,support-liquid-detection; }; };