From nobody Fri Apr 3 01:29:50 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 723F0236453; Sun, 15 Feb 2026 20:02:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771185762; cv=none; b=ZPbaYJoM95+XdySYJfHtIuLu5SaHD7G3FhU8eefm5V0+ME9UaxsXGqqjnm0W6CtWa9wIhwqk6YRK57YAkyeAd4MAuQIlGvFZqprFR6lt1YGq5+L6N62BG9FlnchFjyfOdJjYMFdzeZ2l2yMzETCZcPkvvnw1WREWSxOtto4KIZA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771185762; c=relaxed/simple; bh=proQ2lVOeY8Ifp0RN4ZSzNk9g+lN71uVKJ7QJ4Aj5vY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WeaMg/Beuset6f1R+9VNZxeZddaUDm5IIN3u7kLhonFAGxFth4kuigTt5bgGP/XtmlC2nmZjz72zxHDJQXNDIN2HbgqTzPw9sbJTtAOj4Z77G76EbYYPLdXXjkslU/Wee0al+SVjDS7u3dqetvZEUraM1H3b1+kIYKYbIQY+Xrc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DChgquxl; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DChgquxl" Received: by smtp.kernel.org (Postfix) with ESMTPS id 1D685C19425; Sun, 15 Feb 2026 20:02:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771185762; bh=proQ2lVOeY8Ifp0RN4ZSzNk9g+lN71uVKJ7QJ4Aj5vY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=DChgquxlqzCdSTNx9DSEXT4psz6jdGZhAU9Bi9SgQgC19Apyx9xVenDfY7Bkt5BBz tSn5d7hwRuOo8EEcd294yDDF8ZbEKGlA1DUPIArTRe0tJdHDEmbdx9k+D3g/+WPYme QkSrwkYQA2FSgmtVZHvRoz9mT71F6zcUNZUzMcH9NvIgHkaThUAyvqGw8q+6wzDgOk tl+e4uihSKOnxrAQNgq+LxF0SLmw2FTvtdo5+31CuRFCIPFkMYl4qUiUeVftHiqD2J MYQ0Gd/sAx0VxHCnQH8fzdX26+sU8LUiEyPjSQ8+9xHJh8IX+bvEMiEpbYpEwg5RPO 0LCEC4i8GGTdw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 06F36E63F12; Sun, 15 Feb 2026 20:02:42 +0000 (UTC) From: Paul Adam via B4 Relay Date: Sun, 15 Feb 2026 21:02:01 +0100 Subject: [PATCH 1/3] dt-bindings: vendor-prefixes: add WIKO SAS Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260215-wiko-chuppito-v1-1-9ee6b89606a0@posteo.de> References: <20260215-wiko-chuppito-v1-0-9ee6b89606a0@posteo.de> In-Reply-To: <20260215-wiko-chuppito-v1-0-9ee6b89606a0@posteo.de> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Paul Adam X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1771185760; l=782; i=adamp@posteo.de; s=20260215; h=from:subject:message-id; bh=WxaLDx/r7/v6qmLwcXM2Ea/I3b4jXeW05Xoj4K0hxkk=; b=kUK1sfAW3zrDZM+vYudoBiqdtU6H3zPbIwc8WYEpJKJpNe8IGXYVSTTluTEifeMJLgbCAgmiH xl+L1WhETtjAE9iBG3tKcEWXkFwvFOkFKxlRFr08Oe74x832U4xZ2kZ X-Developer-Key: i=adamp@posteo.de; a=ed25519; pk=mtrPhSn7htywc4S5zrKNrWM6laAdfnaJzIs0BDiCyAs= X-Endpoint-Received: by B4 Relay for adamp@posteo.de/20260215 with auth_id=640 X-Original-From: Paul Adam Reply-To: adamp@posteo.de From: Paul Adam Wiko is a french smartphone company: https://wikomobile.com Signed-off-by: Paul Adam --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Docum= entation/devicetree/bindings/vendor-prefixes.yaml index edbce100cae4..187089eef983 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -1819,6 +1819,8 @@ patternProperties: description: Wi2Wi, Inc. "^widora,.*": description: Beijing Widora Technology Co., Ltd. + "^wiko,.*": + description: Wiko SAS "^wiligear,.*": description: Wiligear, Ltd. "^willsemi,.*": --=20 2.52.0 From nobody Fri Apr 3 01:29:50 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7391723A9B0; Sun, 15 Feb 2026 20:02:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771185762; cv=none; b=hbPlUOQZfQyDY/Vtq5lZEpwr7jrcoG0BKiEJg5CliN1a48UWOmBj8gtK47zsjcYW0Mgm3zdJka91VgyIU9ll+nrwT9dDdHEVziNluGXAiI63yxCzo6e8qQm2gGeNETV2fFaT+elvPUC6KgZEpNa08gCtFIv47rltX739qt4zH/Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771185762; c=relaxed/simple; bh=1kBmXExWfIFWYfvQ0ndF0VY1I5Wlo2sXe30+9+34SRc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EdYxnkZxlniysFRVXbAI589HJ37D+1f0dEnZN+8XvIC9GYG5SlQ/x+BxxOUky7BvaebAhbqqHlEmrXoAng1sX+LLBK1A6VlNZQC+wgFQKKrJx1ZeX3f9bBMZSO+eH3HC2kUHdngwtj1WnYN1azTtTYOFgHsEQY4LMIboTRRbT60= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lbCA06hS; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lbCA06hS" Received: by smtp.kernel.org (Postfix) with ESMTPS id 3EC4DC2BCB0; Sun, 15 Feb 2026 20:02:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771185762; bh=1kBmXExWfIFWYfvQ0ndF0VY1I5Wlo2sXe30+9+34SRc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=lbCA06hSv5TZqMEWTYYZ6pZOBumI+ytGnPJzZb8p6Iw9/P1m2taCfwQbZvLuqJPdL WMwJGFWKlV4wvNfA3HTqAKrKxl2+RucbpLXbdGCmH5VLY6AAL6y+/t1juDJbruzTcC EvcJRKAgevBPdCQSOPnRJxc1yOsIRrmZ13h+RTtitMOGEaTLM32A9VFDbittefzw3g /zffMRHdI3ThGvxuS1rsxBt9XXjab+Q0IoS1wG4DubyMMllApjoZdxXlQvuIZmB8tC 2T6aPEoA05HIPRDqnrsBETjtv6Ne6pgqsDkShwYCL9NyecvPpGcXIPySDCGmmqofps 5u/NaWjlrJtSA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19D44E63F14; Sun, 15 Feb 2026 20:02:42 +0000 (UTC) From: Paul Adam via B4 Relay Date: Sun, 15 Feb 2026 21:02:02 +0100 Subject: [PATCH 2/3] dt-bindings: arm: qcom: add wiko,chuppito compatible string Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260215-wiko-chuppito-v1-2-9ee6b89606a0@posteo.de> References: <20260215-wiko-chuppito-v1-0-9ee6b89606a0@posteo.de> In-Reply-To: <20260215-wiko-chuppito-v1-0-9ee6b89606a0@posteo.de> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Paul Adam X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1771185760; l=721; i=adamp@posteo.de; s=20260215; h=from:subject:message-id; bh=o8HRUe7LYr0/of9eNdmUYxCEkXR2/26lshOqtHLjO3A=; b=JNX5ZxCvOPwJDaKn1juVYBfcC7GiGyb6RERGa+kYuPS9hquTqRf/QP2qs09liWeSa/n6xSYuI 1h5HDq0WXQ7DDJ2foMip0nK8YfVyImdWpg/YyKeUO7Nl25k6yo8G15x X-Developer-Key: i=adamp@posteo.de; a=ed25519; pk=mtrPhSn7htywc4S5zrKNrWM6laAdfnaJzIs0BDiCyAs= X-Endpoint-Received: by B4 Relay for adamp@posteo.de/20260215 with auth_id=640 X-Original-From: Paul Adam Reply-To: adamp@posteo.de From: Paul Adam Add a compatible for Wiko PULP 4G Signed-off-by: Paul Adam --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentatio= n/devicetree/bindings/arm/qcom.yaml index d48c625d3fc4..c9525b61f8ff 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -186,6 +186,7 @@ properties: - samsung,serranove - thwc,uf896 - thwc,ufi001c + - wiko,chuppito - wingtech,wt86518 - wingtech,wt86528 - wingtech,wt88047 --=20 2.52.0 From nobody Fri Apr 3 01:29:50 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 74B5C23A9B3; Sun, 15 Feb 2026 20:02:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771185762; cv=none; b=qtSeQEKwM6SRoA3irelCnciY14mVBaEJPujFlRhk+J1SGyrMJB0NoqS50umra6+4FFwlYRUzAXy9EhpIxcM99QK1i8t+rZxZfaJVampeqqdG20PMMvB4hWKhsYGQTw+35UWhvVmmozd2SAr334VlNVPsyrk6ieH8IeJ8DHLXMmU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771185762; c=relaxed/simple; bh=mOSrUE4UMAycLxukstiaC9sjSQnnQet4CCuK3e+CuHM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=pCTFoRYV4ytd0oO+2Sxu53K4JkWrlDwpCFOtrOn3HWo9O9BftiocM0Jiy0R6dgPztT93P/IzagUo01gRR6j3MJJt2Kqv7v8htw7MXV/nXjRJF80LFDEs0sEkaRFFv/HYJg0jtyZslT0WlsUde/9iAFK1OpIWZ6LfRXbUoIVjyTg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=a9mbfJJ7; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="a9mbfJJ7" Received: by smtp.kernel.org (Postfix) with ESMTPS id 423B2C2BCB4; Sun, 15 Feb 2026 20:02:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771185762; bh=mOSrUE4UMAycLxukstiaC9sjSQnnQet4CCuK3e+CuHM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=a9mbfJJ7SLdWv1fNlCo6Ear8RKt9J24pxBMD0OqCo7tNzFqya2uS8JVIX9jGuJqDZ yvD6lndKVURrjEAGacLc3u2AuZyd8dw7YiRu/2My3L6Rgnzt0yqBk//EDuNSonan3y H35jcGbXrrBirQrObQazAnt0a1vLUHf4Vi7JAOfU9uYs2FOmLgzc0dqqqMCD45VjVa Sz5cz0we0CNeyR97u3Z4X5KZ2jmM2CRx2BLRdglm8cGqpeLMTgVDPrhA1lcmXyRUXR Zyn/nTDOW3CJtTeMxm0E2z6HWK2Qo5qZU6yQNsFOFsBAu5IkiSDzccrkLk0AUiGUII 7+CRCqLDOCyqQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34C12E63F11; Sun, 15 Feb 2026 20:02:42 +0000 (UTC) From: Paul Adam via B4 Relay Date: Sun, 15 Feb 2026 21:02:03 +0100 Subject: [PATCH 3/3] arm64: dts: qcom: msm8916-wiko-chuppito: add initial devicetree Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260215-wiko-chuppito-v1-3-9ee6b89606a0@posteo.de> References: <20260215-wiko-chuppito-v1-0-9ee6b89606a0@posteo.de> In-Reply-To: <20260215-wiko-chuppito-v1-0-9ee6b89606a0@posteo.de> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Paul Adam X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1771185760; l=9326; i=adamp@posteo.de; s=20260215; h=from:subject:message-id; bh=ZpiaZwtd+2fDJuKcBFWcNhLQgUdJNd+5b5UVDjlfvnI=; b=5xmJD+SIckV/yHT9pUKMgQnzdQaKF7/T3zH8mdaUiVHXlJ3peWD6yfcp7qJztWDnKT77W/sX3 MMpeWJU2PpMAiCNpVuKAuPyy0Ka8OkP8l0A4N1ytALfsHlRoMy5RL7z X-Developer-Key: i=adamp@posteo.de; a=ed25519; pk=mtrPhSn7htywc4S5zrKNrWM6laAdfnaJzIs0BDiCyAs= X-Endpoint-Received: by B4 Relay for adamp@posteo.de/20260215 with auth_id=640 X-Original-From: Paul Adam Reply-To: adamp@posteo.de From: Paul Adam Add an initial device tree for Wiko PULP 4G. Includes support for: - UART - USB (no OTG) - Internal storage - MicroSD - Volume keys + Power button - Touchscreen - Backlight - Accelerometer: Invensense MPU6880 - Magnetometer: Asahi Kasei AK09911 - Hall sensor: Rohm BU52021HFV - Proximity sensor - Vibrator - Earpiece - Microphone 1 - Headphones - Wifi - Bluetooth - GPU Signed-off-by: Paul Adam --- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/msm8916-wiko-chuppito.dts | 371 +++++++++++++++++= ++++ 2 files changed, 372 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/M= akefile index f80b5d9cf1e8..5a3a9a823503 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -75,6 +75,7 @@ dtb-$(CONFIG_ARCH_QCOM) +=3D msm8916-samsung-rossa.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D msm8916-samsung-serranove.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D msm8916-thwc-uf896.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D msm8916-thwc-ufi001c.dtb +dtb-$(CONFIG_ARCH_QCOM) +=3D msm8916-wiko-chuppito.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D msm8916-wingtech-wt86518.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D msm8916-wingtech-wt86528.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D msm8916-wingtech-wt88047.dtb diff --git a/arch/arm64/boot/dts/qcom/msm8916-wiko-chuppito.dts b/arch/arm6= 4/boot/dts/qcom/msm8916-wiko-chuppito.dts new file mode 100644 index 000000000000..9e185c8f8f54 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/msm8916-wiko-chuppito.dts @@ -0,0 +1,371 @@ +// SPDX-License-Identifier: GPL-2.0-only + +/dts-v1/; + +#include "msm8916-pm8916.dtsi" +#include "msm8916-modem-qdsp6.dtsi" + +#include +#include +#include + +/ { + model =3D "Wiko Pulp 4G"; + compatible =3D "wiko,chuppito", "qcom,msm8916"; + chassis-type =3D "handset"; + + aliases { + mmc0 =3D &sdhc_1; /* eMMC */ + mmc1 =3D &sdhc_2; /* SD card */ + serial0 =3D &blsp_uart2; + }; + + chosen { + stdout-path =3D "serial0"; + }; + backlight: backlight { + compatible =3D "pwm-backlight"; + pwms =3D <&pm8916_pwm 0 100000>; + brightness-levels =3D <0 255>; + num-interpolated-steps =3D <255>; + default-brightness-level =3D <255>; + enable-gpios =3D <&tlmm 119 GPIO_ACTIVE_HIGH>; + pinctrl-0 =3D <&button_backlight_default>; + pinctrl-1 =3D <&button_backlight_off>; + pinctrl-names =3D "default", "off"; + }; + + gpio-keys { + compatible =3D "gpio-keys"; + pinctrl-0 =3D <&gpio_keys_default>; + pinctrl-names =3D "default"; + label =3D "GPIO Buttons"; + + button-volume-up { + label =3D "Volume up"; + gpios =3D <&tlmm 107 GPIO_ACTIVE_LOW>; + linux,code =3D ; + }; + }; + + gpio-hall-sensor { + compatible =3D "gpio-keys"; + pinctrl-0 =3D <&gpio_hall_sensor_default>; + pinctrl-names =3D "default"; + label =3D "GPIO Hall Effect Sensor"; + + event-hall-sensor { + label =3D "Hall Effect Sensor"; + gpios =3D <&tlmm 117 GPIO_ACTIVE_LOW>; + linux,input-type =3D ; + linux,code =3D ; + linux,can-disable; + }; + }; + + usb_id: usb-id { + compatible =3D "linux,extcon-usb-gpio"; + id-gpios =3D <&tlmm 110 GPIO_ACTIVE_HIGH>; + pinctrl-0 =3D <&usb_id_default>; + pinctrl-names =3D "default"; + }; +}; + +&blsp_uart2 { + status =3D "okay"; +}; + +&blsp_i2c2 { + status =3D "okay"; + + magnetometer@c { + compatible =3D "asahi-kasei,ak09911"; + reg =3D <0x0c>; + vdd-supply =3D <&pm8916_l17>; + vid-supply =3D <&pm8916_l6>; + reset-gpios =3D <&tlmm 120 GPIO_ACTIVE_LOW>; + pinctrl-0 =3D <&mag_reset_default>; + pinctrl-1 =3D <&mag_reset_suspend>; + pinctrl-names =3D "default", "suspend"; + mount-matrix =3D "1", "0", "0", + "0", "1", "0", + "0", "0", "1"; + }; + + proximity@48 { + // downstream devicetree only specifies "stk,stk3x1x" + compatible =3D "sensortek,stk3310"; + reg =3D <0x48>; + interrupts-extended =3D <&tlmm 113 IRQ_TYPE_EDGE_FALLING>; + pinctrl-0 =3D <&proximity_int_default>; + pinctrl-1 =3D <&proximity_int_suspend>; + pinctrl-names =3D "default", "suspend"; + }; + + imu@68 { + compatible =3D "invensense,mpu6880"; + reg =3D <0x68>; + interrupts-extended =3D <&tlmm 115 IRQ_TYPE_EDGE_FALLING>; + vdd-supply =3D <&pm8916_l17>; + vddio-supply =3D <&pm8916_l6>; + pinctrl-0 =3D <&imu_int_default>; + pinctrl-1 =3D <&imu_int_suspend>; + pinctrl-names =3D "default", "suspend"; + mount-matrix =3D "0", "-1", "0", + "-1", "0", "0", + "0", "0", "-1"; + }; +}; + +&blsp_i2c5 { + status =3D "okay"; + + rmi4@39 { + compatible =3D "syna,rmi4-i2c"; + reg =3D <0x39>; + interrupts-extended =3D <&tlmm 13 IRQ_TYPE_EDGE_FALLING>; + vdd-supply =3D <&pm8916_l17>; + vio-supply =3D <&pm8916_l6>; + pinctrl-0 =3D <&touchscreen_default>; + pinctrl-1 =3D <&touchscreen_suspend>; + pinctrl-names =3D "default", "suspend"; + #address-cells =3D <1>; + #size-cells =3D <0>; + syna,startup-delay-ms =3D <100>; + syna,reset-delay-ms =3D <160>; + + rmi4-f01@1 { + reg =3D <0x1>; + syna,nosleep-mode =3D <1>; + }; + + rmi4-f11@11 { + reg =3D <0x11>; + syna,sensor-type =3D <1>; + }; + }; +}; + +// make sure gcc is probed with display disabled. +&gcc { + clocks =3D <&xo_board>, <&sleep_clk>, <0>, <0>, <0>, <0>, <0>; +}; + +&gpu { + status =3D "okay"; +}; + +&mdss { + status =3D "okay"; +}; + +&mpss_mem { + reg =3D <0x0 0x86800000 0x0 0x5600000>; +}; + +&pm8916_l6 { + regulator-always-on; +}; + +&pm8916_pwm { + pinctrl-0 =3D <&pwm_out>; + pinctrl-names =3D "default"; + status =3D "okay"; +}; + +&pm8916_resin { + linux,code =3D ; + status =3D "okay"; +}; + +&pm8916_rpm_regulators { + pm8916_l17: l17 { + regulator-min-microvolt =3D <2850000>; + regulator-max-microvolt =3D <2850000>; + regulator-always-on; + }; +}; + +&pm8916_vib { + status =3D "okay"; +}; + +&sdhc_1 { + status =3D "okay"; +}; + +&sdhc_2 { + pinctrl-0 =3D <&sdc2_default>, <&sdc2_cd_default>; + pinctrl-1 =3D <&sdc2_sleep>, <&sdc2_cd_default>; + pinctrl-names =3D "default", "sleep"; + cd-gpios =3D <&tlmm 38 GPIO_ACTIVE_HIGH>; + status =3D "okay"; +}; + +&sound { + audio-routing =3D + "AMIC1", "MIC BIAS Internal1", + "AMIC2", "MIC BIAS Internal2", + "AMIC3", "MIC BIAS Internal1"; +}; + +&usb { + extcon =3D <&usb_id>, <&usb_id>; + status =3D "okay"; +}; + +&usb_hs_phy { + extcon =3D <&usb_id>; +}; + +&venus { + status =3D "okay"; +}; + +&venus_mem { + status =3D "okay"; +}; + +&wcnss { + status =3D "okay"; +}; + +&wcnss_iris { + compatible =3D "qcom,wcn3620"; +}; + +&wcnss_mem { + status =3D "okay"; +}; + +&tlmm { + button_backlight_default: button-backlight-default-state { + pins =3D "gpio119"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; + + button_backlight_off: button-backlight-off-state { + pins =3D "gpio119"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + output-low; + }; + + gpio_keys_default: gpio-keys-default-state { + pins =3D "gpio107"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-up; + }; + + gpio_hall_sensor_default: gpio-hall-sensor-default-state { + pins =3D "gpio117"; + function =3D "gpio"; + drive-strength =3D <6>; + bias-pull-up; + }; + + imu_int_default: imu-int-default-state { + pins =3D "gpio115"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; + + imu_int_suspend: imu-int-suspend-state { + pins =3D "gpio115"; + function =3D "gpio"; + drive-strength =3D <2>; + }; + + mag_reset_default: mag-reset-default-state { + pins =3D "gpio120"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; + + mag_reset_suspend: mag-reset-suspend-state { + pins =3D "gpio120"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-down; + }; + + proximity_int_default: proximity-int-default-state { + pins =3D "gpio113"; + function =3D "gpio"; + drive-strength =3D <6>; + bias-pull-up; + }; + + proximity_int_suspend: proximity-int-suspend-state { + pins =3D "gpio113"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-down; + }; + + sdc2_cd_default: sdc2-cd-default-state { + pins =3D "gpio38"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; + + touchscreen_default: touchscreen-default-state { + touchscreen-pins { + pins =3D "gpio13"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-up; + }; + + reset-pins { + pins =3D "gpio12"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; + }; + + touchscreen_suspend: touchscreen-suspend-state { + touchscreen-pins { + pins =3D "gpio13"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-down; + }; + + reset-pins { + pins =3D "gpio12"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-down; + }; + }; + + usb_id_default: usb-id-default-state { + pins =3D "gpio110"; + function =3D "gpio"; + drive-strength =3D <8>; + bias-pull-up; + }; +}; + +&pm8916_codec { + qcom,hphl-jack-type-normally-open; +}; + +&pm8916_mpps { + pwm_out: mpp4-state { + pins =3D "mpp4"; + function =3D "digital"; + power-source =3D ; + output-low; + qcom,dtest =3D <1>; + }; +}; --=20 2.52.0