Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B32BBC04E53 for ; Wed, 15 May 2019 08:25:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8023E20843 for ; Wed, 15 May 2019 08:25:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="FQcA4Cgw" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726302AbfEOIZP (ORCPT ); Wed, 15 May 2019 04:25:15 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:34060 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726136AbfEOIZO (ORCPT ); Wed, 15 May 2019 04:25:14 -0400 Received: by mail-wr1-f66.google.com with SMTP id f8so1627358wrt.1 for ; Wed, 15 May 2019 01:25:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=1RJ4wJraO0JKEEKi7q0XAZAfeNAA5nMmUuCn84Wyo+M=; b=FQcA4CgwUYbJJKI4XTcXfFC8PdZW9xysNz0dCBghlkQVjZyYgj2ux99SundzoibPt9 +9dx6lcIUSPlegcuL+YZoEhhFO9JqT20RmdSC0+NmG/ni1M4OTZCl30n8eLkqcT5+IBg K2U+7kLWBI9oo4EBBdvatpF8221D/RSxfgCql3lg7CzERLJpccy8gy8g+eSBbtnGaPd1 90kiWobbMBL+Zwz2gOSGY2TpsQXlbexLoQ5cIvFPytfBTPMxC69eZX1aY+Q09DzvDKac 43c9qxVhcjg21LJzQEw2Vf6VfJ0J+vdTRoGhya9fEc6eV6YILbj3wMb8vI3J01HRmf3Y UZKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=1RJ4wJraO0JKEEKi7q0XAZAfeNAA5nMmUuCn84Wyo+M=; b=GZgfdKs+tQIxeExuF+wWAc2Eq1RpCY5+LRV8CWZT1fuBA/FosCHyqnPqUXPKftG2HR c/ZTM4GYNSj5FTXnsH6+AqrPfc1g1AapgxMNFoEaxSJtrkq+1xJWj8K/6ZrM3ZEW49xX 9ZtOQpt9D9foBD2vvDMEbHZOf/0YArHK7+Vh6RsVIp9Kmys13RuQP3UdcDjMCkOGJX5W sSaW4OE8fMPXtokTAMqDbVBCi4e6Wney6Hs8uzI1GEPt9OWLZxvmWAikn2UVmeU0G3NE E+9OsrEyMFedojcxb+xPZun8r4yg0wgL51+a5BRW2QA3NijBhn+VPxVohywiHXGH7ny+ a4Bg== X-Gm-Message-State: APjAAAULbTin6Jq19jdqV8D5RReKqTuYpgF0LlY8yP4ozoERl3wtLo6l 9YRmsLXxseZ0edTXTVV+8CyD0hCh X-Google-Smtp-Source: APXvYqxbfmImKl0PFsy8mOvTN8YOoICMxG0cTOqHUJtK7C18xUApX0Xl5Bw9RVCz3xS1U9v2fpsG/A== X-Received: by 2002:adf:dfc4:: with SMTP id q4mr21494130wrn.201.1557908712873; Wed, 15 May 2019 01:25:12 -0700 (PDT) Received: from [192.168.1.4] (ip-86-49-110-70.net.upcbroadband.cz. [86.49.110.70]) by smtp.gmail.com with ESMTPSA id v184sm1849944wma.6.2019.05.15.01.25.11 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Wed, 15 May 2019 01:25:11 -0700 (PDT) Subject: Re: [PATCH] ARM: dts: r8a779x: Configure PMIC IRQ pinmux To: Geert Uytterhoeven Cc: Linux ARM , Marek Vasut , Geert Uytterhoeven , Simon Horman , Linux-Renesas References: <20190502140634.4529-1-marek.vasut@gmail.com> From: Marek Vasut Openpgp: preference=signencrypt Message-ID: Date: Wed, 15 May 2019 10:25:10 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org On 5/3/19 8:13 PM, Geert Uytterhoeven wrote: > Hi Marek, Hi, > On Fri, May 3, 2019 at 5:18 PM Marek Vasut wrote: >> On 5/3/19 2:36 PM, Geert Uytterhoeven wrote: >>>> &rwdt { >>>> @@ -309,6 +314,8 @@ >>>> }; >>>> >>>> &iic3 { >>>> + pinctrl-names = "default"; >>>> + pinctrl-0 = <&pmic_irq_pins>; >>> >>> Given Blanche has a single device connected to irq2, I think it makes >>> sense to move the pinctrl properties to the pmic node below. >> >> It makes blanche somehow inconsistent with the other boards, but if you >> insist ... ? > > Typically the pinctrl properties are part of the device node that uses them. > For the other boards, that's not possible, as they are shared by all PMIC > nodes. Hence the other boards are the exceptions, actually ;-) > > Note that for multi-PMIC boards, adding the pinctrl properties to a single > PMIC node won't work, as that would break: > 1. The case where the driver for that PMIC is not compiled in, > 2. The R-Car Gen2 regulator quirk. Well it wouldn't work because it's shared by two PMICs and thus two driver instances in the first place. -- Best regards, Marek Vasut