Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3042005imm; Mon, 10 Sep 2018 10:05:11 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb4uKuYeooekmqAWN/WV2JlqlPKutVT9PbZN8yE2xYO3ltee+bQ62KrP7rhhTqU6oQnaDzS X-Received: by 2002:a62:5d89:: with SMTP id n9-v6mr25028016pfj.102.1536599111176; Mon, 10 Sep 2018 10:05:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536599111; cv=none; d=google.com; s=arc-20160816; b=dyAYw1p2UgfmrnTvaWZUA+rNvYtex+Ep6OUMSbe7EeaUYqo0Gjgap1CgivNEjjjfK7 It+g9g6tLRSwtOrq/Rc04H6O5iMr08okiS5uWL38QRC4Bt0iIy/DHIFvf+LSbItfaUjp KUcjE+uAGKOR1gSnfOhpqUCTOkY5qh0LtC5c2tOZSeOND9PyONA3gY+huWGzJshj38Jt GxUZtrEipRij3McaN6/QXwTwQjVpseV7qTGDUoPoIcaJmGjdrv8nHG0FX2A5vttbLVRK rPdSQCYy0wvP642aR79rSIGAoa9drxvyaKjQu/0/rgnu6NExSZVs0FJvOETn2YufkMRu 9mrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=KSFBg+0bAVX9vbPXlRh0pJaFGq8a89ebTnq4iCpn8CY=; b=JrLXJ7T7VV1EefK5uBbSKKj6g77nYwPpZU+uXOBEYMW+qoBgfXzFzKaMmR9T4uGKLs nXOMEscsoNaTtSVM+7S3pzb0cak+ke+nceZzvoHLET/KEn8G0cFzgXCmk9v1ME8CmTJ7 MWkgSxAgZc692MHkQ43GpiXfVB92OpeDbkU7LMGpN24nMyEdeeVK7hhQ/jCwSWBU44MS xYE+mrkKgs5mfqG6vtZ2SKzUpNGv84NroZH34iM2l3Qmio4NV+MZceZGqUa5zwbPO7k/ lT5N8Kd03QceIt33iBj6Jd2DiF1m56d6wrPmLBZXcUbePGW3mLCEshfN/KxDSB0P7bmT 42KQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=J+8HJ+Qn; 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 y27-v6si18173306pgl.479.2018.09.10.10.04.36; Mon, 10 Sep 2018 10:05:11 -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; dkim=fail header.i=@lechnology.com header.s=default header.b=J+8HJ+Qn; 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 S1728808AbeIJV60 (ORCPT + 99 others); Mon, 10 Sep 2018 17:58:26 -0400 Received: from vern.gendns.com ([206.190.152.46]:60859 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726603AbeIJV6Z (ORCPT ); Mon, 10 Sep 2018 17:58:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=KSFBg+0bAVX9vbPXlRh0pJaFGq8a89ebTnq4iCpn8CY=; b=J+8HJ+QnMqYOoveLK9wUiBwjKZ 8qLVM29IbgU1b15CS9hYiqFJ3Wpj856pXZ50NIvUph8M5rst33837N5DZWV+jBedgGHXV7Z2An16W 8dTPdjEs2T5e5liaasmrXJvrrhbwY6Zk7kYQimbcty9ekjF+8RAUd15dG4FKrPJXvCWroPVWDd615 h19D7p1xoic6jNG/kfzNkLQXq1ZNF0/z/6jmR+cwg9PBNJZBfzV7r2GK7heAwRsKKJNN4L1v7NCOj 2zoar7SbLFTAjO/JPUf5Ci/k9nS8eMmFPTYu6JhWq355QDpUj42JZL1125e24aJlJgzdsrTYb0EyI 6+iw8ncQ==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:59438 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1fzPar-004Hng-Kt; Mon, 10 Sep 2018 13:03:21 -0400 Subject: Re: [PATCH 2/5] gpio: davinci: Use dev name for label and automatic base selection To: Sekhar Nori , Linus Walleij , Grygorii Strashko Cc: Keerthy , "Andrew F. Davis" , Kevin Hilman , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , Adam Ford , Bartosz Golaszewski References: <20180831191326.25106-1-afd@ti.com> <20180831191326.25106-2-afd@ti.com> <2a02c241-ac91-1bac-380d-122858bb03c3@ti.com> <040ce524-f6e2-81a2-68db-57a645de22ea@ti.com> <0e199aa3-2d9d-4e7d-af23-8523722f017a@ti.com> From: David Lechner Message-ID: Date: Mon, 10 Sep 2018 12:03:21 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/10/2018 02:37 AM, Sekhar Nori wrote: > On Monday 10 September 2018 12:55 PM, Linus Walleij wrote: >> On Sat, Sep 8, 2018 at 9:41 PM Grygorii Strashko >> wrote: >>> On 09/06/2018 09:16 AM, Keerthy wrote: >> >>>> Okay now its numbered differently: >>>> >>>> cat /sys/class/gpio/gpiochip340/ngpio >>>> 144 >>>> >>>> cat /sys/class/gpio/gpiochip272/ngpio >>>> 68 >> (...) >> >> So: >> >>>>> Are there applications that rely on the sysfs ABI on DaVinci? >>>>> >>>>> In that case base needs to be prerseved. >>> >>> Not only base, but label also - /sys/class/gpio/gpiochip0/label, as this is >>> the way to find proper GPIO chip in sysfs using legacy GPIO ABI. >>> >>> Linus, this platform is old and most of the users do not use new ABI (chardev), >>> so we could try change this, but need to be prepared for regressions reports. >> >> So what I'm trying to ask you guys is if there are applications that you >> are aware of that use the old ABI, and who will upgrade their >> kernels and be upset. >> >> We must not break userspace, but as you know if a tree falls in the >> forest and nobody is there to hear it, it doesn't make a sound. >> >> If you're not aware of any such applications I guess we should try >> changing this. > > Personally I am not really aware of any application which relies on the > ABI. I may have some scripts, but I can adjust them. I am also copying > some frequent users of DaVinci in mainline for any comments from them. > > Thanks, > Sekhar > It won't break anything that I am aware of.