[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210413151013.GA1683364@robh.at.kernel.org>
Date: Tue, 13 Apr 2021 10:10:13 -0500
From: Rob Herring <robh@...nel.org>
To: bpeled@...vell.com
Cc: thomas.petazzoni@...tlin.com, lorenzo.pieralisi@....com,
bhelgaas@...gle.com, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
linux-pci@...r.kernel.org, sebastian.hesselbarth@...il.com,
gregory.clement@...tlin.com, andrew@...n.ch, mw@...ihalf.com,
jaz@...ihalf.com, kostap@...vell.com, nadavh@...vell.com,
stefanc@...vell.com, oferh@...vell.com
Subject: Re: [”PATCH” 3/5] dt-bindings: pci: add system controller and MAC
reset bit to Armada 7K/8K controller bindings
On Mon, Apr 12, 2021 at 06:30:54PM +0300, bpeled@...vell.com wrote:
> From: Ben Peled <bpeled@...vell.com>
>
> Adding optional system-controller and mac-reset-bit-mask
> needed for linkdown procedure.
>
> Signed-off-by: Ben Peled <bpeled@...vell.com>
> ---
> Documentation/devicetree/bindings/pci/pci-armada8k.txt | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/pci/pci-armada8k.txt b/Documentation/devicetree/bindings/pci/pci-armada8k.txt
> index 7a813d0..2696e79 100644
> --- a/Documentation/devicetree/bindings/pci/pci-armada8k.txt
> +++ b/Documentation/devicetree/bindings/pci/pci-armada8k.txt
> @@ -24,6 +24,10 @@ Optional properties:
> - phy-names: names of the PHYs corresponding to the number of lanes.
> Must be "cp0-pcie0-x4-lane0-phy", "cp0-pcie0-x4-lane1-phy" for
> 2 PHYs.
> +- marvell,system-controller: address of system controller needed
> + in order to reset MAC used by link-down handle
> +- marvell,mac-reset-bit-mask: MAC reset bit of system controller
> + needed in order to reset MAC used by link-down handle
Seems like this should use the reset controller binding instead.
If not, this can be a single property with a phandle plus arg.
Rob
Powered by blists - more mailing lists