linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 00/12] Improvements to Tegra-based Chromebook support
@ 2015-03-18  9:52 Tomeu Vizoso
  2015-03-18  9:52 ` [PATCH v6 13/13] HACK: Hide RPMB partitions Tomeu Vizoso
       [not found] ` <1426672363-30667-1-git-send-email-tomeu.vizoso-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Tomeu Vizoso @ 2015-03-18  9:52 UTC (permalink / raw)
  To: linux-tegra
  Cc: Tomeu Vizoso, Alexandre Courbot, Asaf Vertz, Ben Hutchings,
	Chris Ball, David Airlie, David Riley, devicetree, dri-devel,
	Ian Campbell, Johan Rudholm, Kumar Gala, Kuninori Morimoto,
	linux-arm-kernel, linux-kernel, linux-mmc, Lukas Czerner,
	Mark Rutland, Mikko Perttunen, Paul Walmsley, Pawel Moll,
	Peter De Schrijver, Rob Herring, Russell King

v6:	* Added Acked-by and Reviewed-By tags
	* Rebased on top of 4.0-rc1
	* Added patch that marks the WiFi card as powered during suspend

v5:	* Moved to use gpio-restart for reboots, had to make tegra_pmc_restart
	a notification handler

v4:	* Added support for the system reset GPIO, for proper reboots
	* Moved out changes to ASOC to their own series, as requested by Mark
	Brown
	* Added patch to reset the SOR, to make sure it's in a known state
	* Changed nvidia,model property of the sound nodes to GoogleNyanBig
	and GoogleNyanBlaze so they can be told apart in userspace

v3:	* Added bindings for the LTN140AT29 panel
	* Removed the delay in pwrseq, as what was actually needed was to add
	a dependency on the power supplies of the host
	* Uses the pinmux for the Blaze as generated by tegra-pinmux-scripts
	* Uses the pinmux for the Big as in the last patch from Simon Glass

Hello,

this series adds support for the Tegra-based HP Chromebook 14 (aka nyan
blaze), which is very similar to the Acer Chromebook 13 (aka nyan big).
Because they both include tegra124-nyan.dtsi, some improvements to Blaze
support have also benefitted the Big. I have tested that USB2, the panels,
HDMI, the trackpad, Wifi and sound work on both.

The leaf DTs contain the whole pinmux configuration as generated by
tegra-pinmux-scripts. I chose to not put the common configuration in the
common dtsi so we can paste the output as is and be sure that the kernel
doesn't diverge from the canonical data.

These patches are based on top of 4.0-rc1.

http://cgit.collabora.com/git/user/tomeu/linux.git/log/?h=nyan-v6

Regards,

Tomeu

David Riley (1):
  soc/tegra: pmc: move to using a restart handler

Stéphane Marchesin (1):
  drm/panel: add support for Samsung LTN140AT29 panel

Tomeu Vizoso (10):
  ARM: tegra: Change model of sound card in Nyan Big
  ARM: tegra: Move out nyan-generic parts out from the nyan-big DT
  ARM: tegra: Add DTS for the nyan-blaze board
  ARM: tegra: Add node for trackpad in Nyan boards
  ARM: tegra: Use pwrseq-simple for the wifi in Nyan
  ARM: tegra: Use the generated pinmux data
  ARM: tegra: Set spi-max-frequency property to flash node
  drm/tegra: Reset the SOR on probe
  ARM: tegra: Add gpio-restart node
  ARM: tegra: The WiFi card is kept powered during suspend

 .../bindings/panel/samsung,ltn140at29-301.txt      |    7 +
 arch/arm/boot/dts/Makefile                         |    1 +
 arch/arm/boot/dts/tegra124-nyan-big.dts            | 2119 +++++++++++---------
 arch/arm/boot/dts/tegra124-nyan-blaze.dts          | 1332 ++++++++++++
 arch/arm/boot/dts/tegra124-nyan.dtsi               |  695 +++++++
 arch/arm/mach-tegra/tegra.c                        |    1 -
 drivers/gpu/drm/panel/panel-simple.c               |   26 +
 drivers/gpu/drm/tegra/sor.c                        |   14 +
 drivers/soc/tegra/pmc.c                            |   31 +-
 9 files changed, 3254 insertions(+), 972 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/panel/samsung,ltn140at29-301.txt
 create mode 100644 arch/arm/boot/dts/tegra124-nyan-blaze.dts
 create mode 100644 arch/arm/boot/dts/tegra124-nyan.dtsi

-- 
2.1.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v6 13/13] HACK: Hide RPMB partitions
  2015-03-18  9:52 [PATCH v6 00/12] Improvements to Tegra-based Chromebook support Tomeu Vizoso
@ 2015-03-18  9:52 ` Tomeu Vizoso
       [not found]   ` <1426672363-30667-14-git-send-email-tomeu.vizoso-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
       [not found] ` <1426672363-30667-1-git-send-email-tomeu.vizoso-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
  1 sibling, 1 reply; 4+ messages in thread
From: Tomeu Vizoso @ 2015-03-18  9:52 UTC (permalink / raw)
  To: linux-tegra
  Cc: Tomeu Vizoso, Chris Ball, Ulf Hansson, Kuninori Morimoto,
	Ben Hutchings, Asaf Vertz, Lukas Czerner, Joe Perches,
	Tobias Klauser, linux-mmc, linux-kernel

---
 drivers/mmc/card/block.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
index c69afb5..f9d8fc3 100644
--- a/drivers/mmc/card/block.c
+++ b/drivers/mmc/card/block.c
@@ -2252,7 +2252,7 @@ static int mmc_blk_alloc_parts(struct mmc_card *card, struct mmc_blk_data *md)
 		return 0;
 
 	for (idx = 0; idx < card->nr_parts; idx++) {
-		if (card->part[idx].size) {
+		if (card->part[idx].size && !(card->part[idx].area_type & MMC_BLK_DATA_AREA_RPMB)) {
 			ret = mmc_blk_alloc_part(card, md,
 				card->part[idx].part_cfg,
 				card->part[idx].size >> 9,
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v6 13/13] HACK: Hide RPMB partitions
       [not found]   ` <1426672363-30667-14-git-send-email-tomeu.vizoso-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
@ 2015-03-18  9:55     ` Tomeu Vizoso
  0 siblings, 0 replies; 4+ messages in thread
From: Tomeu Vizoso @ 2015-03-18  9:55 UTC (permalink / raw)
  To: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
  Cc: Tomeu Vizoso, Chris Ball, Ulf Hansson, Kuninori Morimoto,
	Ben Hutchings, Asaf Vertz, Lukas Czerner, Joe Perches,
	Tobias Klauser, linux-mmc,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

Sorry about the noise, I didn't intend to send this one.

Regards,

Tomeu

On 18 March 2015 at 10:52, Tomeu Vizoso <tomeu.vizoso-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org> wrote:
> ---
>  drivers/mmc/card/block.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c
> index c69afb5..f9d8fc3 100644
> --- a/drivers/mmc/card/block.c
> +++ b/drivers/mmc/card/block.c
> @@ -2252,7 +2252,7 @@ static int mmc_blk_alloc_parts(struct mmc_card *card, struct mmc_blk_data *md)
>                 return 0;
>
>         for (idx = 0; idx < card->nr_parts; idx++) {
> -               if (card->part[idx].size) {
> +               if (card->part[idx].size && !(card->part[idx].area_type & MMC_BLK_DATA_AREA_RPMB)) {
>                         ret = mmc_blk_alloc_part(card, md,
>                                 card->part[idx].part_cfg,
>                                 card->part[idx].size >> 9,
> --
> 2.1.0
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v6 00/12] Improvements to Tegra-based Chromebook support
       [not found] ` <1426672363-30667-1-git-send-email-tomeu.vizoso-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
@ 2015-03-24 10:28   ` Thierry Reding
  0 siblings, 0 replies; 4+ messages in thread
From: Thierry Reding @ 2015-03-24 10:28 UTC (permalink / raw)
  To: Tomeu Vizoso
  Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA, Alexandre Courbot, Asaf Vertz,
	Ben Hutchings, Chris Ball, David Airlie, David Riley,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Ian Campbell,
	Johan Rudholm, Kumar Gala, Kuninori Morimoto,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-mmc-u79uwXL29TY76Z2rM5mHXA, Lukas Czerner, Mark Rutland,
	Mikko Perttunen, Paul Walmsley, Pawel Moll, Peter De Schrijver,
	Rob Herring, Russell King, Ste

[-- Attachment #1: Type: text/plain, Size: 3504 bytes --]

On Wed, Mar 18, 2015 at 10:52:15AM +0100, Tomeu Vizoso wrote:
> v6:	* Added Acked-by and Reviewed-By tags
> 	* Rebased on top of 4.0-rc1
> 	* Added patch that marks the WiFi card as powered during suspend
> 
> v5:	* Moved to use gpio-restart for reboots, had to make tegra_pmc_restart
> 	a notification handler
> 
> v4:	* Added support for the system reset GPIO, for proper reboots
> 	* Moved out changes to ASOC to their own series, as requested by Mark
> 	Brown
> 	* Added patch to reset the SOR, to make sure it's in a known state
> 	* Changed nvidia,model property of the sound nodes to GoogleNyanBig
> 	and GoogleNyanBlaze so they can be told apart in userspace
> 
> v3:	* Added bindings for the LTN140AT29 panel
> 	* Removed the delay in pwrseq, as what was actually needed was to add
> 	a dependency on the power supplies of the host
> 	* Uses the pinmux for the Blaze as generated by tegra-pinmux-scripts
> 	* Uses the pinmux for the Big as in the last patch from Simon Glass
> 
> Hello,
> 
> this series adds support for the Tegra-based HP Chromebook 14 (aka nyan
> blaze), which is very similar to the Acer Chromebook 13 (aka nyan big).
> Because they both include tegra124-nyan.dtsi, some improvements to Blaze
> support have also benefitted the Big. I have tested that USB2, the panels,
> HDMI, the trackpad, Wifi and sound work on both.
> 
> The leaf DTs contain the whole pinmux configuration as generated by
> tegra-pinmux-scripts. I chose to not put the common configuration in the
> common dtsi so we can paste the output as is and be sure that the kernel
> doesn't diverge from the canonical data.
> 
> These patches are based on top of 4.0-rc1.
> 
> http://cgit.collabora.com/git/user/tomeu/linux.git/log/?h=nyan-v6
> 
> Regards,
> 
> Tomeu
> 
> David Riley (1):
>   soc/tegra: pmc: move to using a restart handler
> 
> Stéphane Marchesin (1):
>   drm/panel: add support for Samsung LTN140AT29 panel
> 
> Tomeu Vizoso (10):
>   ARM: tegra: Change model of sound card in Nyan Big
>   ARM: tegra: Move out nyan-generic parts out from the nyan-big DT
>   ARM: tegra: Add DTS for the nyan-blaze board
>   ARM: tegra: Add node for trackpad in Nyan boards
>   ARM: tegra: Use pwrseq-simple for the wifi in Nyan
>   ARM: tegra: Use the generated pinmux data
>   ARM: tegra: Set spi-max-frequency property to flash node
>   drm/tegra: Reset the SOR on probe
>   ARM: tegra: Add gpio-restart node
>   ARM: tegra: The WiFi card is kept powered during suspend
> 
>  .../bindings/panel/samsung,ltn140at29-301.txt      |    7 +
>  arch/arm/boot/dts/Makefile                         |    1 +
>  arch/arm/boot/dts/tegra124-nyan-big.dts            | 2119 +++++++++++---------
>  arch/arm/boot/dts/tegra124-nyan-blaze.dts          | 1332 ++++++++++++
>  arch/arm/boot/dts/tegra124-nyan.dtsi               |  695 +++++++
>  arch/arm/mach-tegra/tegra.c                        |    1 -
>  drivers/gpu/drm/panel/panel-simple.c               |   26 +
>  drivers/gpu/drm/tegra/sor.c                        |   14 +
>  drivers/soc/tegra/pmc.c                            |   31 +-
>  9 files changed, 3254 insertions(+), 972 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/panel/samsung,ltn140at29-301.txt
>  create mode 100644 arch/arm/boot/dts/tegra124-nyan-blaze.dts
>  create mode 100644 arch/arm/boot/dts/tegra124-nyan.dtsi

Patches 1, 2, 4-8, 11 and 12 applied to the for-4.1/dt branch.

Thanks,
Thierry

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-24 10:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-18  9:52 [PATCH v6 00/12] Improvements to Tegra-based Chromebook support Tomeu Vizoso
2015-03-18  9:52 ` [PATCH v6 13/13] HACK: Hide RPMB partitions Tomeu Vizoso
     [not found]   ` <1426672363-30667-14-git-send-email-tomeu.vizoso-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
2015-03-18  9:55     ` Tomeu Vizoso
     [not found] ` <1426672363-30667-1-git-send-email-tomeu.vizoso-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
2015-03-24 10:28   ` [PATCH v6 00/12] Improvements to Tegra-based Chromebook support Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).