From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: Rayyan Ansari <rayyan@ansari.sh>, linux-arm-msm@vger.kernel.org
Cc: ~postmarketos/upstreaming@lists.sr.ht,
Dominik Kobinski <dominikkobinski314@gmail.com>,
Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>,
Jack Matthews <jm5112356@gmail.com>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
devicetree@vger.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
linux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>
Subject: Re: [PATCH 2/7] ARM: dts: qcom: add common device tree for MSM8x26-based Lumia phones
Date: Sat, 12 Aug 2023 01:02:17 +0200 [thread overview]
Message-ID: <5077fd56-c1af-4b1b-be4c-8a7396824e94@linaro.org> (raw)
In-Reply-To: <20230811213728.23726-3-rayyan@ansari.sh>
On 11.08.2023 23:35, Rayyan Ansari wrote:
> Add a common device tree for Lumias based on the Qualcomm MSM8x26
> family of chipsets.
>
> Currently supports:
> - Framebuffer
> - Touchscreen
> - Keys
> - Regulators
> - MMC
> - USB
> - UART
>
> Co-authored-by: Dominik Kobinski <dominikkobinski314@gmail.com>
> Co-authored-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
> Co-authored-by: Jack Matthews <jm5112356@gmail.com>
> Signed-off-by: Dominik Kobinski <dominikkobinski314@gmail.com>
> Signed-off-by: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
> Signed-off-by: Jack Matthews <jm5112356@gmail.com>
> Signed-off-by: Rayyan Ansari <rayyan@ansari.sh>
> ---
Would be really nice if you could squash it with patch 3 so that
this code is immediately compilable.
[...]
> + gpio_keys: gpio-keys {
> + compatible = "gpio-keys";
> +
> + pinctrl-names = "default";
> + pinctrl-0 = <&gpio_keys_active>;
property-n
property-names
[...]
> + reserved-memory {
> + ranges;
That's already there in soc dtsi
> +
> + smem_region: smem@fa00000 {
Swap the subnodes to keep the nodes ordered by unit address
> + reg = <0xfa00000 0x100000>;
> + no-map;
> + };
> +
> + display_reserved: framebuffer@3200000 {
> + reg = <0x3200000 0x800000>;
> + no-map;
> + };
> + };
> +};
> +
> +&blsp1_i2c5 {
> + status = "okay";
> +
> + touchscreen@4b {
> + compatible = "syna,rmi4-i2c";
> + reg = <0x4b>;
> +
> + interrupts-extended = <&tlmm 17 IRQ_TYPE_EDGE_FALLING>;
> + vdd-supply = <&pm8226_l15>;
> + vio-supply = <&pm8226_l6>;
> +
> + pinctrl-names = "default";
> + pinctrl-0 = <&touchscreen_on>;
ditto
> +
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + rmi4-f01@1 {
> + reg = <0x01>;
> + syna,nosleep-mode = <1>;
> + };
> +
> + rmi4-f11@11 {
> + reg = <0x11>;
> + syna,sensor-type = <1>;
> + };
> + };
> +};
[...]
> +
> +&tlmm {
> + gpio_keys_active: gpio-keys-active {
Run `make CHECK_DTBS=1 qcom/msm8226-something-lumia` and fix the warnings
before Krzysztof gets angry :D
Konrad
next prev parent reply other threads:[~2023-08-11 23:06 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-11 21:35 [PATCH 0/7] Initial support for MSM8x26 Lumias Rayyan Ansari
2023-08-11 21:35 ` [PATCH 1/7] dt-bindings: arm: qcom: Document MSM8x26-based Lumia phones Rayyan Ansari
2023-08-11 22:58 ` Konrad Dybcio
2023-08-12 11:50 ` Rayyan Ansari
2023-08-13 9:47 ` Conor Dooley
2023-08-11 21:35 ` [PATCH 2/7] ARM: dts: qcom: add common device tree for " Rayyan Ansari
2023-08-11 23:02 ` Konrad Dybcio [this message]
2023-08-11 21:35 ` [PATCH 3/7] ARM: dts: qcom: add device tree for Nokia Lumia 630 Rayyan Ansari
2023-08-11 23:03 ` Konrad Dybcio
2023-08-11 21:35 ` [PATCH 4/7] ARM: dts: qcom: add device tree for Microsoft Lumia 640 Rayyan Ansari
2023-08-11 23:03 ` Konrad Dybcio
2023-08-11 21:35 ` [PATCH 5/7] ARM: dts: qcom: add device tree for Microsoft Lumia 640 XL Rayyan Ansari
2023-08-11 23:03 ` Konrad Dybcio
2023-08-11 21:35 ` [PATCH 6/7] ARM: dts: qcom: add device tree for Nokia Lumia 735 Rayyan Ansari
2023-08-11 23:04 ` Konrad Dybcio
2023-08-11 21:35 ` [PATCH 7/7] ARM: dts: qcom: add device tree for Nokia Lumia 830 Rayyan Ansari
2023-08-11 23:04 ` Konrad Dybcio
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=5077fd56-c1af-4b1b-be4c-8a7396824e94@linaro.org \
--to=konrad.dybcio@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dominikkobinski314@gmail.com \
--cc=ivo.ivanov.ivanov1@gmail.com \
--cc=jm5112356@gmail.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rayyan@ansari.sh \
--cc=robh+dt@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;
as well as URLs for NNTP newsgroup(s).