From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: adamp@posteo.de, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>
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
Subject: Re: [PATCH v2 3/3] arm64: dts: qcom: msm8916-wiko-chuppito: add initial devicetree
Date: Mon, 23 Feb 2026 10:07:33 +0100 [thread overview]
Message-ID: <5d3efb0d-96a7-4ce7-9622-88152715656f@oss.qualcomm.com> (raw)
In-Reply-To: <20260221-wiko-chuppito-v2-3-6336b1b12389@posteo.de>
On 2/21/26 9:55 PM, Paul Adam via B4 Relay wrote:
> From: Paul Adam <adamp@posteo.de>
>
> 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 <adamp@posteo.de>
> ---
[...]
> + backlight: backlight {
> + compatible = "pwm-backlight";
> + pwms = <&pm8916_pwm 0 100000>;
> + brightness-levels = <0 255>;
> + num-interpolated-steps = <255>;
> + default-brightness-level = <255>;
> + enable-gpios = <&tlmm 119 GPIO_ACTIVE_HIGH>;
> + pinctrl-0 = <&button_backlight_default>;
> + pinctrl-1 = <&button_backlight_off>;
> + pinctrl-names = "default", "off";
"off" seems unused, this should be "suspend", however the difference
between the two states is already handled by the enable-gpio in the
driver, so you can omit the second state
[...]
> + };
> +
> + keys {
> + compatible = "gpio-keys";
> + pinctrl-0 = <&keys_default>;
> + pinctrl-names = "default";
> + label = "GPIO Buttons";
Sorry for not being clear, I was okay with the gpio- prefix in the node
name, but I intended to ask to remove it from the label..
> +
> + button-volume-up {
> + label = "Volume up";
> + gpios = <&tlmm 107 GPIO_ACTIVE_LOW>;
> + linux,code = <KEY_VOLUMEUP>;
> + };
> + };
> +
> + hall-sensor {
> + compatible = "gpio-keys";
> + pinctrl-0 = <&hall_sensor_default>;
> + pinctrl-names = "default";
> + label = "GPIO Hall Effect Sensor";
> +
> + event-hall-sensor {
> + label = "Hall Effect Sensor";
> + gpios = <&tlmm 117 GPIO_ACTIVE_LOW>;
> + linux,input-type = <EV_SW>;
> + linux,code = <SW_LID>;
> + linux,can-disable;
> + };
[...]
> +&pm8916_pwm {
> + pinctrl-0 = <&pwm_out>;
> + pinctrl-names = "default";
> + status = "okay";
> +};
> +
> +&pm8916_resin {
> + linux,code = <KEY_VOLUMEDOWN>;
> + status = "okay";
Please add a \n before status in nodes where there's more than just
that property
[...]
> +&tlmm {
> + button_backlight_default: button-backlight-default-state {
> + pins = "gpio119";
> + function = "gpio";
> + drive-strength = <2>;
> + bias-disable;
> + };
> +
> + button_backlight_off: button-backlight-off-state {
> + pins = "gpio119";
> + function = "gpio";
> + drive-strength = <2>;
> + bias-disable;
> + output-low;
> + };
This can now be removed (it had incorrect indent anyway)
Konrad
next prev parent reply other threads:[~2026-02-23 9:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-21 20:55 [PATCH v2 0/3] Add wiko-chuppito devictree Paul Adam via B4 Relay
2026-02-21 20:55 ` [PATCH v2 1/3] dt-bindings: vendor-prefixes: add WIKO SAS Paul Adam via B4 Relay
2026-02-23 10:25 ` Krzysztof Kozlowski
2026-02-24 14:26 ` Paul Adam
2026-02-24 14:30 ` Krzysztof Kozlowski
2026-02-24 14:30 ` Krzysztof Kozlowski
2026-02-21 20:55 ` [PATCH v2 2/3] dt-bindings: arm: qcom: add wiko,chuppito compatible string Paul Adam via B4 Relay
2026-02-23 10:29 ` Krzysztof Kozlowski
2026-02-21 20:55 ` [PATCH v2 3/3] arm64: dts: qcom: msm8916-wiko-chuppito: add initial devicetree Paul Adam via B4 Relay
2026-02-23 9:07 ` Konrad Dybcio [this message]
2026-02-24 3:13 ` Dmitry Baryshkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5d3efb0d-96a7-4ce7-9622-88152715656f@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=adamp@posteo.de \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=phone-devel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®