Return-Path: Received: from fllnx210.ext.ti.com (fllnx210.ext.ti.com [198.47.19.17]) by arago-project.org (Postfix) with ESMTPS id 16D45529B0 for ; Fri, 18 Aug 2017 22:41:11 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v7IMfBrq027694 for ; Fri, 18 Aug 2017 17:41:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1503096071; bh=219No52Q7bxPdC2tYlxuAa2rL71PpDIMWv3GFxw5vjM=; h=From:To:CC:Subject:Date; b=Cc2iB8IAc3FpaQtRg6FNNPI6G6Nh4gM1LPR9+ecys8f5eOpcleXjjkRfUBpcd6r1T MTB/C2IVypao6PoQE2ieAAFMAvhTqTNLVp5PN/L3lLYPJnMfp5sDl7fKLg0B0F/Hu7 k2jYkjq2tnj8voFZ0DgYBT6IYiBA02msn4EYF+GI= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v7IMfBE8013223 for ; Fri, 18 Aug 2017 17:41:11 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Fri, 18 Aug 2017 17:41:10 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Fri, 18 Aug 2017 17:41:10 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Fri, 18 Aug 2017 17:41:10 -0500 Received: from uda0271529.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v7IMfArT003470; Fri, 18 Aug 2017 17:41:10 -0500 From: Hongmei Gou To: Date: Fri, 18 Aug 2017 18:41:00 -0400 Message-ID: <1503096060-1126-1-git-send-email-h-gou@ti.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Subject: [meta-processor-sdk] [PATCH] linux-ti-staging-4.9-patches: mt9t11 camera sensor support in default DTs X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Aug 2017 22:41:11 -0000 Content-Type: text/plain Signed-off-by: Hongmei Gou --- .../linux/linux-ti-staging-4.9-patches.inc | 3 +- ...7xx-allow-mt9t111-support-in-the-default-.patch | 230 +++++++++++++++++++++ 2 files changed, 232 insertions(+), 1 deletion(-) create mode 100644 recipes-kernel/linux/linux-ti-staging-4.9-patches/0051-arm-dts-am57xx-allow-mt9t111-support-in-the-default-.patch diff --git a/recipes-kernel/linux/linux-ti-staging-4.9-patches.inc b/recipes-kernel/linux/linux-ti-staging-4.9-patches.inc index 3a62067..9e1ec35 100644 --- a/recipes-kernel/linux/linux-ti-staging-4.9-patches.inc +++ b/recipes-kernel/linux/linux-ti-staging-4.9-patches.inc @@ -1,4 +1,4 @@ -PR_append = ".p11" +PR_append = ".p12" FILESEXTRAPATHS_prepend := "${THISDIR}/linux-ti-staging-4.9-patches:" @@ -55,4 +55,5 @@ TI_LINUX_KERNEL_PATCHES = " \ file://0048-hsr-prp-do-sanity-check-for-offload-before-creating-.patch \ file://0049-prueth-preparatory-patch-to-add-run-time-protocol-ch.patch \ file://0050-prueth-support-run-time-change-of-protocol-at-pru-Et.patch \ + file://0051-arm-dts-am57xx-allow-mt9t111-support-in-the-default-.patch \ " diff --git a/recipes-kernel/linux/linux-ti-staging-4.9-patches/0051-arm-dts-am57xx-allow-mt9t111-support-in-the-default-.patch b/recipes-kernel/linux/linux-ti-staging-4.9-patches/0051-arm-dts-am57xx-allow-mt9t111-support-in-the-default-.patch new file mode 100644 index 0000000..cc2808f --- /dev/null +++ b/recipes-kernel/linux/linux-ti-staging-4.9-patches/0051-arm-dts-am57xx-allow-mt9t111-support-in-the-default-.patch @@ -0,0 +1,230 @@ +From b4216aa074346d518b0b248a0fa4d4ed8471a2e1 Mon Sep 17 00:00:00 2001 +From: Hongmei Gou +Date: Fri, 18 Aug 2017 18:30:51 -0400 +Subject: [PATCH] arm: dts: am57xx: allow mt9t111 support in the default dtbs + +Signed-off-by: Hongmei Gou +--- + arch/arm/boot/dts/am57xx-evm-base.dts | 24 ++++++++++++ + arch/arm/boot/dts/am57xx-evm-cam-mt9t111.dts | 2 +- + arch/arm/boot/dts/am57xx-evm-cam-ov10635.dts | 2 +- + arch/arm/boot/dts/am57xx-evm-reva3-base.dts | 45 ++++++++++++++++++++++ + arch/arm/boot/dts/am57xx-evm-reva3-cam-mt9t111.dts | 2 +- + arch/arm/boot/dts/am57xx-evm-reva3-cam-ov10635.dts | 2 +- + arch/arm/boot/dts/am57xx-evm-reva3.dts | 40 ++----------------- + arch/arm/boot/dts/am57xx-evm.dts | 17 +------- + 8 files changed, 78 insertions(+), 56 deletions(-) + create mode 100644 arch/arm/boot/dts/am57xx-evm-base.dts + create mode 100644 arch/arm/boot/dts/am57xx-evm-reva3-base.dts + +diff --git a/arch/arm/boot/dts/am57xx-evm-base.dts b/arch/arm/boot/dts/am57xx-evm-base.dts +new file mode 100644 +index 0000000..746bcaf +--- /dev/null ++++ b/arch/arm/boot/dts/am57xx-evm-base.dts +@@ -0,0 +1,24 @@ ++/* ++ * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/ ++ * ++ * This program is free software; you can redistribute it and/or modify ++ * it under the terms of the GNU General Public License version 2 as ++ * published by the Free Software Foundation. ++ */ ++ ++#include "am57xx-beagle-x15.dts" ++#include "am57xx-evm-common.dtsi" ++#include "am57xx-commercial-grade.dtsi" ++ ++/ { ++ model = "TI AM5728 EVM"; ++}; ++ ++&mmc3 { ++ pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50"; ++ pinctrl-0 = <&mmc3_pins_default>; ++ pinctrl-1 = <&mmc3_pins_hs>; ++ pinctrl-2 = <&mmc3_pins_sdr12>; ++ pinctrl-3 = <&mmc3_pins_sdr25>; ++ pinctrl-4 = <&mmc3_pins_sdr50 &mmc3_iodelay_manual1_rev11_conf>; ++}; +diff --git a/arch/arm/boot/dts/am57xx-evm-cam-mt9t111.dts b/arch/arm/boot/dts/am57xx-evm-cam-mt9t111.dts +index 4c2f0fd..6d41c29 100644 +--- a/arch/arm/boot/dts/am57xx-evm-cam-mt9t111.dts ++++ b/arch/arm/boot/dts/am57xx-evm-cam-mt9t111.dts +@@ -6,6 +6,6 @@ + * published by the Free Software Foundation. + */ + +-#include "am57xx-evm.dts" ++#include "am57xx-evm-base.dts" + #include "am57xx-evm-common-cam-mt9t111.dtsi" + +diff --git a/arch/arm/boot/dts/am57xx-evm-cam-ov10635.dts b/arch/arm/boot/dts/am57xx-evm-cam-ov10635.dts +index 97ab69e..fef8646 100644 +--- a/arch/arm/boot/dts/am57xx-evm-cam-ov10635.dts ++++ b/arch/arm/boot/dts/am57xx-evm-cam-ov10635.dts +@@ -6,6 +6,6 @@ + * published by the Free Software Foundation. + */ + +-#include "am57xx-evm.dts" ++#include "am57xx-evm-base.dts" + #include "am57xx-evm-common-cam-ov10635.dtsi" + +diff --git a/arch/arm/boot/dts/am57xx-evm-reva3-base.dts b/arch/arm/boot/dts/am57xx-evm-reva3-base.dts +new file mode 100644 +index 0000000..ded3e66 +--- /dev/null ++++ b/arch/arm/boot/dts/am57xx-evm-reva3-base.dts +@@ -0,0 +1,45 @@ ++/* ++ * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/ ++ * ++ * This program is free software; you can redistribute it and/or modify ++ * it under the terms of the GNU General Public License version 2 as ++ * published by the Free Software Foundation. ++ */ ++ ++#include "am57xx-beagle-x15-revb1.dts" ++#include "am57xx-evm-common.dtsi" ++#include "am57xx-industrial-grade.dtsi" ++ ++/ { ++ model = "TI AM572x EVM Rev A3"; ++}; ++ ++&mmc1 { ++ pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104"; ++ pinctrl-0 = <&mmc1_pins_default>; ++ pinctrl-1 = <&mmc1_pins_hs>; ++ pinctrl-2 = <&mmc1_pins_sdr12>; ++ pinctrl-3 = <&mmc1_pins_sdr25>; ++ pinctrl-4 = <&mmc1_pins_sdr50>; ++ pinctrl-5 = <&mmc1_pins_ddr50 &mmc1_iodelay_ddr_rev20_conf>; ++ pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>; ++ vmmc-supply = <&vdd_3v3>; ++ vmmc_aux-supply = <&ldo1_reg>; ++}; ++ ++&mmc2 { ++ pinctrl-names = "default", "hs", "ddr_1_8v"; ++ pinctrl-0 = <&mmc2_pins_default>; ++ pinctrl-1 = <&mmc2_pins_hs>; ++ pinctrl-2 = <&mmc2_pins_ddr_rev20>; ++ /delete-property/ mmc-hs200-1_8v; ++}; ++ ++&mmc3 { ++ pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50"; ++ pinctrl-0 = <&mmc3_pins_default>; ++ pinctrl-1 = <&mmc3_pins_hs>; ++ pinctrl-2 = <&mmc3_pins_sdr12>; ++ pinctrl-3 = <&mmc3_pins_sdr25>; ++ pinctrl-4 = <&mmc3_pins_sdr50 &mmc3_iodelay_manual1_rev20_conf>; ++}; +diff --git a/arch/arm/boot/dts/am57xx-evm-reva3-cam-mt9t111.dts b/arch/arm/boot/dts/am57xx-evm-reva3-cam-mt9t111.dts +index eaef0e2..65df28b 100644 +--- a/arch/arm/boot/dts/am57xx-evm-reva3-cam-mt9t111.dts ++++ b/arch/arm/boot/dts/am57xx-evm-reva3-cam-mt9t111.dts +@@ -6,6 +6,6 @@ + * published by the Free Software Foundation. + */ + +-#include "am57xx-evm-reva3.dts" ++#include "am57xx-evm-reva3-base.dts" + #include "am57xx-evm-common-cam-mt9t111.dtsi" + +diff --git a/arch/arm/boot/dts/am57xx-evm-reva3-cam-ov10635.dts b/arch/arm/boot/dts/am57xx-evm-reva3-cam-ov10635.dts +index 40c6994..ff8770b 100644 +--- a/arch/arm/boot/dts/am57xx-evm-reva3-cam-ov10635.dts ++++ b/arch/arm/boot/dts/am57xx-evm-reva3-cam-ov10635.dts +@@ -6,6 +6,6 @@ + * published by the Free Software Foundation. + */ + +-#include "am57xx-evm-reva3.dts" ++#include "am57xx-evm-reva3-base.dts" + #include "am57xx-evm-common-cam-ov10635.dtsi" + +diff --git a/arch/arm/boot/dts/am57xx-evm-reva3.dts b/arch/arm/boot/dts/am57xx-evm-reva3.dts +index ded3e66..65df28b 100644 +--- a/arch/arm/boot/dts/am57xx-evm-reva3.dts ++++ b/arch/arm/boot/dts/am57xx-evm-reva3.dts +@@ -1,45 +1,11 @@ + /* +- * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/ ++ * Copyright (C) 2015-2016 Texas Instruments Incorporated - http://www.ti.com/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +-#include "am57xx-beagle-x15-revb1.dts" +-#include "am57xx-evm-common.dtsi" +-#include "am57xx-industrial-grade.dtsi" ++#include "am57xx-evm-reva3-base.dts" ++#include "am57xx-evm-common-cam-mt9t111.dtsi" + +-/ { +- model = "TI AM572x EVM Rev A3"; +-}; +- +-&mmc1 { +- pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104"; +- pinctrl-0 = <&mmc1_pins_default>; +- pinctrl-1 = <&mmc1_pins_hs>; +- pinctrl-2 = <&mmc1_pins_sdr12>; +- pinctrl-3 = <&mmc1_pins_sdr25>; +- pinctrl-4 = <&mmc1_pins_sdr50>; +- pinctrl-5 = <&mmc1_pins_ddr50 &mmc1_iodelay_ddr_rev20_conf>; +- pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>; +- vmmc-supply = <&vdd_3v3>; +- vmmc_aux-supply = <&ldo1_reg>; +-}; +- +-&mmc2 { +- pinctrl-names = "default", "hs", "ddr_1_8v"; +- pinctrl-0 = <&mmc2_pins_default>; +- pinctrl-1 = <&mmc2_pins_hs>; +- pinctrl-2 = <&mmc2_pins_ddr_rev20>; +- /delete-property/ mmc-hs200-1_8v; +-}; +- +-&mmc3 { +- pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50"; +- pinctrl-0 = <&mmc3_pins_default>; +- pinctrl-1 = <&mmc3_pins_hs>; +- pinctrl-2 = <&mmc3_pins_sdr12>; +- pinctrl-3 = <&mmc3_pins_sdr25>; +- pinctrl-4 = <&mmc3_pins_sdr50 &mmc3_iodelay_manual1_rev20_conf>; +-}; +diff --git a/arch/arm/boot/dts/am57xx-evm.dts b/arch/arm/boot/dts/am57xx-evm.dts +index 746bcaf..6d41c29 100644 +--- a/arch/arm/boot/dts/am57xx-evm.dts ++++ b/arch/arm/boot/dts/am57xx-evm.dts +@@ -6,19 +6,6 @@ + * published by the Free Software Foundation. + */ + +-#include "am57xx-beagle-x15.dts" +-#include "am57xx-evm-common.dtsi" +-#include "am57xx-commercial-grade.dtsi" ++#include "am57xx-evm-base.dts" ++#include "am57xx-evm-common-cam-mt9t111.dtsi" + +-/ { +- model = "TI AM5728 EVM"; +-}; +- +-&mmc3 { +- pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50"; +- pinctrl-0 = <&mmc3_pins_default>; +- pinctrl-1 = <&mmc3_pins_hs>; +- pinctrl-2 = <&mmc3_pins_sdr12>; +- pinctrl-3 = <&mmc3_pins_sdr25>; +- pinctrl-4 = <&mmc3_pins_sdr50 &mmc3_iodelay_manual1_rev11_conf>; +-}; +-- +1.9.1 + -- 1.9.1