From patchwork Thu Sep 14 14:19:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Barinov X-Patchwork-Id: 9953185 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8B5AB6024A for ; Thu, 14 Sep 2017 14:19:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B6DE28954 for ; Thu, 14 Sep 2017 14:19:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 706A629101; Thu, 14 Sep 2017 14:19:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AE81C2910E for ; Thu, 14 Sep 2017 14:19:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751388AbdINOTw (ORCPT ); Thu, 14 Sep 2017 10:19:52 -0400 Received: from mail-vk0-f54.google.com ([209.85.213.54]:53971 "EHLO mail-vk0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751328AbdINOTv (ORCPT ); Thu, 14 Sep 2017 10:19:51 -0400 Received: by mail-vk0-f54.google.com with SMTP id m140so235674vka.10 for ; Thu, 14 Sep 2017 07:19:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=VPGsYbeosjje6fQFhNWggz70QJgvV4THpjJ+wD8l1aM=; b=tf7yX2OZNnQM+RLStAISo/0wWmYlGU00jdsuvTerCUz/MOrXEgxXcF2ejOxvY96456 E+O35gzHNi6TwslOGK5TIDpWzMTcnq+Pwxr1xJ8jOhljp1x3UbCmFv7IVhaOVBgWvcBf piQxJnk46Gtf02qKO5sIsB4b+QFbBJ/oqz/xd5TvVidaUkNn2aBIpZ6G+R3xTp4pbjXt mTf5XgOeP88hO/OI4ZSxnSEupTsSdE0HEQjwPR7ipOVTOj67CRqM6nwrqLD06fjyTRja Ccow7Guz+GFjbyKvHHXSRwE+5mqInOsna+1RUaZukp84wyq99+42wwnZeXrW8prkTwmz 9XaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=VPGsYbeosjje6fQFhNWggz70QJgvV4THpjJ+wD8l1aM=; b=GCl1SNDC8l585n0R9GQ9n9htIBQXBw6j0/8Jc55zL5b9D0KL7hV6wBPg1K6pRSkX3v RyOC7IBgS6KlrJMJEfyLdQB+cmOsFGAEsuW+ZFF5mA0hwZhwhgkTKxRHCUjYnIJ6Iwxv NNs1jQRlyjr83Z/AcT7eNCXK+/fL0DF4KZNAHdm1IOO+VIPWRjpoUNTTORQY86jXBkuS GikhKsqGQTXKiLwprgDwBpufihWkYRaHICyHszb1tcypwcn0jlPGi//YAovFM55lHGJ1 qXz/CC8l9Iy1AeybXBc+ErWBll6jMwdtps1IIOBtHcmPrHhZ0ByE9tT1X7zKZix3hcB/ lpEg== X-Gm-Message-State: AHPjjUjn5Wse4OO00q87LEXJ6ne+1SF37uT5W35wdTt0unhEbATrkaSe CWCQPCFYMy8h1Jx/ X-Google-Smtp-Source: AOwi7QAqroDNB83xDzHLqfIcCsXdUnwMkZbpHHnP8WBeQr4lGXu58AVk/65ijuImQ/5Ohpe9lYTubg== X-Received: by 10.31.88.2 with SMTP id m2mr15694232vkb.115.1505398790905; Thu, 14 Sep 2017 07:19:50 -0700 (PDT) Received: from localhost.localdomain ([209.49.153.130]) by smtp.gmail.com with ESMTPSA id 47sm3718517uau.43.2017.09.14.07.19.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 14 Sep 2017 07:19:50 -0700 (PDT) From: Vladimir Barinov To: Simon Horman , Magnus Damm , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon Cc: devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Vladimir Barinov Subject: [PATCH v2 17/18] arm64: dts: ulcb-kf: enable PCA9548 on I2C4 Date: Thu, 14 Sep 2017 17:19:48 +0300 Message-Id: <1505398788-4892-1-git-send-email-vladimir.barinov@cogentembedded.com> X-Mailer: git-send-email 1.9.1 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This supports PCA9548 I2C switch on I2C4 bus on ULCB Kingfisher board Signed-off-by: Vladimir Barinov Reviewed-by: Geert Uytterhoeven --- Changes in version 2: - use generic node name "i2c-switch" - fixed typo in node name: use @71 arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi index 3bbc490..0c3844f 100644 --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi @@ -98,6 +98,14 @@ interrupt-parent = <&gpio5>; interrupts = <9 IRQ_TYPE_EDGE_FALLING>; }; + + i2cswitch4: i2c-switch@71 { + compatible = "nxp,pca9548"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x71>; + reset-gpios= <&gpio3 15 GPIO_ACTIVE_LOW>; + }; }; &ohci0 {