Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2018 22:55:22 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335592 - head/sys/dts/arm/overlays
Message-ID:  <201806232255.w5NMtMLb094575@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Sat Jun 23 22:55:22 2018
New Revision: 335592
URL: https://svnweb.freebsd.org/changeset/base/335592

Log:
  Add spi-max-frequency properties to all spigen nodes.  This is a required
  property for spi devices, although in the spigen case it's expected that
  the speed will be overridden at runtime via the ioctl interface.  A very
  conservative 500khz speed is used (I've never seen a spi device that
  couldn't run at 1mhz).

Modified:
  head/sys/dts/arm/overlays/spigen-rpi-b.dtso
  head/sys/dts/arm/overlays/spigen-rpi2.dtso

Modified: head/sys/dts/arm/overlays/spigen-rpi-b.dtso
==============================================================================
--- head/sys/dts/arm/overlays/spigen-rpi-b.dtso	Sat Jun 23 22:45:22 2018	(r335591)
+++ head/sys/dts/arm/overlays/spigen-rpi-b.dtso	Sat Jun 23 22:55:22 2018	(r335592)
@@ -13,11 +13,13 @@
 	spigen0: spigen0 {
 		compatible = "freebsd,spigen";
 		reg = <0>;
+		spi-max-frequency = <500000>; /* Req'd property, override with spi(8) */
 		status = "okay";
 	};
 	spigen1: spigen1 {
 		compatible = "freebsd,spigen";
 		reg = <1>;
+		spi-max-frequency = <500000>; /* Req'd property, override with spi(8) */
 		status = "okay";
 	};
 };

Modified: head/sys/dts/arm/overlays/spigen-rpi2.dtso
==============================================================================
--- head/sys/dts/arm/overlays/spigen-rpi2.dtso	Sat Jun 23 22:45:22 2018	(r335591)
+++ head/sys/dts/arm/overlays/spigen-rpi2.dtso	Sat Jun 23 22:55:22 2018	(r335592)
@@ -17,11 +17,13 @@
 	spigen1: spigen1 {
 		compatible = "freebsd,spigen";
 		reg = <1>;
+		spi-max-frequency = <500000>; /* Req'd property, override with spi(8) */
 		status = "okay";
 	};
 	spigen2: spigen2 {
 		compatible = "freebsd,spigen";
 		reg = <2>;
+		spi-max-frequency = <500000>; /* Req'd property, override with spi(8) */
 		status = "okay";
 	};
 };



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806232255.w5NMtMLb094575>