Received: by 10.192.165.156 with SMTP id m28csp975613imm; Mon, 16 Apr 2018 11:49:19 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/b/gm3ZlqoT75WvU8w4MOwOl5xq6M0GuBS/efxE4pLx1Au0DJM4FxQbUZWWL3XD4zSNHAv X-Received: by 2002:a17:902:b105:: with SMTP id q5-v6mr16726148plr.173.1523904559748; Mon, 16 Apr 2018 11:49:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523904559; cv=none; d=google.com; s=arc-20160816; b=kgH0XiuAA6CQASgDm1A+2xUY4b5PawsYmiR7yHTIJ1O/Lemtli0htZUnWfIhvtKrXE Adv80ORIaAK0ekyulsKimuV7gmg+5GYNUKLZiM1gUJxcNts0JaBq80gr8GoAVhB8sN9T 124m7Ne4ExnSKUMnU2aHwAUo8PuBxOaXtA1vZArAECMazHB7AaSjJw+C+SFEkxlGqchX kQUKZh59/dD6d9A69xkwbu3uPASmIjeJumjhk1lPXrntUj3PH7lBIIXmS0IhXEtNRxgN /+i8jZnLeRk+lUK1l3BUEJETpqqlaC8Ybu2SfjzdT43CkfUJ+GI1RYupfaO10Daf63qQ J3zw== 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:arc-authentication-results; bh=YNpzUkdURNYiArZSRpTI1ks09pSRT4sJlR91rNmvzxo=; b=BkG4FSw/LEn56+CiCLVGrCBb+d++xtpdVBODmc8O9b5H298Z4J07DCMcyBbsKexS8I /aRqvlIGXLX4ttGeNJteQqeVEnA0DAaIyM8ti3YsOCiS3mkITye8ZrOXr+P1e/n7Of/h lnaSz1oxe8y+FCHhIHy5pQxPTMuvN+wKnVAiLgm/JLoeCRYFX4hn2PXYS/Xpo1WkIq/o b7p6o6hZwOdrcPht/J6wuwgstqX0PPOZN8R/usbhZDd1CeMJF7DFUpit77bV9wpQp+eu WV4W1h+C/V87E3R165bOdte43KR04GDndD1dtEEbshqxrepT5l2Kdnv2mdqmzfJvUOC4 nt9g== ARC-Authentication-Results: i=1; mx.google.com; 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 p16si8976851pgd.640.2018.04.16.11.49.05; Mon, 16 Apr 2018 11:49:19 -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; 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 S1753359AbeDPSrt (ORCPT + 99 others); Mon, 16 Apr 2018 14:47:49 -0400 Received: from mail-ot0-f194.google.com ([74.125.82.194]:42128 "EHLO mail-ot0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753118AbeDPSrr (ORCPT ); Mon, 16 Apr 2018 14:47:47 -0400 Received: by mail-ot0-f194.google.com with SMTP id h55-v6so18551085ote.9; Mon, 16 Apr 2018 11:47:46 -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:in-reply-to:user-agent; bh=YNpzUkdURNYiArZSRpTI1ks09pSRT4sJlR91rNmvzxo=; b=msKqLe2GndnkHV1DXkEvgZ+WAlTitYk9cUAPQbWHbbBdW2ygTBtCAsR02f5xL0OQIq vB5zXj1WjqDiZiXwJOqX4Fx1Xr8sP1vZ9O2FcSb87XOhf7IeKwzsCxlDrmC0S2MZ4l2a r01PuhYr0zSvYYdbr1Dx72OkIK3Gka5RhoKOlksHsmMsePTFib3LamQbucBgTxDZhhei rhfJmlpp89ZitVNX7DICqeUDHp35tyLUjHD8KcM0t+CY0+IyEjJ4ylUo0sogVm/r7e++ iB/5qjr2tY25/wo6diRbe4GGA2utBcKKZSGumDoBeFqeqZOLurpuIzQJrnACZc/Na/ae /I7w== X-Gm-Message-State: ALQs6tATQagudwxT06SaB6vuPUT/AyxXE03jbkBS+2HuWQd5sf3U3sRU 3911fDffD6yK6VkBxUC2yQ== X-Received: by 2002:a9d:5cc2:: with SMTP id r2-v6mr10569580oti.384.1523904466366; Mon, 16 Apr 2018 11:47:46 -0700 (PDT) Received: from localhost (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.gmail.com with ESMTPSA id u145-v6sm7913816oif.12.2018.04.16.11.47.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Apr 2018 11:47:45 -0700 (PDT) Date: Mon, 16 Apr 2018 13:47:45 -0500 From: Rob Herring To: Icenowy Zheng Cc: Maxime Ripard , Chen-Yu Tsai , Giuseppe Cavallaro , Corentin Labbe , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH 1/5] dt-bindings: allow dwmac-sun8i to use other devices' exported regmap Message-ID: <20180416184745.tqxyvojtcbage4fu@rob-hp-laptop> References: <20180411141641.14675-1-icenowy@aosc.io> <20180411141641.14675-2-icenowy@aosc.io> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180411141641.14675-2-icenowy@aosc.io> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 11, 2018 at 10:16:37PM +0800, Icenowy Zheng wrote: > On some Allwinner SoCs the EMAC clock register needed by dwmac-sun8i is > in another device's memory space. In this situation dwmac-sun8i can use > a regmap exported by the other device with only the EMAC clock register. If this is a clock, then why not use the clock binding? > > Document this situation in the dwmac-sun8i device tree binding > documentation. > > Signed-off-by: Icenowy Zheng > --- > Documentation/devicetree/bindings/net/dwmac-sun8i.txt | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/net/dwmac-sun8i.txt b/Documentation/devicetree/bindings/net/dwmac-sun8i.txt > index 3d6d5fa0c4d5..0c5f63a80617 100644 > --- a/Documentation/devicetree/bindings/net/dwmac-sun8i.txt > +++ b/Documentation/devicetree/bindings/net/dwmac-sun8i.txt > @@ -20,8 +20,9 @@ Required properties: > - phy-handle: See ethernet.txt > - #address-cells: shall be 1 > - #size-cells: shall be 0 > -- syscon: A phandle to the syscon of the SoC with one of the following > - compatible string: > +- syscon: A phandle to a device which exports the EMAC clock register as a > + regmap or to the syscon of the SoC with one of the following compatible > + string: > - allwinner,sun8i-h3-system-controller > - allwinner,sun8i-v3s-system-controller > - allwinner,sun50i-a64-system-controller > -- > 2.15.1 > > -- > To unsubscribe from this list: send the line "unsubscribe devicetree" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html