From patchwork Thu May 28 15:15:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 6499391 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 AC6E89F1C1 for ; Thu, 28 May 2015 15:16:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CA8B22065E for ; Thu, 28 May 2015 15:16:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C6757206A0 for ; Thu, 28 May 2015 15:16:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753920AbbE1PQW (ORCPT ); Thu, 28 May 2015 11:16:22 -0400 Received: from mail-wg0-f54.google.com ([74.125.82.54]:34266 "EHLO mail-wg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753880AbbE1PQV (ORCPT ); Thu, 28 May 2015 11:16:21 -0400 Received: by wgv5 with SMTP id 5so39386901wgv.1 for ; Thu, 28 May 2015 08:16:20 -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=cDGvyP+DGX1iIhp0/9hGRrxt4gwuZZotL7cNrv+YKCFDwaYvMQgphMqk9V/87if9h8 gkzig0nAug7rt81XP1aMv4r4TFLv7wNnQGjfeti98uVfqPt+LMeK0FCMZSW4jaPT2Xew cD+cx9/42e56/vtjLIWzy667vTS2sB5ZgWzxeh4DPoDmOUAJaWp3iKF1HmnEmC5k8UO1 doJ7t2b/1wW5bkAqE7o17RvKqAAHBiN12oBB/X0SpUdeXPre6s2ZRJjzG9hIB2fFx2GZ sJ9g40z/5Cd0rZMrLf3WMdPwxCNIviEImvkEGbol/VpARVevaM4wCTSz2313DRpBc15g z8rw== X-Received: by 10.180.106.73 with SMTP id gs9mr16817275wib.1.1432826180519; Thu, 28 May 2015 08:16:20 -0700 (PDT) Received: from groucho.site (ipb21ad368.dynamic.kabel-deutschland.de. [178.26.211.104]) by mx.google.com with ESMTPSA id l6sm8992663wib.18.2015.05.28.08.16.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 May 2015 08:16:19 -0700 (PDT) From: Ulrich Hecht To: horms@verge.net.au, linux-sh@vger.kernel.org Cc: magnus.damm@gmail.com, laurent.pinchart+renesas@ideasonboard.com, geert@linux-m68k.org, kuninori.morimoto.gx@renesas.com, Ulrich Hecht Subject: [PATCH v4 4/4] ARM: shmobile: gose: enable R-Car Gen2 regulator quirk Date: Thu, 28 May 2015 17:15:57 +0200 Message-Id: <1432826157-6414-5-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.3.5 In-Reply-To: <1432826157-6414-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1432826157-6414-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 --- 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);