Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp74589pxb; Fri, 15 Oct 2021 00:36:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYcCQqfzPuZK+8OFfqj+JgMhSN6ug9YgfOx7mt6UANt+WRgTvMm62wG2msNl/xxgQ8Wjg5 X-Received: by 2002:a63:3705:: with SMTP id e5mr8136945pga.307.1634283374280; Fri, 15 Oct 2021 00:36:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634283374; cv=none; d=google.com; s=arc-20160816; b=IGZTJQH4oCDP4uL2yqChK/+Q0Hd1KtAXfLNMKiTJN9qUl3YLr81nU9owtT7ZKHAbVy st0QnNHOfJ5rU22hEYIE9BrepUgI3NFQ8eBF97xEftmlSZsBP0oxxFiG2YETzO2XPBJo 5SeUz+gXrSa9ZMsfM5CXX1SzrS4LXDL6GeRV/m1qaZbkKi9w3VFzJIyVwnoa2/aeuaHY xtHJxQHZnsds/l31+/456QHNO4T/tvUgWlXAzDf9PbRpJ7Drn7jXY8aZXqhLhoQWsBtA bytiKbLmtNBdXINpvZEsBc2vSBIFUFyPAKM9ArECySloRcf8wQ+O+BsUXj+8SYu+r7pv xUyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=S2Pz/EH3JN4rR1lRapuItjih6c4BRW3oR45D2epV0fc=; b=zaQ14LkbEboHvkX365bjLXURSMA9/zi/thX4dXhu77d9hrQT8rCXoStytrSsf+Cbko J8kMS7MqHC0GJX/c/eeuVRs9g4ALAl4ALurRU4XLuulSNFclJlDW4w1AhnjlBwBoIrmA jTluwdtqPu0l5R9/FEFxQyTHSwovrTd38aEKVOVeVxZtTeaaq3dAhKMVC9iLV5mUT2O0 /nLPBJTyIXlOSvs47ZSH3DJC8/OdJSrxZ2NsNyorFbW20n2b+s6x7Ulq/KWYCYfqRZdd CNQhz6XuBV+olYodyiaQ2n6vfo63BSSF12Ewc+ui5mPu1QaogfvU353+xpRcUNWODxZp kMhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=EEY5oL1O; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k18si8866746plk.170.2021.10.15.00.35.46; Fri, 15 Oct 2021 00:36:14 -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=@kernel.org header.s=k20201202 header.b=EEY5oL1O; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233522AbhJOAPL (ORCPT + 99 others); Thu, 14 Oct 2021 20:15:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:38040 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229718AbhJOAPK (ORCPT ); Thu, 14 Oct 2021 20:15:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D117460FDC; Fri, 15 Oct 2021 00:13:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634256784; bh=GXQ6Dh4zhTUPR+A2V7JaDgrHk+2tJmJdA1ZsI5rpSH4=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=EEY5oL1O5M1SLzo2ikY6/dNHRHMQsbn/G2GNKe3rG2gCNG9ropEjn56EM4H/iStEu lYr9xSibCNZHXxen0f6bOPPernLsrg0wy6Oxhdp9PxB/5dcv0JbPTkyqGfEggbBxPT Wz3d9wwoYi/8iVENfi+jfk9aSrFniUM1vJOWt07s1tnJD8R4vpdRfAgyrVny/AeY7B u0Bje2o3RRdjEzzVfsP9oam8mZ8uHpUCN2goeZpn2y85H5Ufr+fs62kDP3vCVrsdwH 3+Lb0fDrSu4vNng427LfDuJ3sKSgOfA8qhrMy4OGhn6JtpSbqdnpC72qfHNw4xdOxu 0Wy50rjcNXuIQ== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20210930095838.28145-4-pali@kernel.org> References: <20210930095838.28145-1-pali@kernel.org> <20210930095838.28145-4-pali@kernel.org> Subject: Re: [PATCH v7 3/6] dt-bindings: mvebu-uart: document DT bindings for marvell,armada-3700-uart-clock From: Stephen Boyd Cc: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Vladimir Vid , Marek =?utf-8?q?Beh=C3=BAn?= , linux-clk@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org To: Greg Kroah-Hartman , Michael Turquette , Pali =?utf-8?q?Roh=C3=A1r?= , Rob Herring Date: Thu, 14 Oct 2021 17:13:03 -0700 Message-ID: <163425678347.1688384.10695189000353676651@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Pali Roh=C3=A1r (2021-09-30 02:58:35) > diff --git a/Documentation/devicetree/bindings/clock/marvell,armada-3700-= uart-clock.yaml b/Documentation/devicetree/bindings/clock/marvell,armada-37= 00-uart-clock.yaml > new file mode 100644 > index 000000000000..175f5c8f2bc5 > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/marvell,armada-3700-uart-cl= ock.yaml > @@ -0,0 +1,59 @@ [..] > + '#clock-cells': > + const: 1 > + > +required: > + - compatible > + - reg > + - clocks > + - clock-names > + - '#clock-cells' > + > +additionalProperties: false > + > +examples: > + - | > + uartclk: clock-controller@12010 { The uart device is at 0x12000 and the clock-controller is at 0x12010? This looks like a node is being put into DT to represent a clk driver. Why can't we register a clk from the uart device driver itself? I think we talked about this a month or two ago but it still isn't clear to me. > + compatible =3D "marvell,armada-3700-uart-clock"; > + reg =3D <0x12010 0x4>, <0x12210 0x4>; > + clocks =3D <&tbg 0>, <&tbg 1>, <&tbg 2>, <&tbg 3>, <&xtalclk>; > + clock-names =3D "TBG-A-P", "TBG-B-P", "TBG-A-S", "TBG-B-S", "xtal"; > + #clock-cells =3D <1>; > + }; > --=20 > 2.20.1 >