mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 09:04:24 +00:00
ARM: dts: msm: Update QUPV3 SPlane SPI DTSI Entry for Cinder
Enable QUPV3 SPlane (Synchronization Plane) SPI DTSI Entry for Cinder to allow control of clock chip via spi. Change-Id: Iaa53d231b754eec6fa2b33ed6e6ab445e6fe77b0
This commit is contained in:
27
bindings/spi/qcom,si5518-clk.txt
Normal file
27
bindings/spi/qcom,si5518-clk.txt
Normal file
@@ -0,0 +1,27 @@
|
||||
Binding for SPI slave to control si5518 clock and respective clock buffer.
|
||||
|
||||
SPI includes two chip selects, CS0 is used for si5518 clock and CS1 is used for clock buffer.
|
||||
|
||||
Required properties:
|
||||
- compatible: Should contain "qcom,si5518-clk"
|
||||
- reg: Should contain base register location and length
|
||||
- spi-max-frequency: Specifies maximum SPI clock frequency,
|
||||
Units - Hz. Definition as per
|
||||
Documentation/devicetree/bindings/spi/spi-bus.txt
|
||||
|
||||
Example:
|
||||
|
||||
&qupv3_se14_spi {
|
||||
status = "ok";
|
||||
spidev@0 {
|
||||
compatible = "qcom,si5518-clk";
|
||||
spi-max-frequency = <1000000>;
|
||||
reg = <0>;
|
||||
};
|
||||
spidev@1 {
|
||||
compatible = "qcom,si5518-clk";
|
||||
spi-max-frequency = <1000000>;
|
||||
reg = <1>;
|
||||
};
|
||||
|
||||
};
|
||||
@@ -1253,4 +1253,14 @@
|
||||
status = "ok";
|
||||
};
|
||||
|
||||
&qupv3_se14_spi {
|
||||
status = "ok";
|
||||
spidev@0 {
|
||||
compatible = "qcom,si5518-clk";
|
||||
spi-max-frequency = <1000000>;
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
#include "cinder-thermal.dtsi"
|
||||
|
||||
Reference in New Issue
Block a user