Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3397907imm; Tue, 17 Jul 2018 04:17:36 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd1gBied4PPizBi6T8i8uf+UKsx7pABfIcP6dapOARHzbdmBQPtdBilipMCEwpEnIMb6cmW X-Received: by 2002:a62:c1:: with SMTP id 184-v6mr273176pfa.100.1531826256867; Tue, 17 Jul 2018 04:17:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531826256; cv=none; d=google.com; s=arc-20160816; b=HqgO+GDJ6CscbtB/cquVNfvO98h67GKDH0obA5CRMoNVGBMx3cBSxgy04usbYTZ5lV 1F74M3AaJLKTQAvPtcnzOQOLkAx/Tyd63QQNmifWpdvdUUF9bwgq3nUp/xuybRE0Wtyy OberJm9cWYLj5XxSzHT3s5U6gtpvzwJnjo4dNMu1bByRofvd24xAYJC8MwpkYQNPBlN6 rbYLlBtM5h/28CdOMIoO3lvRfRrQUucrQn/FfiNtZZyHUhEmlWjfJyuIudkYX0h7S0++ E4qWiYuZqiVBv50xka/EFuN2h16zlixfsByE2cEyVK+6vmF+hLe7VavRWZ5EvK1bJu72 ykAQ== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=EOvPp6b0C7XSwc1BkF56Pa2irrv+IIQ/aLn5fozBffk=; b=dygSFKPIyDHwIp/jSMtgg2uq1Cf3gol47Sa7Rl29mEPcKjfqlS08oEOcc7Pturr9o4 ZSA3eyPAnsPe7GETcdQPW7eIji7Oij55IeIi1hR7XHoUBOkofIf9kiHMopUoli2D5ng/ UdXpe4zZ/9uwvy5lrNfHFcQiXy87i2YrUNpkVJTLAYNMfGyX58rPhEh4pp8t6jm2hxni TG1LXBS9XK3G9/lGDD+ef060quOsmeT5eyw0M3Dvfs3iFC9Y40Dn+MsmRdCwoE433XnC d4Vkz8xQzhy8L8IJx/URBfKJnpgI6/u88D5198nAsHmlo5g+jj6VqBhZ0S8be/N2uAn9 hXDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=fXVdNhgI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r28-v6si679363pfb.65.2018.07.17.04.17.21; Tue, 17 Jul 2018 04:17:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=fXVdNhgI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731402AbeGQLsn (ORCPT + 99 others); Tue, 17 Jul 2018 07:48:43 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:52554 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730688AbeGQLsm (ORCPT ); Tue, 17 Jul 2018 07:48:42 -0400 Received: by mail-wm0-f67.google.com with SMTP id o11-v6so1085437wmh.2 for ; Tue, 17 Jul 2018 04:16:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=EOvPp6b0C7XSwc1BkF56Pa2irrv+IIQ/aLn5fozBffk=; b=fXVdNhgIVuUMf7DtDJeD9k/sg+/e67rpAHpr8fJ2FtkNOOx8JZZjCY+PTpI4ilCECE nfJi3Q4rWJ0y0e44zvpxUMWMoYy+tIyj1enGpqy1una1BFz5suHbqkDDG9ddkyeEF9rF 0YztehNBFRcOi7iiPngSmVIqaEzxKVFgzFUWh9XG0pWShE0wCmo2WZiVog/UAVQyK7te ACF/XovRNy48xXACitiOHnUuIDBDqhFYxBpw9Ckhb2BMf7CrCTYXGBpUZC2KCAqENQnK ginJvqFAE66lAAAn1Rg5Xx7ihwRwKrLDSNVSV4ZI4Z4a0Fcn3t0xnX4U3Ds+pBj+e5kl EN0w== 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:in-reply-to:user-agent; bh=EOvPp6b0C7XSwc1BkF56Pa2irrv+IIQ/aLn5fozBffk=; b=RyUyGWbpD8tH43ffkQDehzmShcNq0swNEyIvCUFjPToMx7ZxbPiKa8+lsA+szynuVN hAKkRtEUtceWWw+NWYs/+WJufRvBEDkHQMk4c+d+fbPn2hTFIolSWoSmDJif7jEE6VIO Kny3hUfqH5Zf/A5y594f86j1t59bOy2TEn0elum0Hmr8FbELb9x8VUhu7u9eGugS0v8H N3OZvUMVJv1lZF6POojR3nJTdZNaY01+G/SJ3OJVXC/z8qWOIj+bZMKh2H4yaWoAePKS y1FdUUFuoGxfn81kS6BgKvZKlq4Pd50YdaTeSqg5++u5XLKpM2slCAx/1gaD+inBE6yA BI2w== X-Gm-Message-State: AOUpUlHrS3ooLTro+dglTFhoIgjr+iDj5MUaFczBDJ8ogEgTL1klWZRn 598Ru1XH/+usEXowgu3We+VpHg== X-Received: by 2002:a1c:3693:: with SMTP id y19-v6mr1015920wmh.71.1531826193863; Tue, 17 Jul 2018 04:16:33 -0700 (PDT) Received: from Red ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id a11-v6sm1194851wrr.81.2018.07.17.04.16.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Jul 2018 04:16:33 -0700 (PDT) Date: Tue, 17 Jul 2018 13:16:30 +0200 From: LABBE Corentin To: Rob Herring Cc: hdegoede@redhat.com, linux@armlinux.org.uk, mark.rutland@arm.com, maxime.ripard@free-electrons.com, tj@kernel.org, wens@csie.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, thierry.reding@gmail.com, icenowy@aosc.io Subject: Re: [PATCH v3 4/9] dt-bindings: ata: ahci-platform: document AHCI reset Message-ID: <20180717111630.GA7900@Red> References: <1531479786-4911-1-git-send-email-clabbe@baylibre.com> <1531479786-4911-5-git-send-email-clabbe@baylibre.com> <20180716155416.GA32497@rob-hp-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180716155416.GA32497@rob-hp-laptop> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 16, 2018 at 09:54:16AM -0600, Rob Herring wrote: > On Fri, Jul 13, 2018 at 11:03:01AM +0000, Corentin Labbe wrote: > > This patch document the new optional resets for ahci node. > > > > Signed-off-by: Corentin Labbe > > --- > > Documentation/devicetree/bindings/ata/ahci-platform.txt | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/ata/ahci-platform.txt b/Documentation/devicetree/bindings/ata/ahci-platform.txt > > index 5f362af2724c..a5281d7557e3 100644 > > --- a/Documentation/devicetree/bindings/ata/ahci-platform.txt > > +++ b/Documentation/devicetree/bindings/ata/ahci-platform.txt > > @@ -34,6 +34,8 @@ Optional properties: > > - phys : reference to the SATA PHY node > > - phy-names : must be "sata-phy" > > - ahci-supply : regulator for AHCI controller > > +- resets : phandle to the reset line of AHCI controller > > + If set, must have a reset-names set as "ahci" > > A name is pointless if there is only one. Also, the name should be what > the signal in the block is called which I doubt would be called "ahci". > A likely name is some form of reset, resetn, etc. which again is > pointless to name if there is only 1. > > If you do have 'reset-names' then that needs to be listed too like > phy-names. > Since the ahci-platform code is common to lots of different drivers, I must have a name otherwise I could grab a reset which wasnt for me. See the revert of f0f56716fc3e ("ata: ahci-platform: add reset control support") for example. So the code need to grab a name, and since this name could be used by other people I took the generic "ahci". In my case (R40), the reset is called sata, so I will change reset-names to "sata" in my next serie. Regards