From patchwork Thu May 21 10:48:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 6453971 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 78EAC9F399 for ; Thu, 21 May 2015 10:49:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A883220435 for ; Thu, 21 May 2015 10:49:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C4A4520382 for ; Thu, 21 May 2015 10:49:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755333AbbEUKtS (ORCPT ); Thu, 21 May 2015 06:49:18 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:33887 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753844AbbEUKtR (ORCPT ); Thu, 21 May 2015 06:49:17 -0400 Received: by wicmc15 with SMTP id mc15so8913573wic.1 for ; Thu, 21 May 2015 03:49:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=xpevSCJc5qRHm5Iq5DKokPayHQqnZaj6gNvOhNppyGY=; b=ypIVU3PuwS3NX4VxySZ0maHQfL8Pfx7Cs0dQzdodL+oQ615TefWLmzaHzh6J7ys4No 4kNUQEqNOGK+e33PjAu+EbjBbouBnL71l7rDP1ROJpeFgYfY94H0KGdkIX+02zeYRklF LayuP/VdV2Iq9ozyTT4okCslzz+xnv0QJRTRS1B791jK3QfkLe+wWNkvmyFvdBDEdRa/ qX8tLkM9xxogLLFWQT73KUvKlTb6uRp9WRux2Io9nJlj/0QxzhAuEeUM0ofePkHZEmQQ 7dDdZxBpj0JQTJKGJEYZVvccs1Q9hmId9OG7/ENLMpjt9msskCkvC0Tlh9Eq3RC1kv6d IKWw== X-Received: by 10.194.5.4 with SMTP id o4mr4253639wjo.51.1432205356544; Thu, 21 May 2015 03:49:16 -0700 (PDT) Received: from groucho.site (ipbcc02225.dynamic.kabel-deutschland.de. [188.192.34.37]) by mx.google.com with ESMTPSA id ew10sm2212512wic.22.2015.05.21.03.49.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 May 2015 03:49:15 -0700 (PDT) From: Ulrich Hecht To: geert@linux-m68k.org, horms@verge.net.au, linux-sh@vger.kernel.org, laurent.pinchart+renesas@ideasonboard.com, kuninori.morimoto.gx@renesas.com Cc: magnus.damm@gmail.com, Ulrich Hecht Subject: [PATCH v3 11/11] ARM: shmobile: gose: enable R-Car Gen2 regulator quirk Date: Thu, 21 May 2015 12:48:13 +0200 Message-Id: <1432205293-9488-12-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.3.5 In-Reply-To: <1432205293-9488-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1432205293-9488-1-git-send-email-ulrich.hecht+renesas@gmail.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Regulator setup seems identical to Koelsch. Signed-off-by: Ulrich Hecht Acked-by: Geert Uytterhoeven --- arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c b/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c index 384e6e9..62437b5 100644 --- a/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c +++ b/arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c @@ -123,7 +123,8 @@ static int __init rcar_gen2_regulator_quirk(void) u32 mon; if (!of_machine_is_compatible("renesas,koelsch") && - !of_machine_is_compatible("renesas,lager")) + !of_machine_is_compatible("renesas,lager") && + !of_machine_is_compatible("renesas,gose")) return -ENODEV; irqc = ioremap(IRQC_BASE, PAGE_SIZE);