From patchwork Fri Feb 7 20:53:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan Wu X-Patchwork-Id: 3607751 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 5EB249F2D6 for ; Fri, 7 Feb 2014 20:59:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 96FE120154 for ; Fri, 7 Feb 2014 20:59:20 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9785C2012F for ; Fri, 7 Feb 2014 20:59:19 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WBsW3-0005uZ-VD; Fri, 07 Feb 2014 20:59:16 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WBsRB-0007Br-VD; Fri, 07 Feb 2014 20:54:13 +0000 Received: from mail-pa0-x231.google.com ([2607:f8b0:400e:c03::231]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WBsR8-0007BH-7y for linux-arm-kernel@lists.infradead.org; Fri, 07 Feb 2014 20:54:11 +0000 Received: by mail-pa0-f49.google.com with SMTP id hz1so3666585pad.36 for ; Fri, 07 Feb 2014 12:53:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=nqEgYkaHsTzXpjF8Fa+GjAUBGghi4kjKdQODEfgj9K8=; b=ddmabD3Pf95jHI0o7kzaQyQET19Bdt0pOo/LM3qsuWzU1HFJYpq80g74/72paiS+Ry UYAFqpaHBr0e31nNbikPLsmlVTXYMLntZqEEE1188lFpYapoie6nUk4hiMBb4MMooU2X INn9WTboZPzFv82SjJK1PEgsjqjkZZZ91Zc2gJzhkqEijIuA6O5Sw+7lit9znPhIBmNM LHP+RqFQcETyn8gAqhBw90E3mjgsJrIn8Z+EqRDC+AaDoEh0alNtkaObuH4M5USb6OJG O2doXem435r52R/5YwAMutmTCQZEPM8O2T59nhVa89BSGgSlLvAElmIunkRYyfiJq/5U UjRw== X-Received: by 10.68.197.99 with SMTP id it3mr21964311pbc.37.1391806427440; Fri, 07 Feb 2014 12:53:47 -0800 (PST) Received: from localhost (searspoint.nvidia.com. [216.228.112.21]) by mx.google.com with ESMTPSA id os1sm41554904pac.20.2014.02.07.12.53.44 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 07 Feb 2014 12:53:46 -0800 (PST) From: Bryan Wu To: swarren@wwwdotorg.org, thierry.reding@gmail.com, linux@arm.linux.org.uk Subject: [PATCH] ARM: tegra: enable I2C MUX PCA954x Date: Fri, 7 Feb 2014 12:53:32 -0800 Message-Id: <1391806412-8561-1-git-send-email-pengw@nvidia.com> X-Mailer: git-send-email 1.8.3.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140207_155410_381442_7A4E9415 X-CRM114-Status: UNSURE ( 9.73 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Cardhu has a PCA9546 for I2C bus extension, which connects to 3 cameras. It's required for Tegra V4L2 soc camera driver and camera sensor drivers. Signed-off-by: Bryan Wu --- arch/arm/boot/dts/tegra30-cardhu.dtsi | 8 ++++++++ arch/arm/configs/tegra_defconfig | 1 + 2 files changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/tegra30-cardhu.dtsi b/arch/arm/boot/dts/tegra30-cardhu.dtsi index 9104224..bfce643 100644 --- a/arch/arm/boot/dts/tegra30-cardhu.dtsi +++ b/arch/arm/boot/dts/tegra30-cardhu.dtsi @@ -187,6 +187,14 @@ interrupt-parent = <&gpio>; interrupts = ; }; + + /* NXP PCA9546 I2C Mux */ + pca9546@70 { + compatible = "nxp,pca9546"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x70>; + }; }; i2c@7000c700 { diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig index 995d434..efcf15f 100644 --- a/arch/arm/configs/tegra_defconfig +++ b/arch/arm/configs/tegra_defconfig @@ -125,6 +125,7 @@ CONFIG_SERIAL_TEGRA=y CONFIG_SERIAL_OF_PLATFORM=y # CONFIG_HW_RANDOM is not set # CONFIG_I2C_COMPAT is not set +CONFIG_I2C_MUX_PCA954x=y CONFIG_I2C_MUX_PINCTRL=y CONFIG_I2C_TEGRA=y CONFIG_SPI=y