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 DT for the Big includes the pinmux configuration as generated by tegra-pinmux-scripts with Simon's patch at:
https://patchwork.ozlabs.org/patch/417779/
These patches are based on top of linux-next 20150128.
http://cgit.collabora.com/git/user/tomeu/linux.git/log/?h=nyan-v3
Regards,
Tomeu
Stéphane Marchesin (1): drm/panel: add support for Samsung LTN140AT29 panel
Tomeu Vizoso (9): ARM: tegra: Set the sound card model that alsaucm expects 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 ASoC: tegra: Add a control for the headphone switch ASoC: tegra: add sink for the internal mic to tegra_max98090 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
.../bindings/panel/samsung,ltn140at29-301.txt | 7 + .../bindings/sound/nvidia,tegra-audio-max98090.txt | 1 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/tegra124-nyan-big.dts | 2112 +++++++++++--------- arch/arm/boot/dts/tegra124-nyan-blaze.dts | 1325 ++++++++++++ arch/arm/boot/dts/tegra124-nyan.dtsi | 692 +++++++ drivers/gpu/drm/panel/panel-simple.c | 26 + sound/soc/tegra/tegra_max98090.c | 3 + 8 files changed, 3206 insertions(+), 961 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
From: Stéphane Marchesin marcheu@chromium.org
This panel is used by the Nyan Blaze board and supported by the simple-panel driver.
Signed-off-by: Stéphane Marchesin marcheu@chromium.org [tomeu.vizoso@collabora.com: add device tree binding document] Signed-off-by: Tomeu Vizoso tomeu.vizoso@collabora.com --- .../bindings/panel/samsung,ltn140at29-301.txt | 7 ++++++ drivers/gpu/drm/panel/panel-simple.c | 26 ++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/panel/samsung,ltn140at29-301.txt
diff --git a/Documentation/devicetree/bindings/panel/samsung,ltn140at29-301.txt b/Documentation/devicetree/bindings/panel/samsung,ltn140at29-301.txt new file mode 100644 index 0000000..e7f969d --- /dev/null +++ b/Documentation/devicetree/bindings/panel/samsung,ltn140at29-301.txt @@ -0,0 +1,7 @@ +Samsung Electronics 14" WXGA (1366x768) TFT LCD panel + +Required properties: +- compatible: should be "samsung,ltn140at29-301" + +This binding is compatible with the simple-panel binding, which is specified +in simple-panel.txt in this directory. diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 39806c3..2da2285 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -779,6 +779,29 @@ static const struct panel_desc samsung_ltn101nt05 = { }, };
+static const struct drm_display_mode samsung_ltn140at29_301_mode = { + .clock = 76300, + .hdisplay = 1366, + .hsync_start = 1366 + 64, + .hsync_end = 1366 + 64 + 48, + .htotal = 1366 + 64 + 48 + 128, + .vdisplay = 768, + .vsync_start = 768 + 2, + .vsync_end = 768 + 2 + 5, + .vtotal = 768 + 2 + 5 + 17, + .vrefresh = 60, +}; + +static const struct panel_desc samsung_ltn140at29_301 = { + .modes = &samsung_ltn140at29_301_mode, + .num_modes = 1, + .bpc = 6, + .size = { + .width = 320, + .height = 187, + }, +}; + static const struct of_device_id platform_of_match[] = { { .compatible = "auo,b101aw03", @@ -841,6 +864,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "samsung,ltn101nt05", .data = &samsung_ltn101nt05, }, { + .compatible = "samsung,ltn140at29-301", + .data = &samsung_ltn140at29_301, + }, { /* sentinel */ } };
dri-devel@lists.freedesktop.org