From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Gabriel Gonzales <semfault@disroot.org>
Cc: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Kees Cook <kees@kernel.org>,
Tony Luck <tony.luck@intel.com>,
"Guilherme G. Piccoli" <gpiccoli@igalia.com>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org
Subject: Re: [PATCH v2 2/2] arm64: dts: qcom: sm6125: Initial support for xiaomi-ginkgo
Date: Sat, 8 Mar 2025 16:11:24 +0100 [thread overview]
Message-ID: <0bcdb8f9-9a3b-4d6b-bf7e-55a22ffc5df9@oss.qualcomm.com> (raw)
In-Reply-To: <20250308013019.10321-3-semfault@disroot.org>
On 8.03.2025 2:30 AM, Gabriel Gonzales wrote:
> Add support for the Xiaomi Redmi Note 8 based on the SM6125 SoC.
>
> Defined features:
> - dmesg output to bootloader preconfigured display
> - USB
> - eMMC
> - SD card
> - SMD RPM regulators
> - Volume Up, Down and Power buttons
>
> Signed-off-by: Gabriel Gonzales <semfault@disroot.org>
> ---
> arch/arm64/boot/dts/qcom/Makefile | 1 +
> .../boot/dts/qcom/sm6125-xiaomi-ginkgo.dts | 294 ++++++++++++++++++
> 2 files changed, 295 insertions(+)
> create mode 100644 arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo.dts
>
> diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
> index 140b0b2ab..4d7d54f69 100644
> --- a/arch/arm64/boot/dts/qcom/Makefile
> +++ b/arch/arm64/boot/dts/qcom/Makefile
> @@ -246,6 +246,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sm4450-qrd.dtb
> dtb-$(CONFIG_ARCH_QCOM) += sm6115-fxtec-pro1x.dtb
> dtb-$(CONFIG_ARCH_QCOM) += sm6115p-lenovo-j606f.dtb
> dtb-$(CONFIG_ARCH_QCOM) += sm6125-sony-xperia-seine-pdx201.dtb
> +dtb-$(CONFIG_ARCH_QCOM) += sm6125-xiaomi-ginkgo.dtb
> dtb-$(CONFIG_ARCH_QCOM) += sm6125-xiaomi-laurel-sprout.dtb
> dtb-$(CONFIG_ARCH_QCOM) += sm6350-sony-xperia-lena-pdx213.dtb
> dtb-$(CONFIG_ARCH_QCOM) += sm6375-sony-xperia-murray-pdx225.dtb
> diff --git a/arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo.dts b/arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo.dts
> new file mode 100644
> index 000000000..c4677cffa
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/sm6125-xiaomi-ginkgo.dts
> @@ -0,0 +1,294 @@
> +// SPDX-License-Identifier: BSD-3-Clause
> +/*
> + * Copyright (c) 2025, Gabriel Gonzales <semfault@disroot.org>
> + */
> +
> +/dts-v1/;
> +
> +#include <dt-bindings/gpio/gpio.h>
> +#include <dt-bindings/input/input.h>
> +#include <dt-bindings/input/gpio-keys.h>
> +#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
> +#include "sm6125.dtsi"
> +#include "pm6125.dtsi"
> +
> +/ {
> + /* required for bootloader to select correct board */
> + qcom,msm-id = <394 0>; /* sm6125 v1 */
#include <dt-bindings/arm/qcom,ids.h>
QCOM_ID_SM6125 and drop the comment
> + qcom,board-id = <22 0>;
[...]
> +&hsusb_phy1 {
> + vdd-supply = <&vreg_l7a>;
> + vdda-pll-supply = <&vreg_l10a>;
> + vdda-phy-dpdm-supply = <&vreg_l15a>;
> + status = "okay";
Please add a before 'status', file-wide
[...]
> +&tlmm {
> + gpio-reserved-ranges = <22 2>, <28 6>;
Would you happen to know what's on the other end of these?
Konrad
next prev parent reply other threads:[~2025-03-08 15:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20250304043742.9252-1-semfault@disroot.org>
2025-03-04 4:37 ` [PATCH v1 2/2] arm64: dts: qcom: sm6125: Initial support for xiaomi-ginkgo Gabriel Gonzales
2025-03-08 1:30 ` [PATCH v2 0/2] Add Xiaomi Redmi Note 8 support Gabriel Gonzales
2025-03-08 1:30 ` [PATCH v2 1/2] dt-bindings: arm: qcom: Add Xiaomi Redmi Note 8 Gabriel Gonzales
2025-03-10 9:46 ` Krzysztof Kozlowski
2025-03-08 1:30 ` [PATCH v2 2/2] arm64: dts: qcom: sm6125: Initial support for xiaomi-ginkgo Gabriel Gonzales
2025-03-08 15:11 ` Konrad Dybcio [this message]
2025-03-10 23:28 ` Gabriel Gonzales
2025-03-10 23:37 ` Konrad Dybcio
2025-03-11 0:18 ` Gabriel Gonzales
2025-03-10 14:36 ` [PATCH v2 0/2] Add Xiaomi Redmi Note 8 support Rob Herring (Arm)
[not found] ` <20250311003353.8250-1-semfault@disroot.org>
2025-03-11 0:33 ` [PATCH v3 2/2] arm64: dts: qcom: sm6125: Initial support for xiaomi-ginkgo Gabriel Gonzales
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=0bcdb8f9-9a3b-4d6b-bf7e-55a22ffc5df9@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gpiccoli@igalia.com \
--cc=kees@kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=semfault@disroot.org \
--cc=tony.luck@intel.com \
/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