Received: by 10.192.165.148 with SMTP id m20csp4730828imm; Tue, 8 May 2018 13:23:28 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrvJQjQgmLKT6MD9xb4tRiDWKpeA+SNed/EOivH2mKrQx6Y8rrSJYAryewAJU6iw0nM7jjq X-Received: by 2002:a17:902:3303:: with SMTP id a3-v6mr27813969plc.209.1525811008879; Tue, 08 May 2018 13:23:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525811008; cv=none; d=google.com; s=arc-20160816; b=vF5uY6bwheLqMG96A2Ad2Nkvdo90wcffMGlsDmEo/pivUsYwUg8lOODtMqGzpVzkL1 LQByvySR7QrtMDG53tfbV7fwg81hUKLkLtD1NJ/QTngp2zOeSPu0nomfLmeO7h9tVJmo cusNElUq9WFsZVxbiZIBO/UUMv/mWsTrQuhgpgt+8bU1fRURHZXAO/+yY/zNO11ijh8G 8PauQWDb2vvTkulzJbZuzagM1o7Fi393aHvy3Xvffuqm/1LgD9xHge4CsQrnDzjjLAsl IBzgyp+HJPIYDCCww7xC+mEpnzrAVtjZKGlncZYiisthbectV2ef9QJdYn8GWB8WcwRX OTbg== 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:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=Ud3XIjV9IrcPgYCVyvst8fUh3d7//sz41JU+ACjFIX8=; b=LUTS6s92Mw01+ytUXJOHAB+hBYZzvmZwhaGCjY9UEHhaUPXSrqC7ZyVND3FyAwyFew 5cf01AvNBJzwYF2TS2Je+cpo8E/EqYB28sgD2mj2agODG5lmK8x1J31WA+VO8MK7M+2X JU1T0Msum5l7Y+AQTNCS5+pj/D25lwyA5Sz9tA2o0cwZ1cLq2wH02uoKzgihMeMWxU71 mNU5sSAmbj++/xSYzSq7xZvrvau7ZOY0l1hM8eIwxR6vuIuwu+tR7wm2C8rO5iJUhIFj Nw4ZWV2hinjjIMkQZnXMP0UWx8iNJpD+jkrrbHsQXSW8rbcId12Z4JEzOGHs5nNUEemc vMRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=GkgXT5iq; dkim=pass header.i=@codeaurora.org header.s=default header.b=CwO3bbr0; 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 g6-v6si11388570pgs.396.2018.05.08.13.23.14; Tue, 08 May 2018 13:23:28 -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=GkgXT5iq; dkim=pass header.i=@codeaurora.org header.s=default header.b=CwO3bbr0; 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 S1755794AbeEHUXB (ORCPT + 99 others); Tue, 8 May 2018 16:23:01 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:42360 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755647AbeEHUW4 (ORCPT ); Tue, 8 May 2018 16:22:56 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 449536019F; Tue, 8 May 2018 20:22:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1525810976; bh=09lZxLyki0cUBSf06lB1PVzds3Cx77SJbYNqng4oKyo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GkgXT5iqrqQfuRCdmL9S90/I2+om+3dDsG1CsMOfYrNBPiHmZtKquPx0R63S8N5P5 wgFWuAGJGpHBVyIgBemVV4Z0aHzoywfOvBwem9hqyNLeQUDbT49s/91iyARYp14B/B CliEU1Km5QCcWuOhN8btSHxW6/IsnffzIo+8RDn4= 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 rishabhb-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: rishabhb@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 4817D60712; Tue, 8 May 2018 20:22:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1525810975; bh=09lZxLyki0cUBSf06lB1PVzds3Cx77SJbYNqng4oKyo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CwO3bbr0vraJbI0Sz1bDUz7kSDqf1UQV1HEW1BbvAPUbfZg68IKT9Q87yeVBxGaQ7 kxMdmt7cXJcQmZjzZx++c58ysHIIDdNu28MN5jBCl3xqKBDJ/mfByrLF3tLJP1TqiT 00Dwno6t4G0thCG1rGrSyADARfjETsGQlLJbbayg= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 4817D60712 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=rishabhb@codeaurora.org From: Rishabh Bhatnagar To: linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm@lists.infradead.org, tsoni@codeaurora.org, ckadabi@codeaurora.org, evgreen@chromium.org, robh@kernel.org, Rishabh Bhatnagar Subject: [PATCH v6 1/2] dt-bindings: Documentation for qcom, llcc Date: Tue, 8 May 2018 13:22:00 -0700 Message-Id: <1525810921-15878-2-git-send-email-rishabhb@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1525810921-15878-1-git-send-email-rishabhb@codeaurora.org> References: <1525810921-15878-1-git-send-email-rishabhb@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Documentation for last level cache controller device tree bindings, client bindings usage examples. Signed-off-by: Channagoud Kadabi Signed-off-by: Rishabh Bhatnagar --- .../devicetree/bindings/arm/msm/qcom,llcc.txt | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/msm/qcom,llcc.txt 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. + +- max-slices: + usage: required + Value Type: + Definition: Number of cache slices supported by hardware + +Example: + + llcc: qcom,llcc@1100000 { + compatible = "qcom,sdm845-llcc"; + reg = <0x1100000 0x250000>; + max-slices = <32>; + }; -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project