From owner-svn-src-all@freebsd.org Thu Jun 28 23:01:42 2018 Return-Path: Delivered-To: svn-src-all@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 18441102BB31; Thu, 28 Jun 2018 23:01:42 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3C4767304C; Thu, 28 Jun 2018 23:01:40 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id d3b5f5cf; Fri, 29 Jun 2018 01:01:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=SunZE2RKmm7veeWTbCTo3B2eyz8=; b=L5uPb6KEvFkvRaEEZNPp+irajZFS 9YQpUHop1A8wXQmafYoD3iazllnjAQAvKuXbvVrXdoVEZKBpXxcByUFnKqWy/DEl YbH2XgsOHQBZdaKkqhUUP143bn/kWJU88EMbnDj/JcidGBsXPeSssOubcV1KNUW2 uHVQ5HLQHizgo3k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=ndsIFygh8EbfSBiaKVwwrIFB/E1G/c+kM/MJUHGRf2NHbBEgllLansSC ziKfjxF4drEek8t5DuB9WijKzbAJ8U/fMe6NPp6xJn513n+p496qgNbovF7YPA85 0+2jtnVv0Ho8MtJR6o7xnpZjTH8Q4O3mOHxmtcKDyHKmLJ3LrX0= Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id b962e506 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Fri, 29 Jun 2018 01:01:33 +0200 (CEST) Date: Fri, 29 Jun 2018 01:01:32 +0200 From: Emmanuel Vadot To: Oleksandr Tymoshenko Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r335779 - in head/sys: arm/broadcom/bcm2835 conf Message-Id: <20180629010132.0fdedfa7ae660294800f2a34@bidouilliste.com> In-Reply-To: <201806282114.w5SLEXr2061320@repo.freebsd.org> References: <201806282114.w5SLEXr2061320@repo.freebsd.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2018 23:01:42 -0000 On Thu, 28 Jun 2018 21:14:33 +0000 (UTC) Oleksandr Tymoshenko wrote: > Author: gonzo > Date: Thu Jun 28 21:14:33 2018 > New Revision: 335779 > URL: https://svnweb.freebsd.org/changeset/base/335779 > > Log: > [rpi] Add SDHOST device driver for Raspberry Pi > > SDHOST is another SD controller that is present on Raspberry Pi (the > other one is SDHC and handled by bcm2835_sdhci driver). Both > controllers are capable of providing interface to SD card, actual > configuration can be set in dtb file. At the moment custom DTBs for > RPi/RPi2 have sdhost node disabled. On RPi3 sdhost is disabled in > snapshot images by applying mmc.dtbo overlay. To enalbe both devices > user has to edit config.txt on FAT partition and remove or comment > "dtoverlay=mmc" line. > > When no overlay applied on RPi3 SDHOST controls SD card and SDHC > interface can be used for SDIO. mmc.dtbo overlay disables SDHOST node > and switches SD card over to SDHC. Likewise sdhost.dtbo overlay (not > currently included in snapshot image, but can be obtained from firmare > repo[1]) disabled SDHC node and switch SD card over to SDHOST. > > [1] https://github.com/raspberrypi/firmware/tree/master/boot/overlays > > Submitted by: Klaus P. Ohrhallinger > Differential Revision: https://reviews.freebsd.org/D14168 > > Added: > head/sys/arm/broadcom/bcm2835/bcm2835_sdhost.c (contents, props changed) > Modified: > head/sys/arm/broadcom/bcm2835/files.bcm283x > head/sys/conf/files.arm64 > Thanks ! Note that if would be better to take overlays from the rpi-firmware packages as it's where the dtb for the snapshot image is taken. -- Emmanuel Vadot