From mboxrd@z Thu Jan 1 00:00:00 1970 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=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 AB95CC072A4 for ; Wed, 22 May 2019 08:01:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 85B75217F9 for ; Wed, 22 May 2019 08:01:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728711AbfEVIBm (ORCPT ); Wed, 22 May 2019 04:01:42 -0400 Received: from gloria.sntech.de ([185.11.138.130]:43264 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725850AbfEVIBm (ORCPT ); Wed, 22 May 2019 04:01:42 -0400 Received: from we0524.dip.tu-dresden.de ([141.76.178.12] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hTMBw-0007zg-DG; Wed, 22 May 2019 10:01:40 +0200 From: Heiko Stuebner To: Douglas Anderson Cc: briannorris@chromium.org, ryandcase@chromium.org, mka@chromium.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Rob Herring , Mark Rutland , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 1/2] ARM: dts: rockchip: Add pin names for rk3288-veyron-minnie Date: Wed, 22 May 2019 10:01:39 +0200 Message-ID: <1983983.hLAGMFZVp3@phil> In-Reply-To: <20190521203215.234898-1-dianders@chromium.org> References: <20190521203215.234898-1-dianders@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Dienstag, 21. Mai 2019, 22:32:14 CEST schrieb Douglas Anderson: > We can now use the "gpio-line-names" property to provide the names for > all the pins on a board. Let's use this to provide the names for all > the pins on rk3288-veyron-minnie. > > In general the names here come straight from the schematic. That > means even if the schematic name is weird / doesn't have consistent > naming conventions / has typos I still haven't made any changes. > > The exception here is for two pins: the recovery switch and the write > protect detection pin. These two pins need to have standardized names > since crossystem (a Chrome OS tool) uses these names to query the > pins. In downstream kernels crossystem used an out-of-tree driver to > do this but it has now been moved to the gpiod API and needs the > standardized names. > > It's expected that other rk3288-veyron boards will get similar patches > shortly. > > NOTE: I have sorted the "gpio" section to be next to the "pinctrl" > section since it seems to logically make the most sense there. > > Signed-off-by: Douglas Anderson applied both for 5.3 ... that is actually a pretty nifty feature for boards whose schematics cannot be published :-)