From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932973AbcFHU3F (ORCPT ); Wed, 8 Jun 2016 16:29:05 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:34473 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932233AbcFHU3C (ORCPT ); Wed, 8 Jun 2016 16:29:02 -0400 Date: Wed, 8 Jun 2016 15:29:00 -0500 From: Rob Herring To: Shawn Lin Cc: Kishon Vijay Abraham I , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Heiko Stuebner , Doug Anderson , Wenrui Li , devicetree@vger.kernel.org Subject: Re: [PATCH 1/2] Documentation: bindings: add dt documentation for Rockchip PCIe PHY Message-ID: <20160608202900.GA25662@rob-hp-laptop> References: <1465370708-23619-1-git-send-email-shawn.lin@rock-chips.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1465370708-23619-1-git-send-email-shawn.lin@rock-chips.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org gOn Wed, Jun 08, 2016 at 03:25:08PM +0800, Shawn Lin wrote: > This patch adds a binding that describes the Rockchip PCIe PHY > found on Rockchip SoCs PCIe interface. > > Signed-off-by: Shawn Lin > --- > > .../devicetree/bindings/phy/rockchip-pcie-phy.txt | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/rockchip-pcie-phy.txt > > diff --git a/Documentation/devicetree/bindings/phy/rockchip-pcie-phy.txt b/Documentation/devicetree/bindings/phy/rockchip-pcie-phy.txt > new file mode 100644 > index 0000000..ba8c406 > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/rockchip-pcie-phy.txt > @@ -0,0 +1,22 @@ > +Rockchip PCIE PHY > +----------------------- > + > +Required properties: > + - compatible: rockchip,rk3399-pcie-phy > + - #phy-cells: must be 0 > + > +Example: > + > +grf: syscon@ff770000 { > + compatible = "rockchip,rk3399-grf", "syscon", "simple-mfd"; > + #address-cells = <1>; > + #size-cells = <1>; > + > + ... > + > + pcie_phy: phy@e220 { unit-address needs a reg property or drop the unit address. I'd do the former if there's a register range you can describe here. > + compatible = "rockchip,rk3399-pcie-phy"; > + #phy-cells = <0>; > + }; > +}; > + > -- > 2.3.7 > >