Received: by 10.192.165.156 with SMTP id m28csp1206675imm; Mon, 16 Apr 2018 16:19:32 -0700 (PDT) X-Google-Smtp-Source: AIpwx48slO2R6i7Eu+Raxx2a9Pko0DpARIAKJIHnDOV1ViWZSoVoDNwidzPjZrXdcWhtrIqE86u1 X-Received: by 10.99.43.80 with SMTP id r77mr14114368pgr.193.1523920772016; Mon, 16 Apr 2018 16:19:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523920771; cv=none; d=google.com; s=arc-20160816; b=yxZKO2Usnn8IZphf2Z8LnI0BDbbqXTmANlL5IwlhtY5JLLuPfYsJvLyVbeo5nsPutt 2KhPcMA+r637eQjiZJ55qX+e5VFlXQ2Eaa+MQgoe4X9sw0jWVok933ua+DcwfJN3M7fE qqV9STUjXPph/bkyPbCMk0YYLhPeGDK/nsmMoYdmmbcS1A8c4PJYSyuzVinFsJa8Zs+y yg3cP+bQkwFxUFjx8wIsOTjvtoOndOuS0YpZgTsCMEo7IyfUAwW7E/2ppyZmow9mnXrF qF9qkPkgH+VAJ9CQ+X4DemcUEj+UpPis4RhtuNwkuUT2gQW7qfMdTedGACaSWlQsnR6n TqPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to:date :arc-authentication-results; bh=HyrOsRUkAfBzHiQvyW4ZRFeOLCs4RrBsDJ9Hc0e7AiI=; b=JckHltqzrMaIDnzuHTw7uNfR/we4iXfFgJQciaiGWZe7vx87Lgek4b2MUXmVbZY/P5 5OnmfyxO6TsWI+WW4ihhiFjINwN/uW0Y263AOEgATJun02q44I7Dl3rmHK1JUCWvAISD kBx/fvjis38XRNYtFaV/9b4rAb/+umEM5rzrigaQAE8FdAQTZrRXeylh9V9vMJqW+UrE IB93r15p5inkYgj29/JUVuKmgPe4SRcTR1ijzAJPOXWIDHDSGthltUQe6JP1+Zkm+Jnr /RbBuBQw9f5a67ghyVBzKraRuJfZLvRaH3LXvMxcGy3vh/u1LohP/Ykp6dTBF96XfwqK /iDg== 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 z21si6873431pgn.570.2018.04.16.16.19.17; Mon, 16 Apr 2018 16:19:31 -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 S1752120AbeDPXSJ convert rfc822-to-8bit (ORCPT + 99 others); Mon, 16 Apr 2018 19:18:09 -0400 Received: from hermes.aosc.io ([199.195.250.187]:53283 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751893AbeDPXSH (ORCPT ); Mon, 16 Apr 2018 19:18:07 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 5E18C5AFE7; Mon, 16 Apr 2018 23:18:02 +0000 (UTC) Date: Tue, 17 Apr 2018 07:17:56 +0800 In-Reply-To: <20180416184745.tqxyvojtcbage4fu@rob-hp-laptop> References: <20180411141641.14675-1-icenowy@aosc.io> <20180411141641.14675-2-icenowy@aosc.io> <20180416184745.tqxyvojtcbage4fu@rob-hp-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Subject: Re: [PATCH 1/5] dt-bindings: allow dwmac-sun8i to use other devices' exported regmap To: linux-arm-kernel@lists.infradead.org, Rob Herring CC: devicetree@vger.kernel.org, Maxime Ripard , netdev@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, Chen-Yu Tsai , Corentin Labbe , Giuseppe Cavallaro From: Icenowy Zheng Message-ID: <04C9F795-2680-4220-A39A-7B7D5FD74C4A@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 于 2018年4月17日 GMT+08:00 上午2:47:45, Rob Herring 写到: >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? EMAC clock register is only the datasheet name. It contains MII mode selection and delay chain configuration. > >> >> 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 > >_______________________________________________ >linux-arm-kernel mailing list >linux-arm-kernel@lists.infradead.org >http://lists.infradead.org/mailman/listinfo/linux-arm-kernel