From patchwork Wed May 15 08:23:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10944399 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3A519924 for ; Wed, 15 May 2019 08:23:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 29FEE28A22 for ; Wed, 15 May 2019 08:23:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1E33328A27; Wed, 15 May 2019 08:23:59 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AC2A828A22 for ; Wed, 15 May 2019 08:23:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=7YBH/StDXDaVPyuIOPO6512XnMK78L7KVwl5Bvl/9Q4=; b=lygX6ehedQICgl RVQdr2RepA7mehrZXlC25/iFp7whLV0OTwT4x7NZHO6VpAr9+9XZMUcHHG1APCk02uZKP/WYdEDN2 L/O6ljUlsrJH0TiVlm0jqoTqM+AeKwJSKfnNzMbWWBiJRBsOk/pZlh0lD1ow/Vz0IQV4Uzs+vrjMj mhNm8Hkmw+wpZQ4hIYSMM1ItGv+APxl1L+gcSIwQZKnqLgEqSNTV8vdWxUn7naPbX9CHuaZUZT0Cz Zf7eHYK6vuLP4PcGtfRvOh8GD+6WDAgbc0TGAKyB2Ik9jEh1D336R2KrSctuSHg6QaNO6EQgH42Tr W6cGEMW/DwEZJXeM8YqQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hQpCb-0000Dh-It; Wed, 15 May 2019 08:23:53 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hQpCH-0008Fd-IO for linux-arm-kernel@lists.infradead.org; Wed, 15 May 2019 08:23:35 +0000 Received: by mail-wr1-x441.google.com with SMTP id c5so1563770wrs.11 for ; Wed, 15 May 2019 01:23:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=p7UfUoQHdw2V5T9OO4cQVjr7I+4K0hfjSDR08/46NM8=; b=JC6JGU/R5mOXdJnFMhHg9NhRrwjnm9/rq3d0NNAv8tm1qyeK4yIS8VFjmNXISdFTzc fGZzqtAKXwKFac0gFgiZXEqme9KgtGgepWpAZj+yhHPWdvQLj+lzANnWRy/cSXRQgxQl GQtgi135wmcDG8au3xgNbrRsNJt39/zUx+62UX+zRkZM/LaF5Ke9bLTqDSRF1Gb+h9wW ZVP0qNW30wCv5gjNQnuM9QMFko5v+O1VRLZsFZHnUDy9Sqin7ZUT9SuNgONbuhJt9uCN 9zN1aRLQ55opZWibPHxKzKe2PXBItE7xF/BCoGEzKX5ueYMNAkNA78i2ZhLNS2iYyHkF IQlA== 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:mime-version :content-transfer-encoding; bh=p7UfUoQHdw2V5T9OO4cQVjr7I+4K0hfjSDR08/46NM8=; b=TF6PQRcxAbk8X5mBr2JY4AA1hvrF83X71o7x2BNffwKyEjtUyMFcOvIgPAdWkJeFJv nIKWx8h3Qx4QfD2JACmN4lTIUA9gltNDNBVVN4ddpPE/CmdH1lIIE3EufEXox4LSdpeN SsoXyfNQWbObPzCfjgdHLkUoox69QeZkYci1wfaJzYMr90xQCRVrqBiUCRNcNEgPfJv1 2B+3mNjhYRjn9TGKj5OaxFVy5ua9KDgaDlhTL/YaclmU4MiYcw9Exja9mpEItlnKvpKz BbEpXMTutw751jj6xCUMvpJIea/oENHoziAQw1um843IPf5t7QqDtVbUFgGnJQCzbTZT xSjw== X-Gm-Message-State: APjAAAXpJyaZsk9wnq4TpZzv3KeZlL2oZ9ybvG1BL3XJNutjtl7V4Tsa jPOrnPM8soAqj83n0Rx4Wg1GpnLn X-Google-Smtp-Source: APXvYqz91y91dnV4ymzUsPIk3oy6/2Qv8YL1PsZz/LsOBy8zoFbWLf+WGENcF7zET4VwvFgZtqyK0Q== X-Received: by 2002:a5d:658f:: with SMTP id q15mr14507822wru.213.1557908611333; Wed, 15 May 2019 01:23:31 -0700 (PDT) Received: from kurokawa.lan (ip-86-49-110-70.net.upcbroadband.cz. [86.49.110.70]) by smtp.gmail.com with ESMTPSA id o8sm1970678wra.4.2019.05.15.01.23.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 May 2019 01:23:30 -0700 (PDT) From: marek.vasut@gmail.com To: linux-arm-kernel@lists.infradead.org Subject: [PATCH V2] ARM: dts: r8a779x: Configure PMIC IRQ pinmux Date: Wed, 15 May 2019 10:23:26 +0200 Message-Id: <20190515082326.6449-1-marek.vasut@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190515_012333_634367_BD0A6A44 X-CRM114-Status: GOOD ( 13.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-renesas-soc@vger.kernel.org, Simon Horman , Geert Uytterhoeven , Marek Vasut Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Marek Vasut The PMIC IRQ line pin multiplexing configuration is missing from the DTs. Since the line is configured correctly by default, the system works fine. However, add the IRQ line pin multiplexing configuration for completeness. Signed-off-by: Marek Vasut Cc: Geert Uytterhoeven Cc: Simon Horman Cc: linux-renesas-soc@vger.kernel.org To: linux-arm-kernel@lists.infradead.org Reviewed-by: Geert Uytterhoeven --- V2: Move the pin control node from iic3 controller to pmic on 7792 Blanche, since there's only one PMIC on that board. --- arch/arm/boot/dts/r8a7790-lager.dts | 7 +++++++ arch/arm/boot/dts/r8a7790-stout.dts | 7 ++++++- arch/arm/boot/dts/r8a7791-koelsch.dts | 7 +++++++ arch/arm/boot/dts/r8a7791-porter.dts | 7 +++++++ arch/arm/boot/dts/r8a7792-blanche.dts | 7 +++++++ arch/arm/boot/dts/r8a7793-gose.dts | 7 +++++++ 6 files changed, 41 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts index 7b9508e83d46..d637b9727808 100644 --- a/arch/arm/boot/dts/r8a7790-lager.dts +++ b/arch/arm/boot/dts/r8a7790-lager.dts @@ -423,6 +423,8 @@ */ i2cpwr: i2c-13 { compatible = "i2c-demux-pinctrl"; + pinctrl-names = "default"; + pinctrl-0 = <&pmic_irq_pins>; i2c-parent = <&iic3>, <&i2c3>; i2c-bus-name = "i2c-pwr"; #address-cells = <1>; @@ -615,6 +617,11 @@ function = "iic3"; }; + pmic_irq_pins: pmicirq { + groups = "intc_irq2"; + function = "intc"; + }; + hsusb_pins: hsusb { groups = "usb0_ovc_vbus"; function = "usb0"; diff --git a/arch/arm/boot/dts/r8a7790-stout.dts b/arch/arm/boot/dts/r8a7790-stout.dts index 7a7d3b84d1a6..ad68e6034b43 100644 --- a/arch/arm/boot/dts/r8a7790-stout.dts +++ b/arch/arm/boot/dts/r8a7790-stout.dts @@ -179,6 +179,11 @@ function = "iic3"; }; + pmic_irq_pins: pmicirq { + groups = "intc_irq2"; + function = "intc"; + }; + usb0_pins: usb0 { groups = "usb0"; function = "usb0"; @@ -317,7 +322,7 @@ &iic3 { pinctrl-names = "default"; - pinctrl-0 = <&iic3_pins>; + pinctrl-0 = <&iic3_pins &pmic_irq_pins>; status = "okay"; pmic@58 { diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts index e6580aa0cea3..a116bfc11f0b 100644 --- a/arch/arm/boot/dts/r8a7791-koelsch.dts +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts @@ -540,6 +540,11 @@ function = "intc"; }; + pmic_irq_pins: pmicirq { + groups = "intc_irq2"; + function = "intc"; + }; + sdhi0_pins: sd0 { groups = "sdhi0_data4", "sdhi0_ctrl"; function = "sdhi0"; @@ -776,6 +781,8 @@ }; &i2c6 { + pinctrl-names = "default"; + pinctrl-0 = <&pmic_irq_pins>; status = "okay"; clock-frequency = <100000>; diff --git a/arch/arm/boot/dts/r8a7791-porter.dts b/arch/arm/boot/dts/r8a7791-porter.dts index fefdf8238bbe..e08d257f5d0c 100644 --- a/arch/arm/boot/dts/r8a7791-porter.dts +++ b/arch/arm/boot/dts/r8a7791-porter.dts @@ -228,6 +228,11 @@ function = "intc"; }; + pmic_irq_pins: pmicirq { + groups = "intc_irq2"; + function = "intc"; + }; + sdhi0_pins: sd0 { groups = "sdhi0_data4", "sdhi0_ctrl"; function = "sdhi0"; @@ -373,6 +378,8 @@ }; &i2c6 { + pinctrl-names = "default"; + pinctrl-0 = <&pmic_irq_pins>; status = "okay"; clock-frequency = <100000>; diff --git a/arch/arm/boot/dts/r8a7792-blanche.dts b/arch/arm/boot/dts/r8a7792-blanche.dts index b6fa80c3b07e..b7af14de7c8e 100644 --- a/arch/arm/boot/dts/r8a7792-blanche.dts +++ b/arch/arm/boot/dts/r8a7792-blanche.dts @@ -234,6 +234,11 @@ groups = "du1_rgb666", "du1_sync", "du1_disp"; function = "du1"; }; + + pmic_irq_pins: pmicirq { + groups = "intc_irq2"; + function = "intc"; + }; }; &rwdt { @@ -314,6 +319,8 @@ pmic@58 { compatible = "dlg,da9063"; reg = <0x58>; + pinctrl-names = "default"; + pinctrl-0 = <&pmic_irq_pins>; interrupt-parent = <&irqc>; interrupts = <2 IRQ_TYPE_LEVEL_LOW>; interrupt-controller; diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r8a7793-gose.dts index f51601af89a2..9984ebf06695 100644 --- a/arch/arm/boot/dts/r8a7793-gose.dts +++ b/arch/arm/boot/dts/r8a7793-gose.dts @@ -514,6 +514,11 @@ function = "intc"; }; + pmic_irq_pins: pmicirq { + groups = "intc_irq2"; + function = "intc"; + }; + sdhi0_pins: sd0 { groups = "sdhi0_data4", "sdhi0_ctrl"; function = "sdhi0"; @@ -711,6 +716,8 @@ }; &i2c6 { + pinctrl-names = "default"; + pinctrl-0 = <&pmic_irq_pins>; status = "okay"; clock-frequency = <100000>;