From patchwork Tue Feb 13 23:28:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10217719 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 4AF46601C2 for ; Tue, 13 Feb 2018 23:28:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4103328C80 for ; Tue, 13 Feb 2018 23:28:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3593528C9F; Tue, 13 Feb 2018 23:28:50 +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=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham 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 A656828C80 for ; Tue, 13 Feb 2018 23:28:46 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=C1/6u7AI2wKpwBHD6TgR7D2NeZGwAa0Fwvd6mziK+Z8=; b=T8D rjYtAwr4TXOoXZsh2KkIXMW9wIwlqQijLkJeMqpGYYMocqrBMFtMbmndszZIX5iH1ELLWiHswxQaE QIwFTH4LXdty2ah2xJlQt0KdXcvKls+A40IJRqy6+8b58WyJ/0aY3jglx6HJfzUFZODwF9ZkqfZDp XqRJN7Z24ChAuYxGM05mG7nbCk+E4FHXOaBQNocaHXVp2WpwsadEuZGygPvLPc2jszmUHcaP22cYY Cp3mnEHKwJ4HakhBBi1O7BHjHhvAEhAI7IOe/jQyZjhN8q2X3xFbKt4+rHXJPktOD54H/zC6hDav9 YA3mi0N4fFCLwjIKdSLVcH2NN8GHVig==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1elk05-00058A-FP; Tue, 13 Feb 2018 23:28:37 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1elk00-00054R-8t for linux-arm-kernel@lists.infradead.org; Tue, 13 Feb 2018 23:28:34 +0000 Received: by mail-wm0-x242.google.com with SMTP id x4so15285619wmc.0 for ; Tue, 13 Feb 2018 15:28:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=MPd/VOCizixeSkFdgP2kAAgvjRecC4+BIpwiTHiohpY=; b=GYg8HXA14wJKrUwPkeSz6fLILKuygCriZ4x7f9PrJRHO0x9SJ0VEryS4+xgUArxgc9 HflU4Wgx+xQRoUF1cEeIArnlhvgWYDlDMYcbU0gM6wffoMAzGR73jaWdzguf4aejjpKG QmEGl+MmBWUkVav0l1FmlHeg5Rcphl6H5wxKla+UNVhyo/KHHrJnwo/pD9yTwSNCmkki fxJUZqQeQGz76zlS0AsjMSVgDjmKOMncmfRJ5OIQ0V1FgX7L48zzKjueA6iMbb0F2kaK 1JN/1SFjco7CEM4s1qY54lES9J8GUMj9lXrUvzWX5ugmcUURKB1JQfn8zxoVns8Iwl/N 9gOg== 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=MPd/VOCizixeSkFdgP2kAAgvjRecC4+BIpwiTHiohpY=; b=bWhwSqj1H4yYIeqBK+Vm0meeh5bTRyhEO6Lv8ti9vc1Vi8TpYU+zhPYqNx1zcLBIDf ImqfiT/pbFEQYIzY0eqQ0r8Gp9WYgsBDaHgk2OE3LpPqKNWyHSrxjLad/+DufSJa+BCI 52xmxYUTTqLcIXbRyVunlY2oBq+b/jjsaZQs9lbCTCcpoi8YYYeM+vZZ2OpSN8eZDXcL 0pN/mu+0oZmvQMsF8IlgnsR2VpRIK14d+qVnGo8VL84Zm4P9sfiQYBYw9Xxd8/ApcaDs d55A2x6FcIn0nE3CIk+h1pYH8BbUwYXF6zQydSZhBrkL4bGYR+2IAILtgLI8qBGGjihm I0Tw== X-Gm-Message-State: APf1xPBV9MhMQcsvyQWyGpUtSd76jSgRSSbG+0tC5Dw6pVii+sx0geZO vChyxL9Qfjsu5bjwFdegWzs= X-Google-Smtp-Source: AH8x224wfrR1nfNIaGlCM+ijR9ZuywsJf6LChPn9cLlBymBLTm8lDJRF4l8n7+cXbTm+43mkmA58ZA== X-Received: by 10.28.140.1 with SMTP id o1mr2390403wmd.141.1518564500005; Tue, 13 Feb 2018 15:28:20 -0800 (PST) Received: from kurokawa.lan (ip-86-49-107-50.net.upcbroadband.cz. [86.49.107.50]) by smtp.gmail.com with ESMTPSA id r70sm9959248wmg.30.2018.02.13.15.28.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Feb 2018 15:28:19 -0800 (PST) From: Marek Vasut X-Google-Original-From: Marek Vasut To: linux-renesas-soc@vger.kernel.org Subject: [PATCH] ARM: shmobile: stout: enable R-Car Gen2 regulator quirk Date: Wed, 14 Feb 2018 00:28:12 +0100 Message-Id: <20180213232812.31408-1-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.15.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180213_152832_379789_99BE55C0 X-CRM114-Status: GOOD ( 12.93 ) 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: Geert Uytterhoeven , Kuninori Morimoto , Wolfram Sang , Simon Horman , linux-arm-kernel@lists.infradead.org, Marek Vasut MIME-Version: 1.0 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 Regulator setup is suboptimal on H2 Stout too. Signed-off-by: Marek Vasut Cc: Geert Uytterhoeven Cc: Kuninori Morimoto Cc: Simon Horman Cc: Wolfram Sang --- arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c b/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c index 44438f344dc8..b749450d361f 100644 --- a/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c +++ b/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c @@ -1,9 +1,9 @@ /* * R-Car Generation 2 da9063/da9210 regulator quirk * - * The r8a7790/lager and r8a7791/koelsch development boards have da9063 and - * da9210 regulators. Both regulators have their interrupt request lines tied - * to the same interrupt pin (IRQ2) on the SoC. + * The r8a7790/lager,stout and r8a7791/koelsch development boards have da9063 + * and da9210 regulators. Both regulators have their interrupt request lines + * tied to the same interrupt pin (IRQ2) on the SoC. * * After cold boot or da9063-induced restart, both the da9063 and da9210 seem * to assert their interrupt request lines. Hence as soon as one driver @@ -118,6 +118,7 @@ static int __init rcar_gen2_regulator_quirk(void) if (!of_machine_is_compatible("renesas,koelsch") && !of_machine_is_compatible("renesas,lager") && + !of_machine_is_compatible("renesas,stout") && !of_machine_is_compatible("renesas,gose")) return -ENODEV;