Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: interconnect: Add OSM L3 DT bindings

Add bindings for Operating State Manager (OSM) L3 interconnect provider
on SDM845 SoCs.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
Link: https://lore.kernel.org/r/20200227105632.15041-3-sibis@codeaurora.org
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>

authored by

Sibi Sankar and committed by
Georgi Djakov
7a077f7f 78465b0d

+73
+61
Documentation/devicetree/bindings/interconnect/qcom,osm-l3.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/interconnect/qcom,osm-l3.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Qualcomm Operating State Manager (OSM) L3 Interconnect Provider 8 + 9 + maintainers: 10 + - Sibi Sankar <sibis@codeaurora.org> 11 + 12 + description: 13 + L3 cache bandwidth requirements on Qualcomm SoCs is serviced by the OSM. 14 + The OSM L3 interconnect provider aggregates the L3 bandwidth requests 15 + from CPU/GPU and relays it to the OSM. 16 + 17 + properties: 18 + compatible: 19 + enum: 20 + - qcom,sdm845-osm-l3 21 + 22 + reg: 23 + maxItems: 1 24 + 25 + clocks: 26 + items: 27 + - description: xo clock 28 + - description: alternate clock 29 + 30 + clock-names: 31 + items: 32 + - const: xo 33 + - const: alternate 34 + 35 + '#interconnect-cells': 36 + const: 1 37 + 38 + required: 39 + - compatible 40 + - reg 41 + - clocks 42 + - clock-names 43 + - '#interconnect-cells' 44 + 45 + additionalProperties: false 46 + 47 + examples: 48 + - | 49 + 50 + #define GPLL0 165 51 + #define RPMH_CXO_CLK 0 52 + 53 + osm_l3: interconnect@17d41000 { 54 + compatible = "qcom,sdm845-osm-l3"; 55 + reg = <0x17d41000 0x1400>; 56 + 57 + clocks = <&rpmhcc RPMH_CXO_CLK>, <&gcc GPLL0>; 58 + clock-names = "xo", "alternate"; 59 + 60 + #interconnect-cells = <1>; 61 + };
+12
include/dt-bindings/interconnect/qcom,osm-l3.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 + /* 3 + * Copyright (C) 2019 The Linux Foundation. All rights reserved. 4 + */ 5 + 6 + #ifndef __DT_BINDINGS_INTERCONNECT_QCOM_OSM_L3_H 7 + #define __DT_BINDINGS_INTERCONNECT_QCOM_OSM_L3_H 8 + 9 + #define MASTER_OSM_L3_APPS 0 10 + #define SLAVE_OSM_L3 1 11 + 12 + #endif