From patchwork Thu Sep 14 14:19:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Barinov X-Patchwork-Id: 9953179 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 D739B6024A for ; Thu, 14 Sep 2017 14:19:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C790627F8E for ; Thu, 14 Sep 2017 14:19:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BC7DB29108; Thu, 14 Sep 2017 14:19:24 +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 70A9527F8E for ; Thu, 14 Sep 2017 14:19:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751415AbdINOTY (ORCPT ); Thu, 14 Sep 2017 10:19:24 -0400 Received: from mail-ua0-f171.google.com ([209.85.217.171]:43371 "EHLO mail-ua0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751265AbdINOTX (ORCPT ); Thu, 14 Sep 2017 10:19:23 -0400 Received: by mail-ua0-f171.google.com with SMTP id g47so3900091uad.0 for ; Thu, 14 Sep 2017 07:19:23 -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=PTRtiSJ6WQNFZxFhi8BjISR1hn+YFl0jFmp/PrVJLXQ=; b=xgsaMTZeoRIpnA8t7TZPBy2sNHR57QeCuCysM71fSbur23KljyTKrcAuds+j1Hjn6D gJ5UtE+z/BDSqdEyJlg6TEzyDQlVceb7mj61ZXdMhhSCp+zHi9+Wesl4myXMghhuuYTn Gir9ULhaSo45GNTOl3dqY193mjNeZ3LF29wE1suOQpLdnCGVMGfl1tHwgA+15XiEoVwc BYUB6O0UVdGYVP9bxmxcQglyW2vgFvHag7JQP9Km+/BRRhtGCZu92FFLn0Ojv3Dis/3T HpbSS0WGEpBifTeij40lA8T0/d/99LUbuJyBnVW6yCSAJwklxJ5+SRsoYftUW9l1lzQR 9I8w== 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=PTRtiSJ6WQNFZxFhi8BjISR1hn+YFl0jFmp/PrVJLXQ=; b=IyN+BpBdm6Ko6gl6b3FYCm1MCQSUQ0741KRQQCPhGRiHZh8LWfJfAquSIpHr78IU2V hmNtpLZf9D/JvfUgwwvrW8HfeiG9M9qXnGnlfSB9cItOsbIlDLFmsRZJjX0Hq3+yra2G xZVRoP6QxU4oXxmxuN3in5kdLDDSZNK34ZsTYwvMb0DKd/DQs4v2a1jSU6kuYGe/HB86 3ex+z+Ye9kGrYyPKwKZ0UEirL8ngjkxakQ0YBZnMEjQhz+n5NafJI/2BlCvTziAB3o4V HQm1eNa52d7WpFtBZSnhnxwuM3AUR3hFz8Kiwup+AglVYlHESSsuaJxeCgbxUd5RZTlk 2W4g== X-Gm-Message-State: AHPjjUgF5NdIRnfyS4V8OYHaKznuPMLhp+oFYGaXAJwHpQ9ei8d2V5nb +VBrmLAlUHDyHb7B X-Google-Smtp-Source: AOwi7QAj0Ao4Iyc+ItNdsKyTrFTBJ6CTEeCnB5WXSWSf0D3SWJOv/9GjyyYwfRNDx+zbQvHxN/3nVQ== X-Received: by 10.159.59.17 with SMTP id i17mr17929776uah.165.1505398762656; Thu, 14 Sep 2017 07:19:22 -0700 (PDT) Received: from localhost.localdomain ([209.49.153.130]) by smtp.gmail.com with ESMTPSA id c184sm3223304vkf.41.2017.09.14.07.19.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 14 Sep 2017 07:19:21 -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 14/18] arm64: dts: ulcb-kf: enable PCA9539 on I2C2 Date: Thu, 14 Sep 2017 17:19:20 +0300 Message-Id: <1505398760-4774-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 PCA9539 gpio expanders on I2C2 bus on ULCB Kingfisher board Signed-off-by: Vladimir Barinov Reviewed-by: Geert Uytterhoeven --- Changes in version 2: - use generic node name "gpio" arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi index 71dee77..40885e7 100644 --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi @@ -48,6 +48,28 @@ status = "okay"; }; +&i2c2 { + gpio_exp_74: gpio@74 { + compatible = "nxp,pca9539"; + reg = <0x74>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + interrupt-parent = <&gpio6>; + interrupts = <8 IRQ_TYPE_EDGE_FALLING>; + }; + + gpio_exp_75: gpio@75 { + compatible = "nxp,pca9539"; + reg = <0x75>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + interrupt-parent = <&gpio6>; + interrupts = <4 IRQ_TYPE_EDGE_FALLING>; + }; +}; + &ohci0 { status = "okay"; };