Received: by 10.192.165.156 with SMTP id m28csp794910imm; Wed, 11 Apr 2018 07:23:46 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/tHofHf4ACyVvIsqobzuB4cG68tKko1RZ8f87a5l3mk11w3djPD3AEFglGLhqCnW1+A6Cc X-Received: by 10.98.96.195 with SMTP id u186mr4214674pfb.81.1523456626488; Wed, 11 Apr 2018 07:23:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523456626; cv=none; d=google.com; s=arc-20160816; b=Rz4WGUdZmwcNhMURPCg2F8FvGgI/Palcq3FgC4QEDNIicNIdDVbbv83KGbJGb1DslR RsDuGofie5c00vNZfTtQC+RwbCMeh/m+teHFkv55zt+go2j4IWgXjC4/ObIqZW59u+eg sxzsaZzu8PdS/lQ18apXN+oSy1cQ43sQQTKa21RIA98dKP0cB/6tOLEFal8gBGxve2OB gOo/VDMh3BbA3grm+V+PSE9FStX07QMWuYhSX67a4hqc8p+de7wMK5XERMzU2QKMLwV2 rPYHKMyw/K7T0d5HB+QlPYVZ+dAqB2Cz8l0FcjUGKpy+b4C2Bhr4XtgpYhdaVB/yXcxW 7Nhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=kWdOpsy+lOhXQivQs7VUMxGpPZLrVZfhAtjM0UQFrWI=; b=DWu+iEHxHeWfgOMcHVFuufaZ1+wfXDPV1eWj5C3mClnTpUdJuSwUxQK+USJm0yA6b5 D2dLBlPdq+gDcwN96/GSz8rLZ3BFSk6Iy3ZPgZRaIZEgswRhsTCpSX106MfnBEv+ENi7 JjFNzsDcRZ80JM+42dDopHFS6oZfAVBQuZP2AjB0MdEuBmrXK4rleW+SfubCu5cMs5jj Cqzyk8vKy8hQrljB4mwrw7dKXRQ0rBqxzcW4FawAfIiysN4hykcX2b6hNzQjNdMbEIY5 DkYR5EdjYQ3Ld/7vdGXH8K6i1VSd+TLch2nb0DEAp0JQ+WCeh5MTXfh8XpSpZALTQ0TR 8xGw== 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 i8si844377pgt.279.2018.04.11.07.23.08; Wed, 11 Apr 2018 07:23:46 -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 S1753464AbeDKOUR (ORCPT + 99 others); Wed, 11 Apr 2018 10:20:17 -0400 Received: from hermes.aosc.io ([199.195.250.187]:48318 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753082AbeDKOUQ (ORCPT ); Wed, 11 Apr 2018 10:20:16 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 4EB265A743; Wed, 11 Apr 2018 14:20:10 +0000 (UTC) From: Icenowy Zheng To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Giuseppe Cavallaro , Corentin Labbe Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [PATCH 1/5] dt-bindings: allow dwmac-sun8i to use other devices' exported regmap Date: Wed, 11 Apr 2018 22:16:37 +0800 Message-Id: <20180411141641.14675-2-icenowy@aosc.io> In-Reply-To: <20180411141641.14675-1-icenowy@aosc.io> References: <20180411141641.14675-1-icenowy@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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