Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2289661imm; Wed, 16 May 2018 10:34:08 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqtBG+4B78VzP7LRFjC9VQfb16OWQSG6HDvgiKu4j5eBISuJ2xBtDUJCTb/BHkh2LcN0g8l X-Received: by 2002:a17:902:b582:: with SMTP id a2-v6mr1802343pls.371.1526492048762; Wed, 16 May 2018 10:34:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526492048; cv=none; d=google.com; s=arc-20160816; b=LHdc1dueg8KcukW5XwnQR/x9mthoq3STYTGfu1Mv44puZc61tDZ+AIR7siAOLDeoUU B+P0YP9kVSmTrmPinwHawI+yEDVnCOOwA3Wnzw6Ry7INvq3As1lGFRGgGhhafMTdDS4b y49rYi9F1B6aWNOoc6/mlg8/P2cuaPCbqmzMLIYJ5KuIy+YLOr5+oqLz+dNGoMb6pXVL L3D3n7xJf6mMv6WxMbV3PXu8TfE9gOcfjVXzdS3ko39KGm6iQ0JqXhZTJnxasErNl9Fy BWFn0Rr5OBgOGdPbKJEryBb3P84wyIe5T4+b5ivtqGVOHrJbsr9USZH3zUSQKF/1DsYg p9Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=ac0zHFlgZh84FE0Rnf/gfjucSVtxaNwx2TfiPvzdXc0=; b=vLzg8ocmOxWqMEccDA6lWvmOGFiNIm+VNA9FKvjYnpSemElMmmSHN+JqQPswao10Ri SutezNpXt3ctWTEuWow3f2u1WcTqgr7SbNEt/DGuK7gXaVfekZQySrfQsWJUW5JVs5ZJ 3wkiY2z3dJ8yU3XloB7ZRJ3yhDQ52uoGvIOP4yXvytB/7notg1CUJqOcIoKG/+Qg/CL6 t4Tr4e9Gdz1XjyGi9Xyw3X+sosH5qAgb/NweNn477F1IxZtvsCcNv95gSiQjmF4jxHgW bKtpIvhnSvvV5wJ/Ct1z5PrGr+Le66nQiN+JD10WTJPVPnJJvH9R340jZni0YT6JsvX3 SSeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=Hx3buSK+; dkim=pass header.i=@codeaurora.org header.s=default header.b=Hx3buSK+; 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 s6-v6si2496745pgr.369.2018.05.16.10.33.54; Wed, 16 May 2018 10:34:08 -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; dkim=pass header.i=@codeaurora.org header.s=default header.b=Hx3buSK+; dkim=pass header.i=@codeaurora.org header.s=default header.b=Hx3buSK+; 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 S1752014AbeEPRdR (ORCPT + 99 others); Wed, 16 May 2018 13:33:17 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:54332 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751013AbeEPRdP (ORCPT ); Wed, 16 May 2018 13:33:15 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id A315160881; Wed, 16 May 2018 17:33:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1526491994; bh=6W/cWl68C02rnSqinH0sNGNFUU8YLCGjoyc3ei63l9o=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Hx3buSK+LqIdlsWUJYJOuv7WImt3o9PG4MYSbTd3cxOD+xptqyzNUPdI9DcEfewGp /lGxr3DqAuBv7GiDgUwSt1mW+XkZRDcU8L34X2cQAfa7FqgIvU/euJPcak6mFm3FIy IBm23OlZaBJ91aTUa4R3d5ycLJ0MBMvtsfxJig6Q= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 18CBA601D4; Wed, 16 May 2018 17:33:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1526491994; bh=6W/cWl68C02rnSqinH0sNGNFUU8YLCGjoyc3ei63l9o=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Hx3buSK+LqIdlsWUJYJOuv7WImt3o9PG4MYSbTd3cxOD+xptqyzNUPdI9DcEfewGp /lGxr3DqAuBv7GiDgUwSt1mW+XkZRDcU8L34X2cQAfa7FqgIvU/euJPcak6mFm3FIy IBm23OlZaBJ91aTUa4R3d5ycLJ0MBMvtsfxJig6Q= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 16 May 2018 10:33:14 -0700 From: rishabhb@codeaurora.org To: Stephen Boyd Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm@lists.infradead.org, tsoni@codeaurora.org, ckadabi@codeaurora.org, evgreen@chromium.org, robh@kernel.org Subject: Re: [PATCH v6 1/2] dt-bindings: Documentation for qcom, llcc In-Reply-To: <152649021310.210890.14841324536807182632@swboyd.mtv.corp.google.com> References: <1525810921-15878-1-git-send-email-rishabhb@codeaurora.org> <1525810921-15878-2-git-send-email-rishabhb@codeaurora.org> <152649021310.210890.14841324536807182632@swboyd.mtv.corp.google.com> Message-ID: <385198cbb91c4a36ad758997916ad271@codeaurora.org> X-Sender: rishabhb@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-05-16 10:03, Stephen Boyd wrote: > Quoting Rishabh Bhatnagar (2018-05-08 13:22:00) >> diff --git a/Documentation/devicetree/bindings/arm/msm/qcom,llcc.txt >> b/Documentation/devicetree/bindings/arm/msm/qcom,llcc.txt >> new file mode 100644 >> index 0000000..a586a17 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/arm/msm/qcom,llcc.txt >> @@ -0,0 +1,32 @@ >> +== Introduction== >> + >> +LLCC (Last Level Cache Controller) provides last level of cache >> memory in SOC, >> +that can be shared by multiple clients. Clients here are different >> cores in the >> +SOC, the idea is to minimize the local caches at the clients and >> migrate to >> +common pool of memory. Cache memory is divided into partitions called >> slices >> +which are assigned to clients. Clients can query the slice details, >> activate >> +and deactivate them. >> + >> +Properties: >> +- compatible: >> + Usage: required >> + Value type: >> + Definition: must be "qcom,sdm845-llcc" >> + >> +- reg: >> + Usage: required >> + Value Type: >> + Definition: Start address and the range of the LLCC registers. > > Start address and size? > Yes i'll change it to Start address and size of the register region. >> + >> +- max-slices: >> + usage: required >> + Value Type: >> + Definition: Number of cache slices supported by hardware >> + >> +Example: >> + >> + llcc: qcom,llcc@1100000 { > > cache-controller@1100000 ? > We have tried to use consistent naming convention as in llcc_* everywhere. Using cache-controller will mix and match the naming convention. Also in the documentation it is explained what llcc is and its full form. >> + compatible = "qcom,sdm845-llcc"; >> + reg = <0x1100000 0x250000>; >> + max-slices = <32>; >> + }; >> --