
26 Feb
2015
26 Feb
'15
12:15 a.m.
On 02/17/2015 03:29 PM, Simon Glass wrote:
Enable the EC and keyboard, using the SPI bus.
The EC driver requires a particular format and a deactivation delay. Also U-Boot does not support interrupts.
For now, adjust the device tree to comply. At some point we should tidy this up to support interrupts and make tegra and exynos use the same setup.
diff --git a/arch/arm/dts/tegra124-nyan-big.dts b/arch/arm/dts/tegra124-nyan-big.dts
spi@7000d400 { status = "okay";
spi-deactivate-delay = <200>;
spi-max-frequency = <3000000>;
cros_ec: cros-ec@0 {
compatible = "google,cros-ec-spi";
spi-max-frequency = <3000000>;
compatible = "google,cros-ec";
I recall some discussion that implied both the SPI bus/controller node and the SPI device node both needed an spi-max-frequency property. Can you double-check this change conforms with the DT binding, and whatever Linux has in its DT files?