Received: by 10.223.176.5 with SMTP id f5csp603217wra; Fri, 2 Feb 2018 03:09:37 -0800 (PST) X-Google-Smtp-Source: AH8x225vR49SllRp6aOiwxFKoal7po9vY6McmaVWowyT+r3acCqqPJ5P+amdVqEoAoIkEVlLOt3H X-Received: by 2002:a17:902:52f:: with SMTP id 44-v6mr34027256plf.65.1517569776980; Fri, 02 Feb 2018 03:09:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517569776; cv=none; d=google.com; s=arc-20160816; b=zuBoVaK4ryhzkA4eNCFIs4WzLNCEXQj0qN++NHoUpBOxyOj8mJV5hZpJ+UTSYOHFKm ALj2nXqRLKMbz0brxQB8mE/DOYY9qvoPAt4HQEeh0+pZKPs2UG4M4MUEUmWLTFv4U71X B0prqEB3GryGFqX1yPwYIQy0eYbz1UASOwFJeiys5UDBnqB3DJAGQRh2Jj6g8HnxMJYQ MgmUbEu+NwBWCVN8BKh7qibF8ifav383g4Jpj15XRUPy4/0BOS/gwKBn4+9i5Wwes5iY fmFAfkiV9hrLLdjl7AjMrVKq4HeDykXjdGCDzHUZ/mwtIVGNZnqUfmPHNmHkCPcwBGkl Mbyw== 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=uUXMeIRDmxM4Tg79uJ4csDtgQOlooJWouRYelk7iczM=; b=0Ai53emk2hBxfS/IkiBd2tm30WZK5tWHNeLNjwi2WKEzH1JbjS57QqVttWhLatOqkP sAu00/VlExXnBwk7kf4aXRIzBdZM0Pscb+998NW4TD3piLMnaN4RNUzVCfqHRRp5BMQQ 0r3OyuswVef/wX4bqU7rUrP5Gj/hexa1zoYVaV6B2pRzOiN3t+fSoCVeaeqo9/UNcCtn Kd+iSqxlw+CdysLVUTzBsKyWymdc/YSCpozy74d2YmZU9dSAo5R5LvR+GXZHDF8vRfrx oR6CCi2n4ZSWWPu3JruPVpWdr9PENJyue8tqlIQV4cEWSzZH81TLeGpREZWtgOJUVTY1 v3Fg== 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 s14si1269445pgc.718.2018.02.02.03.09.21; Fri, 02 Feb 2018 03:09:36 -0800 (PST) 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 S1751585AbeBBLIR (ORCPT + 99 others); Fri, 2 Feb 2018 06:08:17 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:58052 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751165AbeBBLIN (ORCPT ); Fri, 2 Feb 2018 06:08:13 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BCDB91529; Fri, 2 Feb 2018 03:08:12 -0800 (PST) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1F5323F24D; Fri, 2 Feb 2018 03:08:10 -0800 (PST) Date: Fri, 2 Feb 2018 11:08:08 +0000 From: Mark Rutland To: Channa Cc: linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-arm@lists.infradead.org, linux-kernel@vger.kernel.org, tsoni@codeaurora.org, sboyd@codeaurora.org, kyan@codeaurora.org, linux-kernel-owner@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: Documentation for qcom,llcc Message-ID: <20180202110808.nnrawjhyvz273em3@lakrids.cambridge.arm.com> References: <1516924513-20183-1-git-send-email-ckadabi@codeaurora.org> <1516924513-20183-2-git-send-email-ckadabi@codeaurora.org> <20180201104808.rxgqcrlsevtotq55@lakrids.cambridge.arm.com> <2c343b57bf3ee8aeb3338aee0d27dc06@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2c343b57bf3ee8aeb3338aee0d27dc06@codeaurora.org> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 01, 2018 at 12:47:01PM -0800, Channa wrote: > On 2018-02-01 02:48, Mark Rutland wrote: > > On Thu, Jan 25, 2018 at 03:55:12PM -0800, Channagoud Kadabi wrote: > > > Documentation for last level cache controller device tree bindings, > > > client bindings usage examples. > > > > > > Signed-off-by: Channagoud Kadabi > > > --- > > > .../devicetree/bindings/arm/msm/qcom,llcc.txt | 93 > > > ++++++++++++++++++++++ > > > 1 file changed, 93 insertions(+) > > > create mode 100644 > > > Documentation/devicetree/bindings/arm/msm/qcom,llcc.txt > > > > > > +Example: > > > + > > > + qcom,system-cache@1300000 { > > > + compatible = "qcom,llcc-core", "syscon", "simple-mfd"; > > > + reg = <0x1300000 0x50000>; > > > + reg-names = "llcc_base"; > > > + > > > + llcc: qcom,sdm845-llcc { > > > + compatible = "qcom,sdm845-llcc"; > > > + #cache-cells = <1>; > > > + max-slices = <32>; > > > + }; > > > + > > > + qcom,llcc-ecc { > > > + compatible = "qcom,llcc-ecc"; > > > + }; > > > + > > > + qcom,llcc-amon { > > > + compatible = "qcom,llcc-amon"; > > > + qcom,fg-cnt = <0x7>; > > > + }; > > > + > > > + }; > > > > The "qcom,llcc-ecc" and "qcom,llcc-amon" bindings doesn't seem to be > > used by the driver in patch 2, and it's not clear how they are intended > > to be used, so I think they should go from the binding for now. > > Sure I can remove them for now and add them when the I push other drivers > for review. > > > I don't think you need syscon and simple-mfd, and I think you can > > I used syscon and simple-mfd because three drivers touch the same address > space. As in my other reply, I don't think that's the right way to solve the problem. Please have one top-level driver and associated binding. That driver can carve up the functional units and allow other drivers to access the registers as necessary. Thanks, Mark.