Path: blob/master/Documentation/devicetree/bindings/bus/qcom,ssc-block-bus.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/bus/qcom,ssc-block-bus.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: The AHB Bus Providing a Global View of the SSC Block on (some) qcom SoCs78maintainers:9- Michael Srba <Michael.Srba@seznam.cz>1011description: |12This binding describes the dependencies (clocks, resets, power domains) which13need to be turned on in a sequence before communication over the AHB bus14becomes possible.1516Additionally, the reg property is used to pass to the driver the location of17two sadly undocumented registers which need to be poked as part of the sequence.1819The SSC (Snapdragon Sensor Core) block contains a gpio controller, i2c/spi/uart20controllers, a hexagon core, and a clock controller which provides clocks for21the above.2223properties:24compatible:25items:26- const: qcom,msm8998-ssc-block-bus27- const: qcom,ssc-block-bus2829reg:30items:31- description: SSCAON_CONFIG0 registers32- description: SSCAON_CONFIG1 registers3334reg-names:35items:36- const: mpm_sscaon_config037- const: mpm_sscaon_config13839'#address-cells':40enum: [ 1, 2 ]4142'#size-cells':43enum: [ 1, 2 ]4445ranges: true4647clocks:48maxItems: 64950clock-names:51items:52- const: xo53- const: aggre254- const: gcc_im_sleep55- const: aggre2_north56- const: ssc_xo57- const: ssc_ahbs5859power-domains:60items:61- description: CX power domain62- description: MX power domain6364power-domain-names:65items:66- const: ssc_cx67- const: ssc_mx6869resets:70items:71- description: Main reset72- description:73SSC Branch Control Register reset (associated with the ssc_xo and74ssc_ahbs clocks)7576reset-names:77items:78- const: ssc_reset79- const: ssc_bcr8081qcom,halt-regs:82$ref: /schemas/types.yaml#/definitions/phandle-array83description: describes how to locate the ssc AXI halt register84items:85- items:86- description: Phandle reference to a syscon representing TCSR87- description: offset for the ssc AXI halt register8889required:90- compatible91- reg92- reg-names93- '#address-cells'94- '#size-cells'95- ranges96- clocks97- clock-names98- power-domains99- power-domain-names100- resets101- reset-names102- qcom,halt-regs103104additionalProperties:105type: object106107examples:108- |109#include <dt-bindings/clock/qcom,gcc-msm8998.h>110#include <dt-bindings/clock/qcom,rpmcc.h>111#include <dt-bindings/power/qcom-rpmpd.h>112113soc {114#address-cells = <1>;115#size-cells = <1>;116117// devices under this node are physically located in the SSC block, connected to an ssc-internal bus;118ssc_ahb_slave: bus@10ac008 {119#address-cells = <1>;120#size-cells = <1>;121ranges;122123compatible = "qcom,msm8998-ssc-block-bus", "qcom,ssc-block-bus";124reg = <0x10ac008 0x4>, <0x10ac010 0x4>;125reg-names = "mpm_sscaon_config0", "mpm_sscaon_config1";126127clocks = <&xo>,128<&rpmcc RPM_SMD_AGGR2_NOC_CLK>,129<&gcc GCC_IM_SLEEP>,130<&gcc AGGRE2_SNOC_NORTH_AXI>,131<&gcc SSC_XO>,132<&gcc SSC_CNOC_AHBS_CLK>;133clock-names = "xo", "aggre2", "gcc_im_sleep", "aggre2_north", "ssc_xo", "ssc_ahbs";134135resets = <&gcc GCC_SSC_RESET>, <&gcc GCC_SSC_BCR>;136reset-names = "ssc_reset", "ssc_bcr";137138power-domains = <&rpmpd MSM8998_SSCCX>, <&rpmpd MSM8998_SSCMX>;139power-domain-names = "ssc_cx", "ssc_mx";140141qcom,halt-regs = <&tcsr_mutex_regs 0x26000>;142};143};144145146