From: Andrei Gherzan <andrei@gherzan.ro>
To: Khem Raj <raj.khem@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: [meta-raspberrypi][PATCH 1/5] pitft: Add support for pitft35r
Date: Mon, 17 Apr 2017 02:28:37 +0100 [thread overview]
Message-ID: <20170417012837.GE16624@carbonA> (raw)
In-Reply-To: <20170414162035.23522-1-raj.khem@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3545 bytes --]
On Fri, Apr 14, 2017 at 09:20:31AM -0700, Khem Raj wrote:
> From: Rob Woolley <rob.woolley@windriver.com>
>
> The support for the PiTFT 3.5 inch resistive touchscreen is optional.
> It may be enabled by adding the following line in local.conf:
>
> MACHINE_FEATURES += "pitft pitft35r"
>
> Signed-off-by: Rob Woolley <rob.woolley@windriver.com>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> README | 1 +
> conf/machine/include/rpi-base.inc | 1 +
> conf/machine/raspberrypi3-64.conf | 1 +
> recipes-bsp/bootfiles/rpi-config_git.bb | 6 ++++++
> 4 files changed, 9 insertions(+)
>
> diff --git a/README b/README
> index 9fdd5eb..e44475c 100644
> --- a/README
> +++ b/README
> @@ -241,6 +241,7 @@ the modelname should be added as a MACHINE_FEATURES in local.conf like below:
> List of currently supported models:
> - pitft22
> - pitft28r
> + - pitft35r
>
> 3.O. Misc. display
> ==================
> diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
> index 092cbeb..9bcb91d 100644
> --- a/conf/machine/include/rpi-base.inc
> +++ b/conf/machine/include/rpi-base.inc
> @@ -31,6 +31,7 @@ KERNEL_DEVICETREE ?= " \
> overlays/lirc-rpi.dtbo \
> overlays/pitft22.dtbo \
> overlays/pitft28-resistive.dtbo \
> + overlays/pitft35-resistive.dtbo \
> overlays/pps-gpio.dtbo \
> overlays/rpi-ft5406.dtbo \
> overlays/w1-gpio.dtbo \
> diff --git a/conf/machine/raspberrypi3-64.conf b/conf/machine/raspberrypi3-64.conf
> index ca10ed9..0efe3ff 100644
> --- a/conf/machine/raspberrypi3-64.conf
> +++ b/conf/machine/raspberrypi3-64.conf
> @@ -23,6 +23,7 @@ KERNEL_DEVICETREE = " \
> overlays/lirc-rpi.dtbo \
> overlays/pitft22.dtbo \
> overlays/pitft28-resistive.dtbo \
> + overlays/pitft35-resistive.dtbo \
> overlays/pps-gpio.dtbo \
> overlays/rpi-ft5406.dtbo \
> overlays/w1-gpio.dtbo \
> diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb b/recipes-bsp/bootfiles/rpi-config_git.bb
> index af55983..b3c5084 100644
> --- a/recipes-bsp/bootfiles/rpi-config_git.bb
> +++ b/recipes-bsp/bootfiles/rpi-config_git.bb
> @@ -18,6 +18,7 @@ PR = "r5"
> PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}"
> PITFT22="${@bb.utils.contains("MACHINE_FEATURES", "pitft22", "1", "0", d)}"
> PITFT28r="${@bb.utils.contains("MACHINE_FEATURES", "pitft28r", "1", "0", d)}"
> +PITFT35r="${@bb.utils.contains("MACHINE_FEATURES", "pitft35r", "1", "0", d)}"
>
> VC4GRAPHICS="${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "1", "0", d)}"
>
> @@ -99,6 +100,11 @@ do_deploy() {
> echo "dtoverlay=pitft28-resistive,rotate=90,speed=32000000,txbuflen=32768" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
> fi
>
> + if [ "${PITFT35r}" = "1" ]; then
> + echo "# Enable PITFT35r display" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
> + echo "dtoverlay=pitft35-resistive,rotate=90,speed=42000000,fps=20" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
> + fi
> +
> # UART support
> if [ "${ENABLE_UART}" = "1" ]; then
> echo "# Enable UART" >>${DEPLOYDIR}/bcm2835-bootfiles/config.txt
> --
> 2.12.2
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
Merged the patches from Rob. Thanks.
--
Andrei Gherzan
gpg: rsa4096/D4D94F67AD0E9640 | t: @agherzan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]
prev parent reply other threads:[~2017-04-17 1:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-14 16:20 [meta-raspberrypi][PATCH 1/5] pitft: Add support for pitft35r Khem Raj
2017-04-14 16:20 ` [meta-raspberrypi][PATCH 2/5] linux-raspberrypi_4.9.bb: Update to 4.9.21 Khem Raj
2017-04-17 1:30 ` Andrei Gherzan
2017-04-14 16:20 ` [meta-raspberrypi][PATCH 3/5] userland: Upgrade to latest Khem Raj
2017-04-17 1:30 ` Andrei Gherzan
2017-04-14 16:20 ` [meta-raspberrypi][PATCH 4/5] eglinfo-fb: Mark is userland specific Khem Raj
2017-04-17 1:31 ` Andrei Gherzan
2017-04-14 16:20 ` [meta-raspberrypi][PATCH 5/5] firmware: Update to 1.20170405 release Khem Raj
2017-04-17 1:29 ` Andrei Gherzan
2017-04-17 1:28 ` Andrei Gherzan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170417012837.GE16624@carbonA \
--to=andrei@gherzan.ro \
--cc=raj.khem@gmail.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.