dt-bindings: pci: Add device_type, cesta-l1sub-timeout-ext-int property
Add the device_type property in the pci device tree as a mandatory property so that the ranges property will be read correctly by the of framework (of.c) file when pci framework is parsing the pci device tree nodes. Also add the qcom,cesta-l1sub-timeout-ext-int property as an optional property for the platforms that have cesta clkreq routing bit disabled and legacy l1ss timeout enabled by default. The presence of this property on a cesta enabled platform will enable routing of the L1ss timeout interrupt to cesta HW block instead of routing it to APPS subsystem. Change-Id: I96db05d6cd38f507c7ddba968ee65808b8263076 Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
This commit is contained in:
@@ -398,6 +398,11 @@ properties:
|
|||||||
description: Offset from PCIe PHY base to PCIe CESTA CLKREQ register.
|
description: Offset from PCIe PHY base to PCIe CESTA CLKREQ register.
|
||||||
$ref: /schemas/types.yaml#/definitions/uint32
|
$ref: /schemas/types.yaml#/definitions/uint32
|
||||||
|
|
||||||
|
qcom,cesta-l1sub-timeout-ext-int:
|
||||||
|
description: Sets PARF_CESTA_L1SUB_TIMEOUT_EXT_INT_EN bit in
|
||||||
|
PARF L1SUB_CESTA_CTRL register.
|
||||||
|
type: boolean
|
||||||
|
|
||||||
qcom,core-preset:
|
qcom,core-preset:
|
||||||
description: Determines how aggressive the PCIe PHY equalization is for
|
description: Determines how aggressive the PCIe PHY equalization is for
|
||||||
Gen3 cores. The following are recommended settings.
|
Gen3 cores. The following are recommended settings.
|
||||||
@@ -535,6 +540,7 @@ required:
|
|||||||
- cell-index
|
- cell-index
|
||||||
- linux,pci-domain
|
- linux,pci-domain
|
||||||
- ranges
|
- ranges
|
||||||
|
- device_type
|
||||||
- interrupts
|
- interrupts
|
||||||
- interrupt-names
|
- interrupt-names
|
||||||
- perst-gpio
|
- perst-gpio
|
||||||
@@ -549,7 +555,11 @@ required:
|
|||||||
- reset-names
|
- reset-names
|
||||||
- dma-coherent
|
- dma-coherent
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
qcom,cesta-l1sub-timeout-ext-int: [ 'qcom,pcie-sm-seq', 'qcom,pcie-clkreq-offset' ]
|
||||||
|
|
||||||
allOf:
|
allOf:
|
||||||
|
- $ref: "/schemas/pci/pci-bus.yaml#"
|
||||||
- if:
|
- if:
|
||||||
properties:
|
properties:
|
||||||
reg-names:
|
reg-names:
|
||||||
@@ -576,7 +586,7 @@ allOf:
|
|||||||
qcom,pcie-sm-branch-seq: false
|
qcom,pcie-sm-branch-seq: false
|
||||||
qcom,pcie-sm-debug: false
|
qcom,pcie-sm-debug: false
|
||||||
|
|
||||||
additionalProperties: false
|
unevaluatedProperties: false
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
- |
|
- |
|
||||||
@@ -587,8 +597,9 @@ examples:
|
|||||||
#include <dt-bindings/interconnect/qcom,pineapple.h>
|
#include <dt-bindings/interconnect/qcom,pineapple.h>
|
||||||
#include <dt-bindings/clock/qcom,rpmh.h>
|
#include <dt-bindings/clock/qcom,rpmh.h>
|
||||||
#include <dt-bindings/clock/qcom,tcsrcc-pineapple.h>
|
#include <dt-bindings/clock/qcom,tcsrcc-pineapple.h>
|
||||||
pcie0: qcom,pcie@1c00000 {
|
pcie0: pcie@1c00000 {
|
||||||
compatible = "qcom,pci-msm";
|
compatible = "qcom,pci-msm";
|
||||||
|
device_type = "pci";
|
||||||
|
|
||||||
reg = <0x01c00000 0x3000>,
|
reg = <0x01c00000 0x3000>,
|
||||||
<0x01c06000 0x2000>,
|
<0x01c06000 0x2000>,
|
||||||
@@ -851,8 +862,9 @@ examples:
|
|||||||
#include <dt-bindings/interconnect/qcom,pineapple.h>
|
#include <dt-bindings/interconnect/qcom,pineapple.h>
|
||||||
#include <dt-bindings/clock/qcom,rpmh.h>
|
#include <dt-bindings/clock/qcom,rpmh.h>
|
||||||
#include <dt-bindings/clock/qcom,tcsrcc-pineapple.h>
|
#include <dt-bindings/clock/qcom,tcsrcc-pineapple.h>
|
||||||
pcie1: qcom,pcie@1c08000 {
|
pcie1: pcie@1c08000 {
|
||||||
compatible = "qcom,pci-msm";
|
compatible = "qcom,pci-msm";
|
||||||
|
device_type = "pci";
|
||||||
|
|
||||||
reg = <0x01c08000 0x3000>,
|
reg = <0x01c08000 0x3000>,
|
||||||
<0x01c0e000 0x2000>,
|
<0x01c0e000 0x2000>,
|
||||||
|
Reference in New Issue
Block a user