* [meta-raspberrypi][PATCH v2 0/3] pitft: Add support for pitft35r @ 2017-04-06 18:44 Rob Woolley 2017-04-06 18:44 ` [meta-raspberrypi][PATCH v2 1/3] pitft: Include the pitft35r dtbo files Rob Woolley ` (3 more replies) 0 siblings, 4 replies; 7+ messages in thread From: Rob Woolley @ 2017-04-06 18:44 UTC (permalink / raw) To: andrei, yocto As requested, I have split the patch into separate commits for: 1. dtbo inclusion 2. rpi-config changes 3. Documentation commit I ordered them this way in case a user ever walked through the commits in the git tree. This way the prerequisites are present before the feature is advertised in the documentation. Hope this works for you. Let me know if there are any additional changes that need to be made. Regards, Rob ^ permalink raw reply [flat|nested] 7+ messages in thread
* [meta-raspberrypi][PATCH v2 1/3] pitft: Include the pitft35r dtbo files 2017-04-06 18:44 [meta-raspberrypi][PATCH v2 0/3] pitft: Add support for pitft35r Rob Woolley @ 2017-04-06 18:44 ` Rob Woolley 2017-04-06 18:44 ` [meta-raspberrypi][PATCH v2 2/3] pitft: Include a pitft35r MACHINE_FEATURE Rob Woolley ` (2 subsequent siblings) 3 siblings, 0 replies; 7+ messages in thread From: Rob Woolley @ 2017-04-06 18:44 UTC (permalink / raw) To: andrei, yocto Include the pitft35r device tree blobs in the filesystem of the image. Signed-off-by: Rob Woolley <rob.woolley@windriver.com> --- conf/machine/include/rpi-base.inc | 1 + conf/machine/raspberrypi3-64.conf | 1 + 2 files changed, 2 insertions(+) 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 \ -- 2.11.0 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* [meta-raspberrypi][PATCH v2 2/3] pitft: Include a pitft35r MACHINE_FEATURE 2017-04-06 18:44 [meta-raspberrypi][PATCH v2 0/3] pitft: Add support for pitft35r Rob Woolley 2017-04-06 18:44 ` [meta-raspberrypi][PATCH v2 1/3] pitft: Include the pitft35r dtbo files Rob Woolley @ 2017-04-06 18:44 ` Rob Woolley 2017-04-06 18:44 ` [meta-raspberrypi][PATCH v2 3/3] pitft: Add documentation for pitft35r in README Rob Woolley 2017-04-13 14:09 ` [meta-raspberrypi][PATCH v2 0/3] pitft: Add support for pitft35r Rob Woolley 3 siblings, 0 replies; 7+ messages in thread From: Rob Woolley @ 2017-04-06 18:44 UTC (permalink / raw) To: andrei, yocto This MACHINE_FEATURE will automatically add the recommended Adafruit configuration line to the Raspberry Pi config.txt. Signed-off-by: Rob Woolley <rob.woolley@windriver.com> --- recipes-bsp/bootfiles/rpi-config_git.bb | 6 ++++++ 1 file changed, 6 insertions(+) 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.11.0 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* [meta-raspberrypi][PATCH v2 3/3] pitft: Add documentation for pitft35r in README 2017-04-06 18:44 [meta-raspberrypi][PATCH v2 0/3] pitft: Add support for pitft35r Rob Woolley 2017-04-06 18:44 ` [meta-raspberrypi][PATCH v2 1/3] pitft: Include the pitft35r dtbo files Rob Woolley 2017-04-06 18:44 ` [meta-raspberrypi][PATCH v2 2/3] pitft: Include a pitft35r MACHINE_FEATURE Rob Woolley @ 2017-04-06 18:44 ` Rob Woolley 2017-04-13 14:09 ` [meta-raspberrypi][PATCH v2 0/3] pitft: Add support for pitft35r Rob Woolley 3 siblings, 0 replies; 7+ messages in thread From: Rob Woolley @ 2017-04-06 18:44 UTC (permalink / raw) To: andrei, yocto 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> --- README | 1 + 1 file changed, 1 insertion(+) 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 ================== -- 2.11.0 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [meta-raspberrypi][PATCH v2 0/3] pitft: Add support for pitft35r 2017-04-06 18:44 [meta-raspberrypi][PATCH v2 0/3] pitft: Add support for pitft35r Rob Woolley ` (2 preceding siblings ...) 2017-04-06 18:44 ` [meta-raspberrypi][PATCH v2 3/3] pitft: Add documentation for pitft35r in README Rob Woolley @ 2017-04-13 14:09 ` Rob Woolley 2017-04-13 18:37 ` Andrei Gherzan 3 siblings, 1 reply; 7+ messages in thread From: Rob Woolley @ 2017-04-13 14:09 UTC (permalink / raw) To: andrei, Yocto discussion list [-- Attachment #1: Type: text/plain, Size: 835 bytes --] Hi Andrei, Does this patchset look okay? Are there any further changes you would like me to make? Regards, Rob On Thu, Apr 6, 2017 at 2:44 PM, Rob Woolley <rob.woolley@windriver.com> wrote: > As requested, I have split the patch into separate commits for: > > 1. dtbo inclusion > 2. rpi-config changes > 3. Documentation commit > > I ordered them this way in case a user ever walked through the > commits in the git tree. This way the prerequisites are present > before the feature is advertised in the documentation. > > Hope this works for you. Let me know if there are any additional > changes that need to be made. > > Regards, > Rob > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > [-- Attachment #2: Type: text/html, Size: 1430 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [meta-raspberrypi][PATCH v2 0/3] pitft: Add support for pitft35r 2017-04-13 14:09 ` [meta-raspberrypi][PATCH v2 0/3] pitft: Add support for pitft35r Rob Woolley @ 2017-04-13 18:37 ` Andrei Gherzan 2017-04-17 1:25 ` Andrei Gherzan 0 siblings, 1 reply; 7+ messages in thread From: Andrei Gherzan @ 2017-04-13 18:37 UTC (permalink / raw) To: Rob Woolley; +Cc: Yocto discussion list Hi Rob, On Thu, Apr 13, 2017 at 3:09 PM, Rob Woolley <rob.woolley@windriver.com> wrote: > Hi Andrei, > > Does this patchset look okay? > > Are there any further changes you would like me to make? Looks good. I'll test it and merge it soon. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [meta-raspberrypi][PATCH v2 0/3] pitft: Add support for pitft35r 2017-04-13 18:37 ` Andrei Gherzan @ 2017-04-17 1:25 ` Andrei Gherzan 0 siblings, 0 replies; 7+ messages in thread From: Andrei Gherzan @ 2017-04-17 1:25 UTC (permalink / raw) To: Rob Woolley; +Cc: Yocto discussion list [-- Attachment #1: Type: text/plain, Size: 432 bytes --] On Thu, Apr 13, 2017 at 07:37:48PM +0100, Andrei Gherzan wrote: > Hi Rob, > > On Thu, Apr 13, 2017 at 3:09 PM, Rob Woolley <rob.woolley@windriver.com> wrote: > > Hi Andrei, > > > > Does this patchset look okay? > > > > Are there any further changes you would like me to make? > > Looks good. I'll test it and merge it soon. Merged to master. Thanks. -- Andrei Gherzan gpg: rsa4096/D4D94F67AD0E9640 | t: @agherzan [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 849 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-04-17 1:25 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-04-06 18:44 [meta-raspberrypi][PATCH v2 0/3] pitft: Add support for pitft35r Rob Woolley 2017-04-06 18:44 ` [meta-raspberrypi][PATCH v2 1/3] pitft: Include the pitft35r dtbo files Rob Woolley 2017-04-06 18:44 ` [meta-raspberrypi][PATCH v2 2/3] pitft: Include a pitft35r MACHINE_FEATURE Rob Woolley 2017-04-06 18:44 ` [meta-raspberrypi][PATCH v2 3/3] pitft: Add documentation for pitft35r in README Rob Woolley 2017-04-13 14:09 ` [meta-raspberrypi][PATCH v2 0/3] pitft: Add support for pitft35r Rob Woolley 2017-04-13 18:37 ` Andrei Gherzan 2017-04-17 1:25 ` Andrei Gherzan
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.