All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Hovold <johan@kernel.org>
To: Pengyu Luo <mitltlatltl@gmail.com>
Cc: andersson@kernel.org, chenxuecong2009@outlook.com,
	conor+dt@kernel.org, devicetree@vger.kernel.org,
	dmitry.baryshkov@linaro.org, gty0622@gmail.com,
	johan+linaro@kernel.org, konrad.dybcio@oss.qualcomm.com,
	konradybcio@kernel.org, krzk+dt@kernel.org,
	linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
	robh@kernel.org
Subject: Re: [PATCH 3/3] arm64: dts: qcom: sc8280xp: Add Huawei Matebook E Go (sc8280xp)
Date: Wed, 8 Jan 2025 09:49:47 +0100	[thread overview]
Message-ID: <Z348Kzp0L1Howamt@hovoldconsulting.com> (raw)
In-Reply-To: <20241221052626.451989-1-mitltlatltl@gmail.com>

On Sat, Dec 21, 2024 at 01:26:25PM +0800, Pengyu Luo wrote:
> On Sat, Dec 21, 2024 at 12:20 AM Johan Hovold <johan@kernel.org> wrote:
> 
> > On Sat, Dec 14, 2024 at 03:39:27PM +0200, Dmitry Baryshkov wrote:
> > > On Sat, Dec 14, 2024 at 08:23:00PM +0800, Pengyu Luo wrote:
> > 
> > > > >> +
> > > > >> +                /* /lib/firmware/ath11k/WCN6855/hw2.1/board-2.bin
> > > > >> +                 * there is no calibrate data for huawei,
> > > > >> +                 * but they have the same subsystem-device id
> > > > >> +                 */
> > > > >> +                qcom,ath11k-calibration-variant = "LE_X13S";
> > 
> > > > Finally, I found something, after I enabled ath11k boot dbg, I got my
> > > > id_string='bus=pci,vendor=17cb,device=1103,subsystem-vendor=17cb,subsystem-device=0108,qmi-chip-id=2,qmi-board-id=255`
> > > >
> > > > With qca-swiss-army-knife (see [1])
> > > >
> > > > $ ./ath11k-bdencoder -e board-2.bin | grep -i "$id_string"
> > > > bus=pci,vendor=17cb,device=1103,subsystem-vendor=17cb,subsystem-device=0108,qmi-chip-id=2,qmi-board-id=255.bin created size: 60048
> > > >
> > > > It have already been here. So that means I don't need to extract from
> > > > Windows. I just extract it from linux-firmware then give it a variant
> > > > name and send patches to ath11k, right?
> > >
> > > No. Usually 255 is an ID that is used by a variety of boards. So,
> > > basically, you have to extract board data from Windows, add a proper
> > > calibration variant that is specific to your board and then send the
> > > resulting data to the ath11k mailing list.
> > 
> > The board files used by Windows are not compatible with the Linux
> > firmware, so the calibration data needs to come from Qualcomm.
> > 
> 
> Then I don't understand why those bdwlan.* files would be in the
> firmware tree.

Those (Windows) files are supposedly used by the Windows driver
firmware. The Linux firmware cannot consume those directly and Qualcomm
had to provide us a corresponding file for the X13s (which they then
included in board-2.bin and pushed to linux-firmware).

Johan

      reply	other threads:[~2025-01-08  8:49 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-11 15:37 [PATCH 0/3] arm64: dts: qcom: Introduce Huawei Matebook E Go Pengyu Luo
2024-12-11 15:37 ` [PATCH 1/3] dt-bindings: arm: qcom: Document Huawei Matebook E Go (sc8280xp) Pengyu Luo
2024-12-13 11:02   ` Krzysztof Kozlowski
2024-12-11 15:37 ` [PATCH 2/3] firmware: qcom: scm: Allow QSEECOM on " Pengyu Luo
2024-12-11 15:37 ` [PATCH 3/3] arm64: dts: qcom: sc8280xp: Add " Pengyu Luo
2024-12-12 17:13   ` Konrad Dybcio
2024-12-13  8:50     ` Pengyu Luo
2024-12-13 11:04       ` Konrad Dybcio
2024-12-13 12:21         ` Pengyu Luo
2024-12-13 12:27           ` Konrad Dybcio
2024-12-13 12:50             ` Pengyu Luo
2024-12-13 12:57               ` Konrad Dybcio
2024-12-13 13:50                 ` Pengyu Luo
2024-12-13 14:53                   ` Konrad Dybcio
2024-12-14 12:23       ` Pengyu Luo
2024-12-14 13:39         ` Dmitry Baryshkov
2024-12-14 14:48           ` Pengyu Luo
2024-12-14 16:01             ` Dmitry Baryshkov
2024-12-20 16:21           ` Johan Hovold
2024-12-21  5:26             ` Pengyu Luo
2025-01-08  8:49               ` Johan Hovold [this message]

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=Z348Kzp0L1Howamt@hovoldconsulting.com \
    --to=johan@kernel.org \
    --cc=andersson@kernel.org \
    --cc=chenxuecong2009@outlook.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=gty0622@gmail.com \
    --cc=johan+linaro@kernel.org \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mitltlatltl@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.