From owner-svn-src-head@freebsd.org Sat Jun 23 22:55:23 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 62B3D1009C78; Sat, 23 Jun 2018 22:55:23 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 11E4A95A77; Sat, 23 Jun 2018 22:55:23 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E1ED71631B; Sat, 23 Jun 2018 22:55:22 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5NMtMNg094576; Sat, 23 Jun 2018 22:55:22 GMT (envelope-from ian@FreeBSD.org) Received: (from ian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5NMtMLb094575; Sat, 23 Jun 2018 22:55:22 GMT (envelope-from ian@FreeBSD.org) Message-Id: <201806232255.w5NMtMLb094575@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ian set sender to ian@FreeBSD.org using -f From: Ian Lepore Date: Sat, 23 Jun 2018 22:55:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r335592 - head/sys/dts/arm/overlays X-SVN-Group: head X-SVN-Commit-Author: ian X-SVN-Commit-Paths: head/sys/dts/arm/overlays X-SVN-Commit-Revision: 335592 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jun 2018 22:55:23 -0000 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"; }; };