From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Aleksandrs Vinarskis <alex.vinarskis@gmail.com>,
Bjorn Andersson <andersson@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Dmitry Baryshkov <lumag@kernel.org>,
Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Abel Vesa <abel.vesa@linaro.org>,
Johan Hovold <johan+linaro@kernel.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org
Cc: Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Heikki Krogerus <heikki.krogerus@linux.intel.com>
Subject: Re: [PATCH v1 6/6] arm64: dts: qcom: Add support for X1-based Asus Zenbook A14
Date: Tue, 1 Apr 2025 17:59:44 +0200 [thread overview]
Message-ID: <ef783edb-c966-4ef7-b496-564420c1b852@oss.qualcomm.com> (raw)
In-Reply-To: <20250331215720.19692-7-alex.vinarskis@gmail.com>
On 3/31/25 11:53 PM, Aleksandrs Vinarskis wrote:
> Initial support for Asus Zenbook A14. Particular moddel exists
> in X1-26-100, X1P-42-100 (UX3407QA) and X1E-78-100 (UX3407RA).
>
> Mostly similar to other X1-based laptops. Notable differences are:
> * Wifi/Bluetooth combo being Qualcomm FastConnect 6900 on UX3407QA
> and Qualcomm FastConnect 7800 on UX3407RA
> * USB Type-C retimers are Parade PS8833, appear to behave identical
> to Parade PS8830
> * gpio90 is TZ protected
[...]
> + leds {
> + compatible = "gpio-leds";
> +
> + pinctrl-names = "default";
> + pinctrl-0 = <&cam_indicator_en>;
property-n
property-names
please, we're trying to unify such small things even though we know
it's "wrong" in a lot of places
> +
> +&i2c0 {
> + clock-frequency = <400000>;
> + status = "okay";
> +
> + /* ELAN, 04F3:3315 */
> + touchpad@15 {
> + compatible = "hid-over-i2c";
> + reg = <0x15>;
> +
> + hid-descr-addr = <0x1>;
> + interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>;
> +
> + pinctrl-0 = <&tpad_default>;
> + pinctrl-names = "default";
> +
> + wakeup-source;
> + };
> +};
> +
> +&i2c3 {
> + clock-frequency = <400000>;
> + status = "okay";
It's also customary to leave a newline before 'status'
> +&pm8550_gpios {
> + rtmr0_default: rtmr0-reset-n-active-state {
> + pins = "gpio10";
> + function = "normal";
> + power-source = <1>; /* 1.8V */
Drop the 1.8v comments please
[...]
> +&spi10 {
> + status = "disabled";
> +
> + /* Unknown device */
> +};
Does the device crash if you enable this bus? Keeping it 'okay' would
make it easier for folks to poke at it
> +
> +&tlmm {
> + gpio-reserved-ranges = <44 4>, /* SPI11, TZ Protected */
> + <90 1>; /* Unknown, TZ Protected */
> +
> + bt_en_default: bt-en-sleep {
> + pins = "gpio116";
> + function = "gpio";
> + output-low;
> + bias-disable;
> + qcom,drive-strength = <16>;
drop "qcom," and please keep the order of:
pins
function
drive-strength
bias
output/input
as you did below
> +
> +/ {
> + model = "ASUS Zenbook A14 UX3407RA";
There's no strict policy, but variants usually go in braces
> + compatible = "asus,x1e80100-zenbook-a14", "qcom,x1e80100";
> +};
> +
> +&gpu_zap_shader {
> + firmware-name = "qcom/x1e80100/ASUSTeK/zenbook-a14/qcdxkmsuc8380.mbn";
> +};
> +
> +&remoteproc_adsp {
> + firmware-name = "qcom/x1e80100/ASUSTeK/zenbook-a14/qcadsp8380.mbn",
> + "qcom/x1e80100/ASUSTeK/zenbook-a14/adsp_dtbs.elf";
> +
> + status = "okay";
> +};
> +
> +&remoteproc_cdsp {
> + firmware-name = "qcom/x1e80100/ASUSTeK/zenbook-a14/qccdsp8380.mbn",
> + "qcom/x1e80100/ASUSTeK/zenbook-a14/cdsp_dtbs.elf";
> +
> + status = "okay";
> +};
> +
> +&uart14 {
> + status = "okay";
> +
> + bluetooth {
> + compatible = "qcom,wcn7850-bt";
> + pinctrl-names = "default";
> + pinctrl-0 = <&bt_en_default>;
> + enable-gpios = <&tlmm 116 GPIO_ACTIVE_HIGH>;
> + max-speed = <3000000>;
> + };
> +};
> diff --git a/arch/arm64/boot/dts/qcom/x1p42100-asus-zenbook-a14.dts b/arch/arm64/boot/dts/qcom/x1p42100-asus-zenbook-a14.dts
> new file mode 100644
> index 000000000000..b6c9a707090f
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/x1p42100-asus-zenbook-a14.dts
> @@ -0,0 +1,48 @@
> +// SPDX-License-Identifier: BSD-3-Clause
> +/*
> + * Copyright (c) 2025 Qualcomm Innovation Center, Inc. All rights reserved.
> + * Copyright (c) 2025 Aleksandrs Vinarskis <alex.vinarskis@gmail.com>
> + */
> +
> +/dts-v1/;
> +
> +#include "x1p42100.dtsi"
> +#include "x1-zenbook-a14.dtsi"
> +
> +/delete-node/ &pmc8380_6;
> +/delete-node/ &pmc8380_6_thermal;
> +
> +/ {
> + model = "ASUS Zenbook A14 UX3407QA";
> + compatible = "asus,x1p42100-zenbook-a14", "qcom,x1p42100";
> +};
> +
> +&gpu_zap_shader {
> + firmware-name = "qcom/x1p42100/ASUSTeK/zenbook-a14/qcdxkmsuc8380.mbn";
> +};
This file is not going to work on this SoC, you can drop it
> +
> +&remoteproc_adsp {
> + firmware-name = "qcom/x1p42100/ASUSTeK/zenbook-a14/qcadsp8380.mbn",
> + "qcom/x1p42100/ASUSTeK/zenbook-a14/adsp_dtbs.elf";
> +
> + status = "okay";
> +};
> +
> +&remoteproc_cdsp {
> + firmware-name = "qcom/x1p42100/ASUSTeK/zenbook-a14/qccdsp8380.mbn",
> + "qcom/x1p42100/ASUSTeK/zenbook-a14/cdsp_dtbs.elf";
> +
> + status = "okay";
Are the DSP firmware files actually different between the two?
Konrad
next prev parent reply other threads:[~2025-04-01 15:59 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-31 21:53 [PATCH v1 0/6] X1E Asus Zenbook A14 support Aleksandrs Vinarskis
2025-03-31 21:53 ` [PATCH v1 1/6] arm64: dts: qcom: move pcie6a type change from X1P42100 to X1P42100-crd Aleksandrs Vinarskis
2025-04-01 10:19 ` Konrad Dybcio
2025-04-01 15:28 ` Aleksandrs Vinarskis
2025-03-31 21:53 ` [PATCH v1 2/6] usb: typec: Add Parade PS8833 Type-C Retimer variant Aleksandrs Vinarskis
2025-04-01 5:37 ` Krzysztof Kozlowski
2025-03-31 21:53 ` [PATCH v1 3/6] dt-bindings: usb: Add Parade PS8833 Type-C retimer variant Aleksandrs Vinarskis
2025-04-01 5:36 ` Krzysztof Kozlowski
2025-03-31 21:53 ` [PATCH v1 4/6] dt-bindings: arm: qcom: Add Asus Zenbook A14 Aleksandrs Vinarskis
2025-04-01 5:38 ` Krzysztof Kozlowski
2025-04-01 10:16 ` Aleksandrs Vinarskis
2025-04-01 10:21 ` Konrad Dybcio
2025-04-01 12:56 ` Krzysztof Kozlowski
2025-03-31 21:53 ` [PATCH v1 5/6] firmware: qcom: scm: Allow QSEECOM on " Aleksandrs Vinarskis
2025-03-31 21:53 ` [PATCH v1 6/6] arm64: dts: qcom: Add support for X1-based " Aleksandrs Vinarskis
2025-04-01 15:59 ` Konrad Dybcio [this message]
2025-04-01 18:05 ` Aleksandrs Vinarskis
2025-04-01 21:15 ` Konrad Dybcio
2025-04-01 21:50 ` Aleksandrs Vinarskis
2025-04-02 6:30 ` Maud Spierings
2025-04-02 8:36 ` Aleksandrs Vinarskis
2025-04-03 0:06 ` Aleksandrs Vinarskis
2025-04-01 0:52 ` [PATCH v1 0/6] X1E Asus Zenbook A14 support Rob Herring (Arm)
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=ef783edb-c966-4ef7-b496-564420c1b852@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=abel.vesa@linaro.org \
--cc=alex.vinarskis@gmail.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=heikki.krogerus@linux.intel.com \
--cc=johan+linaro@kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=lumag@kernel.org \
--cc=robh@kernel.org \
/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®