Skip to content

Commit

Permalink
Merge pull request #7 from brain-hackers/pwsh7
Browse files Browse the repository at this point in the history
Add support for PW-SH7
  • Loading branch information
puhitaku committed Mar 21, 2021
2 parents 9125be3 + 89ebef8 commit 1f760c2
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 5 deletions.
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/Makefile
Expand Up @@ -672,7 +672,8 @@ dtb-$(CONFIG_ARCH_MXS) += \
imx28-pwsh3.dtb \
imx28-pwsh4.dtb \
imx28-pwsh5.dtb \
imx28-pwsh6.dtb
imx28-pwsh6.dtb \
imx28-pwsh7.dtb
dtb-$(CONFIG_ARCH_NOMADIK) += \
ste-nomadik-s8815.dtb \
ste-nomadik-nhk15.dtb
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/imx28-pwsh5.dts
Expand Up @@ -6,8 +6,8 @@
#include "imx28-brain.dtsi"

/ {
model = "SHARP Brain PW-SH6";
compatible = "sharp,pw-sh6", "sharp,brain", "fsl,imx28";
model = "SHARP Brain PW-SH5";
compatible = "sharp,pw-sh5", "sharp,brain", "fsl,imx28";
};

&brainlcd {
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/imx28-pwsh6.dts
Expand Up @@ -6,8 +6,8 @@
#include "imx28-brain.dtsi"

/ {
model = "SHARP Brain PW-SH3";
compatible = "sharp,pw-sh3", "sharp,brain", "fsl,imx28";
model = "SHARP Brain PW-SH6";
compatible = "sharp,pw-sh6", "sharp,brain", "fsl,imx28";
};

&brainlcd {
Expand Down
28 changes: 28 additions & 0 deletions arch/arm/boot/dts/imx28-pwsh7.dts
@@ -0,0 +1,28 @@
// SPDX-License-Identifier: GPL-2.0+
//
// Copyright 2012 Freescale Semiconductor, Inc.

/dts-v1/;
#include "imx28-brain.dtsi"

/ {
model = "SHARP Brain PW-SH7";
compatible = "sharp,pw-sh7", "sharp,brain", "fsl,imx28";
};

&brainlcd {
status = "okay";

sharp,lcd-width = <854>;
sharp,lcd-height = <480>;
sharp,lcd-width-mm = <121>;
sharp,lcd-height-mm = <68>;

sharp,mac-flip-y-gs;
sharp,mac-transpose;

sharp,en-gpios =
<&gpio0 26 GPIO_ACTIVE_HIGH>,
<&gpio0 27 GPIO_ACTIVE_HIGH>,
<&gpio4 16 GPIO_ACTIVE_HIGH>;
};

0 comments on commit 1f760c2

Please sign in to comment.