Loading bindings/iio/adc/qcom,spmi-vadc.txt +55 −5 Original line number Diff line number Diff line Loading @@ -11,12 +11,13 @@ VADC node: Usage: required Value type: <string> Definition: Should contain "qcom,spmi-vadc". Should contain "qcom,spmi-adc5-gen3" for PMIC5 Gen3 ADC driver. Should contain "qcom,spmi-adc7" for PMIC7 ADC driver. Should contain "qcom,spmi-adc5" for PMIC5 ADC driver. Should contain "qcom,spmi-adc-rev2" for PMIC rev2 ADC driver. Should contain "qcom,spmi-adc5-gen3" for PMIC5 Gen3 ADC. Should contain "qcom,spmi-adc7" for PMIC7 ADC. Should contain "qcom,spmi-adc5" for PMIC5 ADC. Should contain "qcom,spmi-adc-rev2" for PMIC rev2 ADC. Should contain "qcom,pms405-adc" for PMS405 PMIC Should contain "qcom,spmi-adc5-lite" for PMIC5 ADC-lite driver. Should contain "qcom,spmi-adc5-lite" for PMIC5 ADC-lite. Should contain "qcom,spmi-adc7-sw-calib" for PMIC7 SW-calibrated ADC. - reg: Usage: required Value type: <prop-encoded-array> Loading Loading @@ -108,6 +109,19 @@ Channel node properties: If property is not found, channel will be calibrated with 0V and 1.25V reference channels, also known as absolute calibration. - qcom,no-cal: Usage: optional Value type: <empty> Definition: Channel calibration type. - For compatible property "qcom,spmi-adc7-sw-calib", if this property is specified for a channel, VADC will not use any reference channels for that channel's calibration. It is needed for the three calibration channels alone (ADC7_REF_GND, ADC7_1P25VREF and ADC7_VREF_VADC), mutually exclusive with ratiometric calibration and not meant for any other compatible property. If property is not found, channel will be calibrated with 0.625V and 1.25V reference channels, also known as absolute calibration. - qcom,hw-settle-time: Usage: optional Value type: <u32> Loading Loading @@ -187,6 +201,11 @@ configuration nodes should be defined: VADC_REF_625MV and/or VADC_SPARE1(based on PMIC version) VADC_REF_1250MV, VADC_GND_REF and VADC_VDD_VADC. For compatible property "qcom,spmi-adc7-sw-calib" following channels, also known as reference point channels, are used for result calibration and their channel configuration nodes should be defined: ADC7_REF_GND, ADC7_1P25VREF and ADC7_VREF_VADC. Example1: #include <dt-bindings/iio/qcom,spmi-vadc.h> Loading Loading @@ -265,3 +284,34 @@ Example2: io-channels = <&pm5100_adc PM5100_ADC5_GEN3_VPH_PWR>; io-channel-names = "vph_pwr"; }; Example3: #include <dt-bindings/iio/qcom,spmi-vadc.h> #include <linux/irq.h> /* ... */ /* VADC node */ pmr735a_vadc: vadc@3600 { compatible = "qcom,spmi-adc7-sw-calib"; reg = <0x3600>, <0x3900>; reg-names = "adc5-sw-calib-pbs-base", "adc5-sw-calib-cmn-base"; interrupts = <0x4 0x36 0x0 IRQ_TYPE_EDGE_RISING>; #address-cells = <1>; #size-cells = <0>; #io-channel-cells = <1>; io-channel-ranges; /* Channel node */ pmr735a_die_temp { reg = <ADC7_DIE_TEMP>; label = "pmr735a_die_temp"; qcom,pre-scaling = <1 1>; }; }; /* IIO client node */ pmr735a_tz { io-channels = <&pmr735a_vadc ADC7_DIE_TEMP>; io-channel-names = "thermal"; }; bindings/platform/msm/ipa.txt +2 −0 Original line number Diff line number Diff line Loading @@ -141,6 +141,8 @@ memory allocation over a PCIe bridge is supported or not in this target. - qcom,bw-monitor-supported: Boolean context flag to indicate BW monitor feature support. - qcom,fnr-stats-not-supported: Boolean context flag to indicate FnR stats query support is present or not for the target. IPA pipe sub nodes (A2 static pipes configurations): Loading bindings/soc/qcom/qcom,msm-eud.yaml +5 −0 Original line number Diff line number Diff line Loading @@ -40,6 +40,11 @@ properties: Value type: <string> Definition: Must be "eud_irq" interrupt-mask: Usage: optional Value type: <prop-encoded-array> Definition: offset of the interrupt mask for apps if not INT1 reg-names: Usage: optional Value type: <string> Loading qcom/Makefile +3 −0 Original line number Diff line number Diff line Loading @@ -415,8 +415,10 @@ dtb-$(CONFIG_ARCH_SDXLEMUR) += sdxlemur-rumi.dtb \ sdxlemur-mtp-mbb-emmc-512mb.dtb \ sdxlemur-mtp-mbb-ntn3-pcie.dtb \ sdxlemur-mtp-mbb-pcie-ep.dtb \ sdxlemur-mtp-mbb-pcie-ep-ipq.dtb \ sdxlemur-mtp-mbb-pcie-rc-ep.dtb \ sdxlemur-mtp-mbb-m2-ep.dtb \ sdxlemur-mtp-mbb-m2-ep-usb.dtb \ sdxlemur-mtp-mbb.dtb \ sdxlemur-rcm-pcie-ep.dtb \ sdxlemur-rcm-rc.dtb \ Loading @@ -428,6 +430,7 @@ dtb-$(CONFIG_ARCH_SDXLEMUR) += sdxlemur-rumi.dtb \ sdxlemur-v2-mtp-mbb-emmc.dtb \ sdxlemur-v2-mtp-mbb-ntn3-pcie.dtb \ sdxlemur-v2-mtp-mbb-pcie-ep.dtb \ sdxlemur-v2-mtp-mbb-pcie-ep-ipq.dtb \ sdxlemur-v2-mtp-mbb-pcie-rc-ep.dtb \ sdxlemur-v2-rcm-pcie-ep.dtb \ sdxlemur-v2-rcm-rc.dtb Loading qcom/blair-qrd.dtsi +1 −1 Original line number Diff line number Diff line Loading @@ -148,7 +148,7 @@ }; &holi_snd { qcom,model = "holi-qrd-snd-card"; qcom,model = "holi-qrdsku1-snd-card"; qcom,sku-model = "holi-qrdsku1-snd-card"; qcom,msm-mi2s-master = <1>, <1>, <1>, <1>; qcom,wcn-btfm = <1>; Loading Loading
bindings/iio/adc/qcom,spmi-vadc.txt +55 −5 Original line number Diff line number Diff line Loading @@ -11,12 +11,13 @@ VADC node: Usage: required Value type: <string> Definition: Should contain "qcom,spmi-vadc". Should contain "qcom,spmi-adc5-gen3" for PMIC5 Gen3 ADC driver. Should contain "qcom,spmi-adc7" for PMIC7 ADC driver. Should contain "qcom,spmi-adc5" for PMIC5 ADC driver. Should contain "qcom,spmi-adc-rev2" for PMIC rev2 ADC driver. Should contain "qcom,spmi-adc5-gen3" for PMIC5 Gen3 ADC. Should contain "qcom,spmi-adc7" for PMIC7 ADC. Should contain "qcom,spmi-adc5" for PMIC5 ADC. Should contain "qcom,spmi-adc-rev2" for PMIC rev2 ADC. Should contain "qcom,pms405-adc" for PMS405 PMIC Should contain "qcom,spmi-adc5-lite" for PMIC5 ADC-lite driver. Should contain "qcom,spmi-adc5-lite" for PMIC5 ADC-lite. Should contain "qcom,spmi-adc7-sw-calib" for PMIC7 SW-calibrated ADC. - reg: Usage: required Value type: <prop-encoded-array> Loading Loading @@ -108,6 +109,19 @@ Channel node properties: If property is not found, channel will be calibrated with 0V and 1.25V reference channels, also known as absolute calibration. - qcom,no-cal: Usage: optional Value type: <empty> Definition: Channel calibration type. - For compatible property "qcom,spmi-adc7-sw-calib", if this property is specified for a channel, VADC will not use any reference channels for that channel's calibration. It is needed for the three calibration channels alone (ADC7_REF_GND, ADC7_1P25VREF and ADC7_VREF_VADC), mutually exclusive with ratiometric calibration and not meant for any other compatible property. If property is not found, channel will be calibrated with 0.625V and 1.25V reference channels, also known as absolute calibration. - qcom,hw-settle-time: Usage: optional Value type: <u32> Loading Loading @@ -187,6 +201,11 @@ configuration nodes should be defined: VADC_REF_625MV and/or VADC_SPARE1(based on PMIC version) VADC_REF_1250MV, VADC_GND_REF and VADC_VDD_VADC. For compatible property "qcom,spmi-adc7-sw-calib" following channels, also known as reference point channels, are used for result calibration and their channel configuration nodes should be defined: ADC7_REF_GND, ADC7_1P25VREF and ADC7_VREF_VADC. Example1: #include <dt-bindings/iio/qcom,spmi-vadc.h> Loading Loading @@ -265,3 +284,34 @@ Example2: io-channels = <&pm5100_adc PM5100_ADC5_GEN3_VPH_PWR>; io-channel-names = "vph_pwr"; }; Example3: #include <dt-bindings/iio/qcom,spmi-vadc.h> #include <linux/irq.h> /* ... */ /* VADC node */ pmr735a_vadc: vadc@3600 { compatible = "qcom,spmi-adc7-sw-calib"; reg = <0x3600>, <0x3900>; reg-names = "adc5-sw-calib-pbs-base", "adc5-sw-calib-cmn-base"; interrupts = <0x4 0x36 0x0 IRQ_TYPE_EDGE_RISING>; #address-cells = <1>; #size-cells = <0>; #io-channel-cells = <1>; io-channel-ranges; /* Channel node */ pmr735a_die_temp { reg = <ADC7_DIE_TEMP>; label = "pmr735a_die_temp"; qcom,pre-scaling = <1 1>; }; }; /* IIO client node */ pmr735a_tz { io-channels = <&pmr735a_vadc ADC7_DIE_TEMP>; io-channel-names = "thermal"; };
bindings/platform/msm/ipa.txt +2 −0 Original line number Diff line number Diff line Loading @@ -141,6 +141,8 @@ memory allocation over a PCIe bridge is supported or not in this target. - qcom,bw-monitor-supported: Boolean context flag to indicate BW monitor feature support. - qcom,fnr-stats-not-supported: Boolean context flag to indicate FnR stats query support is present or not for the target. IPA pipe sub nodes (A2 static pipes configurations): Loading
bindings/soc/qcom/qcom,msm-eud.yaml +5 −0 Original line number Diff line number Diff line Loading @@ -40,6 +40,11 @@ properties: Value type: <string> Definition: Must be "eud_irq" interrupt-mask: Usage: optional Value type: <prop-encoded-array> Definition: offset of the interrupt mask for apps if not INT1 reg-names: Usage: optional Value type: <string> Loading
qcom/Makefile +3 −0 Original line number Diff line number Diff line Loading @@ -415,8 +415,10 @@ dtb-$(CONFIG_ARCH_SDXLEMUR) += sdxlemur-rumi.dtb \ sdxlemur-mtp-mbb-emmc-512mb.dtb \ sdxlemur-mtp-mbb-ntn3-pcie.dtb \ sdxlemur-mtp-mbb-pcie-ep.dtb \ sdxlemur-mtp-mbb-pcie-ep-ipq.dtb \ sdxlemur-mtp-mbb-pcie-rc-ep.dtb \ sdxlemur-mtp-mbb-m2-ep.dtb \ sdxlemur-mtp-mbb-m2-ep-usb.dtb \ sdxlemur-mtp-mbb.dtb \ sdxlemur-rcm-pcie-ep.dtb \ sdxlemur-rcm-rc.dtb \ Loading @@ -428,6 +430,7 @@ dtb-$(CONFIG_ARCH_SDXLEMUR) += sdxlemur-rumi.dtb \ sdxlemur-v2-mtp-mbb-emmc.dtb \ sdxlemur-v2-mtp-mbb-ntn3-pcie.dtb \ sdxlemur-v2-mtp-mbb-pcie-ep.dtb \ sdxlemur-v2-mtp-mbb-pcie-ep-ipq.dtb \ sdxlemur-v2-mtp-mbb-pcie-rc-ep.dtb \ sdxlemur-v2-rcm-pcie-ep.dtb \ sdxlemur-v2-rcm-rc.dtb Loading
qcom/blair-qrd.dtsi +1 −1 Original line number Diff line number Diff line Loading @@ -148,7 +148,7 @@ }; &holi_snd { qcom,model = "holi-qrd-snd-card"; qcom,model = "holi-qrdsku1-snd-card"; qcom,sku-model = "holi-qrdsku1-snd-card"; qcom,msm-mi2s-master = <1>, <1>, <1>, <1>; qcom,wcn-btfm = <1>; Loading