Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp5516215imd; Tue, 30 Oct 2018 20:01:47 -0700 (PDT) X-Google-Smtp-Source: AJdET5fnpvl0BxXXkRj7rkUuPSY4ZjHVsylK4dBHGqpiu47Z7I7VsGF1pRnATNWyWeRg6/CY7pIj X-Received: by 2002:a62:f94b:: with SMTP id g11-v6mr1416105pfm.244.1540954907380; Tue, 30 Oct 2018 20:01:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540954907; cv=none; d=google.com; s=arc-20160816; b=MhuJMihkmHJTfd1S0uxYlNec2U8g+9Pja5FFKHXssKsZiwA5lfJo5U/Sz/3aqOOhFw eZasMjv/zAEqjm6O+2lQlvjmHfuU4SwnygDEKwJESp36+9QnN6/aUcXHAemF+zXDJIx8 kWDpeRgY/M0Ag6pNfZadBUEMJclHhsyC7Qpb5zRj1VId9q3vaena0NC6AXZx+IjDi/4j bZ8u98PuVQBl1R44DQCrdS3tP93iSGJo1GNfRmE0GrtRhMdyCnAxMBPgazkdsW5HhjjS 7Oad04fi5LQjYknsAwj4Z1T3RyhMFw9Oiqet1CWQbI4wr6XIzMJuUNF/Tp6yWj5NQKwZ b3ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=7xP8pxYWP6iRFybnCXDTz5/BYiWNIe9KaxPtSx1Ncz8=; b=xsoJdYNG+1ZD2a4xB4ip7lv5WqNZrsR2NxJK1gic6WJu97+yLba7pU67x31KMr9s1d Tz0GXcmATxjrtQEgAs79Pqln5sSrlmWx1b0KpwLjC7B/k93jcUtpTH2zer6Y9Kzva9Lk aCZ4/1oibAeuhPEV1HtxwvmndlOB6h1k+GCHA1+JgZ0fxLFoXnzbXAYLggVOYvctPNsu 0tYoi5tD2/OZkFDVuyffX6R1Otxe+H14aINcL/7t11+74g01MKGMSIbT5TtEv5+xzidX Ry0GHt3e9kPdoEikWGpuZk0vrHWk3LGB5ye0SBtPpmvHOaVO6PBam6yUB9rfobQN+TJ0 qGKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r4-v6si15665294pfb.43.2018.10.30.20.01.31; Tue, 30 Oct 2018 20:01:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728461AbeJaL5N (ORCPT + 99 others); Wed, 31 Oct 2018 07:57:13 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:34872 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726200AbeJaL5N (ORCPT ); Wed, 31 Oct 2018 07:57:13 -0400 Received: by mail-ed1-f66.google.com with SMTP id d6-v6so4260134edi.2; Tue, 30 Oct 2018 20:01:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7xP8pxYWP6iRFybnCXDTz5/BYiWNIe9KaxPtSx1Ncz8=; b=XLs6HEXV85Kd6xGquivdBQc6RntoLkAZuGLKQJbduFVzwLR9ynPfegieyI2IU6VwKl dGhTHoEhbBwMgQa++Zflre1ozXO3kGAXvksHhAd6cw492WTwLVif8WyY0UGnqiNvUTmm crG2dXs6K/aqMmRjw+7S+rKa2tBPgc5b+5d/3DxW6gdZ+Xkr7H5iUO2I9yrbb15/AiS0 O4InKUwIBqGjUQ71f205X+NIKHY5tEikzTTqJ9TajFOrTbUMG6gHHTFof34jFQ1fEGG8 6mPOZW8zr79103rj/ABu7Kg/DJN2CgW+kDt/xDDGuEYHbcPZfzbPfrWM14zacwstxlvw RmRw== X-Gm-Message-State: AGRZ1gJYcGQpIOsW3LgxP7j4i5Rhq6fYITeNzkevWuCLRyqGOSX8UjXf qmR0UR3u9bgTAwjn5wKb3axVRqmKGY8= X-Received: by 2002:a17:906:a35a:: with SMTP id bz26-v6mr454120ejb.98.1540954866238; Tue, 30 Oct 2018 20:01:06 -0700 (PDT) Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com. [209.85.128.44]) by smtp.gmail.com with ESMTPSA id x21-v6sm7589806eds.30.2018.10.30.20.01.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Oct 2018 20:01:05 -0700 (PDT) Received: by mail-wm1-f44.google.com with SMTP id l2-v6so7647923wmh.3; Tue, 30 Oct 2018 20:01:04 -0700 (PDT) X-Received: by 2002:a1c:1752:: with SMTP id 79-v6mr831954wmx.145.1540954864372; Tue, 30 Oct 2018 20:01:04 -0700 (PDT) MIME-Version: 1.0 References: <20181023185330.10472-1-oskari@lemmela.net> <20181023185330.10472-4-oskari@lemmela.net> In-Reply-To: <20181023185330.10472-4-oskari@lemmela.net> From: Chen-Yu Tsai Date: Wed, 31 Oct 2018 11:00:51 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 03/11] dt-bindings: gpio: gpio-axp209: add AXP803 GPIO bindings To: oskari@lemmela.net Cc: Linus Walleij , Sebastian Reichel , Rob Herring , Mark Rutland , Maxime Ripard , Jonathan Cameron , Lee Jones , Hartmut Knaack , Lars-Peter Clausen , Vasily Khoruzhick , Quentin Schulz , "open list:THERMAL" , devicetree , linux-kernel , linux-arm-kernel , linux-gpio@vger.kernel.org, linux-iio@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 24, 2018 at 2:54 AM Oskari Lemmela wrote: > > The AXP803 GPIO is compatible with AXP813 GPIO, but add > specific compatible for it. > > Signed-off-by: Oskari Lemmela > --- > Documentation/devicetree/bindings/gpio/gpio-axp209.txt | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/gpio/gpio-axp209.txt b/Documentation/devicetree/bindings/gpio/gpio-axp209.txt > index fc42b2caa06d..5337a21d7bcf 100644 > --- a/Documentation/devicetree/bindings/gpio/gpio-axp209.txt > +++ b/Documentation/devicetree/bindings/gpio/gpio-axp209.txt > @@ -11,6 +11,7 @@ This driver employs the per-pin muxing pattern. > Required properties: > - compatible: Should be one of: > - "x-powers,axp209-gpio" > + - "x-powers,axp803-gpio" > - "x-powers,axp813-gpio" > - #gpio-cells: Should be two. The first cell is the pin number and the > second is the GPIO flags. > @@ -67,6 +68,7 @@ GPIO0 | gpio_in, gpio_out, ldo, adc > GPIO1 | gpio_in, gpio_out, ldo, adc > GPIO2 | gpio_in, gpio_out > > +axp803 > axp813 > ------ > GPIO | Functions > -- As mentioned in my reply to the cover letter, this patch isn't needed. We ask people to add model-specific compatibles in the device tree in case the hardware turns out not to be so compatible with the old hardware we thought it was compatible with. With the model-specific compatible in place, we have a way out. Without it, we'd have to ask everyone to update their device trees, which annoys some people who'd like to have some sort of backward compatibility. If the model-specific + fallback compatibles combination was to be listed, the line would include both compatibles. But we're not doing that for Allwinner stuff. As mentioned it is there just in case. The best outcome is we don't care and don't need to use them. ChenYu