Received: by 10.223.176.5 with SMTP id f5csp2585785wra; Thu, 1 Feb 2018 02:49:58 -0800 (PST) X-Google-Smtp-Source: AH8x225B5WBFicrryJg7p4ekbzv3Oa/llrCXLM4JOIAOMDPI3+dWb+8M56ef3Q5IKTFKtgeBAjT1 X-Received: by 10.98.66.152 with SMTP id h24mr36435212pfd.13.1517482198048; Thu, 01 Feb 2018 02:49:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517482198; cv=none; d=google.com; s=arc-20160816; b=XmjnuMlGQgyOEpQdKvyiAXhsvv/wElyYvvroVKgSWuZFnv+9rbsZPMB4qTWHZwwNre NRbDh6VbMNsllfSk2S7QId5kmM5zRMDpzwzt/QoCzCC6Rc3ent4rBXxgT626RtcC44VE ++tUJUX7QgMy0NR4wlORZbrdInM+s9bHQtQhQJSUzP0diuv4MQ8AHJcjlW+K7j3xuDXx ekhaw3wqpuePY9i5u9Qd6gDs9b/C+doXTa4YtzG/3Rxqs2pZ37Lzk+2CxbSWx1fIJMfp clNNO+f7LtdCnlw4f/SEbYCNkw9+wVNiHhP3yQ5RW0Hd3JlO+l30tiMZHU3SzWuVXrBu dI9A== 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=N5F2uUUGiuJbu5yx3aE5UrbcOewV/1PYqmkM/I1pjTA=; b=hWaXh8irnPFgn0XKGM6HYKyrl57OR4CTYSoqbvNna4Wvq4h0bYLlVXnPgcew0T+H/w 4FGNNPYMQZc4DOZ7dycboWX8uX2NZqGzy/LkKdPx4P+6JIgcW5I1QmalKv0jax0//pWf BilqEKD8herSxiUbE0WcGhLuWwYaNCG5By6QntDztWcJQfLJS61jir5n37X/KLqDBsWj xpQtbCMc77k2TxvhF7KDR4+YJ6wiGpnnxy+tWkGDOkMUYORof8rrNE5dTBXDy/XqqQ/d RVmbkjfZQLoDOabNFONmZR3AgfkAFjLcjOPDV5PQBJ20/sEXGVl5tQLK98bIB/Rq7H+G H1kQ== 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 r11-v6si3907032plo.624.2018.02.01.02.49.42; Thu, 01 Feb 2018 02:49:58 -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 S1752168AbeBAKsS (ORCPT + 99 others); Thu, 1 Feb 2018 05:48:18 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:47546 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751520AbeBAKsM (ORCPT ); Thu, 1 Feb 2018 05:48:12 -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 6F4CB80D; Thu, 1 Feb 2018 02:48: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 D95753F25C; Thu, 1 Feb 2018 02:48:10 -0800 (PST) Date: Thu, 1 Feb 2018 10:48:08 +0000 From: Mark Rutland To: Channagoud Kadabi 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 Subject: Re: [PATCH 1/2] dt-bindings: Documentation for qcom,llcc Message-ID: <20180201104808.rxgqcrlsevtotq55@lakrids.cambridge.arm.com> References: <1516924513-20183-1-git-send-email-ckadabi@codeaurora.org> <1516924513-20183-2-git-send-email-ckadabi@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1516924513-20183-2-git-send-email-ckadabi@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, 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. I don't think you need syscon and simple-mfd, and I think you can simplify the binding to a single node like: qcom,system-cache@1300000 { compatible = "qcom,sdm845-llcc"; reg = <0x1300000 0x50000>; #cache-slice-cells = <1>; max-slices = <32>; } If ECC and AMON are option features, we can always add boolean properties for those later, e.g. "has-ecc". Thanks, Mark.