Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp877086ybj; Tue, 5 May 2020 08:58:05 -0700 (PDT) X-Google-Smtp-Source: APiQypJelfDKz2b06a6w+zcTbAU4rmDjzR2vGpS35GrNWHLHt08e2EW4LZ8TOkOmXc4BXJuHIrtj X-Received: by 2002:a17:906:398:: with SMTP id b24mr1624924eja.356.1588694285103; Tue, 05 May 2020 08:58:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588694285; cv=none; d=google.com; s=arc-20160816; b=GOzGHA1k6yyKn3N+3THU21gr4TSknLrxcIJ6df6yretlT02c9aoAfyJ0+yQGwKCNTm O9MrGsUcvWGFR7nDhklEhpHSuBW1VRIsfx1BIUaShGTExFJsxBKAS/IESjy5UvorJppR +NLPqYhK2cXew4jmCaNfFSmKBQ4hsybtvwy0RoJmCoBhPqm2W4GM0eCRXgPaPMgd7l6g OgHOi82ZcdGR5wG1RDKTtgk76lJYeErC3RvvSwGgaxfTa3TJUqRLeNrBpKr2vvW189ij qJvoDvKcGTfTDwxc8NdHsoUdY+1MOIfcfcruv4I1YVHvf+vhahNffgoaoPc24mLDf6z8 oANA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=2kiU15T4JIvVcoMlu+le17FQfvQThvbLdJjc19jX2Pk=; b=YhX77R+mQL4eKeY1y1DGE3jUBAWck2tRdPtaWu7z2I16rTMha6SBtBer288XL926TY Dg1xdNoGRJ+l/IXEV+58UVwl3kv4/3lfV/yutWvWYPZ1qGuTIVid0hK+rB6nmUwWQGiI vEFIdN6PMJ1YjGpvUOe1XiKFK47aDzMtD06arvkTdbWIYz7Ixm3uKi15zeK4kGMJ4WxN jeNAVPIOIlIix76ZC/xKOHQ4V4i7lxDLBTryfHvyB+mxUi6B2lWMjIQXtShuUdULPUQY 4kGUNvZ2qwWD3upjkDYiT8D0rMBZT2g6z9B0Ss6UNLftjkWtLrL1wmyDzFjiA/hZj2Vc ccuA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y8si1387238edw.356.2020.05.05.08.57.42; Tue, 05 May 2020 08:58:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729786AbgEEP4O (ORCPT + 99 others); Tue, 5 May 2020 11:56:14 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:36708 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729377AbgEEP4O (ORCPT ); Tue, 5 May 2020 11:56:14 -0400 Received: by mail-oi1-f194.google.com with SMTP id s202so2396940oih.3; Tue, 05 May 2020 08:56:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=2kiU15T4JIvVcoMlu+le17FQfvQThvbLdJjc19jX2Pk=; b=HGwJTRVOuiqnIm1d0nhGkCIXB+Coi+shEvzBLxwyPbziapsCbQ+5UIs6SpAMl29MOC KYfNvZcWXXzxyUwlbGNfRKxK0VDQbk/7ixiv/NfCQ9eMud+WhnPuZ9wMWVdt5oiykjSw rlYJeWwpurCdUhBGEHpjWiGZmBzKabVTOMBuY9MrED1pmh1fgAt7AJhwUQr1rUG83p3p Yxz2/y0XcTkIirDr1l52ie7MMnqUIXeapj2bNETqqbfxvC39DbGDTr3QTUOwl3C5AEC/ VlUGYt0FmzHN02WQyJIiP6cYuqqeNu8HpABEEY6/2TxOfmYlULIwyGkdq7FT2rxv9U1y 8vow== X-Gm-Message-State: AGi0PuY1LloqqLUJsEtnBxuaQLYnKzGYvco6xRBLW3/pnPT3yltp7Nad TqQzbpD/gNphuEdhuosHZw== X-Received: by 2002:aca:1904:: with SMTP id l4mr3005182oii.106.1588694173239; Tue, 05 May 2020 08:56:13 -0700 (PDT) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id 85sm653166oie.17.2020.05.05.08.56.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 May 2020 08:56:12 -0700 (PDT) Received: (nullmailer pid 28089 invoked by uid 1000); Tue, 05 May 2020 15:56:11 -0000 Date: Tue, 5 May 2020 10:56:11 -0500 From: Rob Herring To: Alim Akhtar Cc: devicetree@vger.kernel.org, linux-scsi@vger.kernel.org, krzk@kernel.org, avri.altman@wdc.com, martin.petersen@oracle.com, kwmad.kim@samsung.com, stanley.chu@mediatek.com, cang@codeaurora.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v7 06/10] dt-bindings: phy: Document Samsung UFS PHY bindings Message-ID: <20200505155611.GA23690@bogus> References: <20200426173024.63069-1-alim.akhtar@samsung.com> <20200426173024.63069-7-alim.akhtar@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200426173024.63069-7-alim.akhtar@samsung.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 26, 2020 at 11:00:20PM +0530, Alim Akhtar wrote: > This patch documents Samsung UFS PHY device tree bindings > > Signed-off-by: Alim Akhtar > Tested-by: Paweł Chmiel > --- > .../bindings/phy/samsung,ufs-phy.yaml | 74 +++++++++++++++++++ > 1 file changed, 74 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml > > diff --git a/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml b/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml > new file mode 100644 > index 000000000000..352d5dda320d > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/samsung,ufs-phy.yaml > @@ -0,0 +1,74 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/phy/samsung,ufs-phy.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Samsung SoC series UFS PHY Device Tree Bindings > + > +maintainers: > + - Alim Akhtar > + > +properties: > + "#phy-cells": > + const: 0 > + > + compatible: > + enum: > + - samsung,exynos7-ufs-phy > + > + reg: > + maxItems: 1 > + description: PHY base register address Can drop the description. Doesn't add anything special. > + > + reg-names: > + items: > + - const: phy-pma > + > + clocks: > + items: > + - description: PLL reference clock > + - description: symbol clock for input symbol ( rx0-ch0 symbol clock) > + - description: symbol clock for input symbol ( rx1-ch1 symbol clock) > + - description: symbol clock for output symbol ( tx0 symbol clock) > + > + clock-names: > + items: > + - const: ref_clk > + - const: rx1_symbol_clk > + - const: rx0_symbol_clk > + - const: tx0_symbol_clk > + > + samsung,pmu-syscon: > + $ref: '/schemas/types.yaml#/definitions/phandle' > + description: phandle for PMU system controller interface, used to > + control pmu registers bits for ufs m-phy > + > +required: > + - "#phy-cells" > + - compatible > + - reg > + - reg-names > + - clocks > + - clock-names > + - samsung,pmu-syscon Add: additionalProperties: false With that, Reviewed-by: Rob Herring > + > +examples: > + - | > + #include > + > + ufs_phy: ufs-phy@15571800 { > + compatible = "samsung,exynos7-ufs-phy"; > + reg = <0x15571800 0x240>; > + reg-names = "phy-pma"; > + samsung,pmu-syscon = <&pmu_system_controller>; > + #phy-cells = <0>; > + clocks = <&clock_fsys1 SCLK_COMBO_PHY_EMBEDDED_26M>, > + <&clock_fsys1 PHYCLK_UFS20_RX1_SYMBOL_USER>, > + <&clock_fsys1 PHYCLK_UFS20_RX0_SYMBOL_USER>, > + <&clock_fsys1 PHYCLK_UFS20_TX0_SYMBOL_USER>; > + clock-names = "ref_clk", "rx1_symbol_clk", > + "rx0_symbol_clk", "tx0_symbol_clk"; > + > + }; > +... > -- > 2.17.1 >