From patchwork Sun Mar 25 12:36:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 890629 X-Patchwork-Delegate: jagannadh.teki@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=paulk.fr Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 408GyX6Nc5z9s0R for ; Sun, 25 Mar 2018 23:37:56 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 46272C21F1D; Sun, 25 Mar 2018 12:37:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 20EF6C21D4A; Sun, 25 Mar 2018 12:37:00 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 7AE45C21D9A; Sun, 25 Mar 2018 12:36:55 +0000 (UTC) Received: from localhost by lists.denx.de with SpamAssassin (version 3.4.0); Sun, 25 Mar 2018 12:36:55 +0000 From: Paul Kocialkowski To: u-boot@lists.denx.de, linux-sunxi@googlegroups.com Date: Sun, 25 Mar 2018 14:36:01 +0200 Message-Id: <20180325123601.12125-3-contact@paulk.fr> MIME-Version: 1.0 Cc: Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH 3/3] sunxi: Add extra I2C bus support to Ainol AW1 defconfig X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Spam detection software, running on the system "lists.denx.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: I2C bus 1 is used for the accelerometer and i2c bus 2 for the touchscreen of the device. While these are not supported in U-Boot, its command line can be used to access these peripherals. Signed-off-by: Paul Kocialkowski --- configs/Ainol_AW1_defconfig | 2 ++ 1 file changed, 2 insertions(+) [...] Content analysis details: (5.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RCVD_IN_RP_RNBL RBL: Relay in RNBL, https://senderscore.org/blacklistlookup/ [77.128.107.220 listed in bl.score.senderscore.com] 0.0 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address [77.128.107.220 listed in dnsbl.sorbs.net] 3.6 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL [77.128.107.220 listed in zen.spamhaus.org] 0.4 RDNS_DYNAMIC Delivered to internal network by host with dynamic-looking rDNS I2C bus 1 is used for the accelerometer and i2c bus 2 for the touchscreen of the device. While these are not supported in U-Boot, its command line can be used to access these peripherals. Signed-off-by: Paul Kocialkowski --- configs/Ainol_AW1_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/Ainol_AW1_defconfig b/configs/Ainol_AW1_defconfig index 9fb464b703..87f14b0ea5 100644 --- a/configs/Ainol_AW1_defconfig +++ b/configs/Ainol_AW1_defconfig @@ -4,6 +4,8 @@ CONFIG_MACH_SUN7I=y CONFIG_DRAM_CLK=432 CONFIG_DRAM_ZQ=123 CONFIG_MMC0_CD_PIN="PH1" +CONFIG_I2C1_ENABLE=y +CONFIG_I2C2_ENABLE=y CONFIG_USB0_VBUS_PIN="PB9" CONFIG_USB0_VBUS_DET="AXP0-VBUS-DETECT" CONFIG_USB0_ID_DET="PH4"