Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp338706ybz; Tue, 21 Apr 2020 09:59:21 -0700 (PDT) X-Google-Smtp-Source: APiQypLhHKnEK6NvuohDkPi0JS63E7PxaQcoqfDif4vOZ8u2Z1bmJbrRTj8zY8m14VdxEZoBqZdP X-Received: by 2002:a05:6402:6cb:: with SMTP id n11mr10839087edy.210.1587488361056; Tue, 21 Apr 2020 09:59:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587488361; cv=none; d=google.com; s=arc-20160816; b=KjsqbMPV2uG/eC6ktfghgu8L6+AAWblvf4aYHYyiJ5aCM3F28/i9zPfoRoNt0fNRyy Z3WGsq0XSXYSBBkYzRidghKCDdIDLdj88Z6G6Y+BJ5261bBFaO6ANIRhnCcSxbKd2LN2 x7/PU6W4gqR0ZV1V2VkM8uKJSu/gYYRfQMVWSgVqHbwtgN9lo3sfIS1A2L3BTJ3NLaLo +ybIPtigkqLmAbcRJaTyzhD9BWJo3V1R2KpoBmHABgnZPQuiyRMFrXKnEvVa2qORTY+P uLqsNDKCwKrVioZCv7OYWxbuJNJ66YXIB8MCmREcuGDNa8b0B8yhNS9Er0dmMUQ2K+oy fMGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=+roaZY0aQq5IerWYrtAtqtTIyLi3/oukkignYdqQ2gM=; b=ZQZFUZqXDJPtQO2FZhE7b+DltuGrtFmMk2vlMK54yrRNnKH12geSzyFtXRkGxpBZxK /lY9b4GdCZPCM+f+pOKrXgXKF1yyw5vYxcng6uBJuIRxhQKZr5cJpFIk2WypyBjTre83 VrDJNmOSPNJfNvSlZgQba/osrCqg+J7AlUjlwfqTvjqDjiYhc8/XAfbWQMtTVgwz8Ovs LWgTk2/h5HnueeQCr1JhQsekoumWECoOr0etpjdlp88nM9B96NwgCGny+NaM2C2wight VWJqF7iCmG+1nqI5K+T9BYzj7k4QdVtfQCyNQSPaDGjHLhdyz0l+6uwsh201m/tHVC/o eGPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OoQpa52k; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bo10si1773489edb.19.2020.04.21.09.58.57; Tue, 21 Apr 2020 09:59:21 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OoQpa52k; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729635AbgDUQ5C (ORCPT + 99 others); Tue, 21 Apr 2020 12:57:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729626AbgDUQ46 (ORCPT ); Tue, 21 Apr 2020 12:56:58 -0400 Received: from mail-ua1-x943.google.com (mail-ua1-x943.google.com [IPv6:2607:f8b0:4864:20::943]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 941D7C061A41; Tue, 21 Apr 2020 09:56:58 -0700 (PDT) Received: by mail-ua1-x943.google.com with SMTP id v24so5331446uak.0; Tue, 21 Apr 2020 09:56:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+roaZY0aQq5IerWYrtAtqtTIyLi3/oukkignYdqQ2gM=; b=OoQpa52k6Fd4P7opyBenigG8zgeRF6Am+UbnctENdxTHpjt3uX/wsSqtr+hw2usoNW +wzlwcoFKjhAphlxohZZ7wpwF5Qrc9fV8XHooELQipt2XAUOhINX8t+af9K/NAe/1ouI 9B5rYdBhepuERj8H1W00szQjqhiZ71Zijh3deNhrAUcIYTzkpt3TrImmmRojGpU7e4I5 dlqQFXd3nIKJ1xY2u/LfU+WMZ3ldnJh6TD+T0KVTo0n8k6aPAK9y7J8ulWGGHuYr6+/U +AeUSSRpOYhzyNyrNpH11Hnjn80OeP68bBoIu46OSmWBeuBfK0PCUDwO6ffn01bzJe6L Z6kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+roaZY0aQq5IerWYrtAtqtTIyLi3/oukkignYdqQ2gM=; b=ZMHPaVMc0e54MdxNEz/TU58/sgorpLt0Umfqmfnc7GMvJst+Kz7bFnydjn+f02zXhh polU8T7NuUOyIlK1VXmrMFTJKrANbMue+VDI5WjFgMsshZvee2YMGHy14GRTeb/Kptmj qxz+6seBgK/yauFNegb7vZpRIJYQ3PMI4ek1/FENCLrlhebNQ6c6q5ebVASSUP/SPIlA nS7EYXPgeYDc/dE7ITxu+ak0oTDByfJ9LcUMKPQNRaj4Gs/K9OlVMtcYF1URofKD3fT8 6h6d3Y3p4C0d/YXyqb7myqWJkDAYSgDVMgNHlJq9pvnk0bY2jnDG5QqnnozSZFYKmqzr uEJw== X-Gm-Message-State: AGi0Pua2E7QoLUScFQvx6vdM4/UELyE6aY8HINm9HZy7RwU0Srx2Z4EO 63kTv8KXcskxT6Mt7gGQGxPFH+PEhDmL3fEDa7o= X-Received: by 2002:ab0:7298:: with SMTP id w24mr13269756uao.95.1587488217689; Tue, 21 Apr 2020 09:56:57 -0700 (PDT) MIME-Version: 1.0 References: <20200417175944.47189-1-alim.akhtar@samsung.com> <20200417175944.47189-9-alim.akhtar@samsung.com> In-Reply-To: <20200417175944.47189-9-alim.akhtar@samsung.com> From: Alim Akhtar Date: Tue, 21 Apr 2020 22:26:21 +0530 Message-ID: Subject: Re: [PATCH v6 08/10] dt-bindings: ufs: Add DT binding documentation for ufs To: Alim Akhtar Cc: robh , devicetree@vger.kernel.org, linux-scsi@vger.kernel.org, Krzysztof Kozlowski , Avri Altman , "Martin K. Petersen" , Kiwoong Kim , Stanley Chu , Can Guo , linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, open list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob Request to comment on this dt-bindings documentation. Thanks On Fri, Apr 17, 2020 at 11:41 PM Alim Akhtar wrote: > > This patch adds DT binding for samsung ufs hci > > Signed-off-by: Alim Akhtar > --- > .../bindings/ufs/samsung,exynos-ufs.yaml | 93 +++++++++++++++++++ > 1 file changed, 93 insertions(+) > create mode 100644 Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml > > diff --git a/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml b/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml > new file mode 100644 > index 000000000000..954338b7f37d > --- /dev/null > +++ b/Documentation/devicetree/bindings/ufs/samsung,exynos-ufs.yaml > @@ -0,0 +1,93 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/ufs/samsung,exynos-ufs.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Samsung SoC series UFS host controller Device Tree Bindings > + > +maintainers: > + - Alim Akhtar > + > +description: | > + Each Samsung UFS host controller instance should have its own node. > + This binding define Samsung specific binding other then what is used > + in the common ufshcd bindings > + [1] Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt > + > +properties: > + > + compatible: > + enum: > + - samsung,exynos7-ufs > + > + reg: > + items: > + - description: HCI register > + - description: vendor specific register > + - description: unipro register > + - description: UFS protector register > + > + reg-names: > + items: > + - const: hci > + - const: vs_hci > + - const: unipro > + - const: ufsp > + > + clocks: > + maxItems: 2 > + items: > + - description: ufs link core clock > + - description: unipro main clock > + > + clock-names: > + maxItems: 2 > + items: > + - const: core_clk > + - const: sclk_unipro_main > + > + interrupts: > + items: > + - description: interrupt signal for various ufshc status > + > + phys: > + maxItems: 1 > + description: > + phandle of the ufs phy node > + > + phy-names: > + const: ufs-phy > + > +required: > + - compatible > + - reg > + - interrupts > + - phys > + - phy-names > + - clocks > + - clock-names > + > +examples: > + - | > + #include > + #include > + > + ufs: ufs@15570000 { > + compatible = "samsung,exynos7-ufs"; > + reg = <0x15570000 0x100>, > + <0x15570100 0x100>, > + <0x15571000 0x200>, > + <0x15572000 0x300>; > + reg-names = "hci", "vs_hci", "unipro", "ufsp"; > + interrupts = ; > + clocks = <&clock_fsys1 ACLK_UFS20_LINK>, > + <&clock_fsys1 SCLK_UFSUNIPRO20_USER>; > + clock-names = "core_clk", "sclk_unipro_main"; > + pinctrl-names = "default"; > + pinctrl-0 = <&ufs_rst_n &ufs_refclk_out>; > + pclk-freq-avail-range = <70000000 133000000>; > + phys = <&ufs_phy>; > + phy-names = "ufs-phy"; > + }; > +... > -- > 2.17.1 > -- Regards, Alim