[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250715040215.GA20887-robh@kernel.org>
Date: Mon, 14 Jul 2025 23:02:15 -0500
From: Rob Herring <robh@...nel.org>
To: Jérôme de Bretagne <jerome.debretagne@...il.com>
Cc: Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>,
Dale Whinham <daleyo@...il.com>,
Johannes Berg <johannes@...solutions.net>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Jeff Johnson <jjohnson@...nel.org>,
Jeff Johnson <jeff.johnson@....qualcomm.com>,
linux-wireless@...r.kernel.org, devicetree@...r.kernel.org,
ath12k@...ts.infradead.org, linux-kernel@...r.kernel.org,
Lingbo Kong <quic_lingbok@...cinc.com>
Subject: Re: [PATCH 7/9 RFC] dt-bindings: wireless: ath12k: Add
disable-rfkill property
On Tue, Jul 15, 2025 at 01:26:48AM +0200, Jérôme de Bretagne wrote:
> On Mon. Jul 15, 2025 at 00:33, Dmitry Baryshkov
> <dmitry.baryshkov@....qualcomm.com> wrote :
> >
> > On Mon, Jul 14, 2025 at 06:35:43PM +0100, Dale Whinham wrote:
> > > From: Jérôme de Bretagne <jerome.debretagne@...il.com>
> > >
> > > Document the disable-rfkill property.
> >
> > Why? What does it mean? Why are you describing Linux driver firmware in
> > the DT?
>
> rfkill should be disabled according to the Surface Pro 11's DSDT.
>
> https://lore.kernel.org/all/20250113074810.29729-3-quic_lingbok@quicinc.com/
> has added support to read the ACPI bitflag when ACPI is supported.
>
> The idea was to expose one specific feature (DISABLE_RFKILL_BIT) for
> devices described with a DT, so that the feature can be disabled.
The commit msg should answer all this. That was the purpose of the
questions.
Assuming it belongs in DT, why is this ath12k specific? Could be for any
wireless chip...
> > > Signed-off-by: Jérôme de Bretagne <jerome.debretagne@...il.com>
> > > Signed-off-by: Dale Whinham <daleyo@...il.com>
> > > ---
> > > .../devicetree/bindings/net/wireless/qcom,ath12k.yaml | 3 +++
> > > 1 file changed, 3 insertions(+)
> > >
> > > diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath12k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath12k.yaml
> > > index 9e557cb838c7..f15b630fb034 100644
> > > --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath12k.yaml
> > > +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath12k.yaml
> > > @@ -48,6 +48,9 @@ properties:
> > > vddpcie1p8-supply:
> > > description: VDD_PCIE_1P8 supply regulator handle
> > >
> > > + disable-rfkill:
> > > + type: boolean
> > > +
> > > required:
> > > - compatible
> > > - reg
> > > --
> > > 2.50.1
> > >
> >
> > --
> > With best wishes
> > Dmitry
Powered by blists - more mailing lists