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=-12.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 ED21BC433DF for ; Fri, 17 Jul 2020 12:40:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B6C2220768 for ; Fri, 17 Jul 2020 12:40:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=beagleboard-org.20150623.gappssmtp.com header.i=@beagleboard-org.20150623.gappssmtp.com header.b="OBBIeRs5" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726491AbgGQMkx (ORCPT ); Fri, 17 Jul 2020 08:40:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726453AbgGQMkx (ORCPT ); Fri, 17 Jul 2020 08:40:53 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BED60C08C5C0 for ; Fri, 17 Jul 2020 05:40:52 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id r12so10823760wrj.13 for ; Fri, 17 Jul 2020 05:40:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beagleboard-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=XbMlCx11rbLbFdkC+QXH5CyvBU1jlgOnuYV3o/eKSTc=; b=OBBIeRs5YQe53cyRJeYX75WESLa9u6jWsQw6BHANNlhLz0wf2n0wBzj8MgP2EsOMiK RO5iEVLGGOhPrAOHX33imdi5OOVvLr3NXI8sUJu/PKYPLN0fzQLprMhMBE97OXa6RbbU 6+WvAVfC8dKi9MAg/7CkoXVRbIJW9gEK/HsTo7JPOKp+zyeDAkFRAG7Bm9QqzxFPgqC9 OegEwqPAbUsJ2tD00KAsM8F1iLa0gyTn28EQ1jrpcWa6vM/uPmYMBjdJTQoML6uCAp1L nk+19uoCTuoX+65yEHNt0v7HDaghNLgg+VD3+bEX1rCBhz+hg5r/p4QjFI6gEtaLMBGI aKyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=XbMlCx11rbLbFdkC+QXH5CyvBU1jlgOnuYV3o/eKSTc=; b=efvpGtiQDygVW1W3t7bCFDhUC65LVg3AmaM/cd8tEeLZDyiweP2iM3/BCjBsi9gIVj QH/S3+NiQadFIPlCCX1sLBxpiEdshWPj7WRMuQobRJdv/ypClSjPEaXEwoXtMYo2LOY+ +WqBB7b8Rrtvaqbnxgeg7xuwFer/AcZm2YAPy9IbTIEYZTIyiCHj53ibx/3fouXPWHy/ ymHJdjxhpNM5Vxbrqljnhhp5Fl0weY1bZbieqOcz3RESFP14E1Rg3gW6zcncMGNPSmqt 3GP8twRrZ20aBP3FKW0XFLLb3TbFJ3R6Y5HQTMdJSB5Djfj90ND5BU1dv2F0An/5b3pO hPMA== X-Gm-Message-State: AOAM5330tuqVNOQqBZp9n1q3FeKICjLJxQpNAcSugkXnyg53dWNiAQcC DjQZTxR6jPpWvthaHaOIYhPpBQ== X-Google-Smtp-Source: ABdhPJyF/BzNPUDFp+tDFXgMK1ultZ/7J033uKll5RZ3+R6Ql7SrsDuTaWrGbG2627gogx/ISCkf7w== X-Received: by 2002:a5d:4d49:: with SMTP id a9mr1589896wru.312.1594989651376; Fri, 17 Jul 2020 05:40:51 -0700 (PDT) Received: from x1 (220.red-95-125-197.staticip.rima-tde.net. [95.125.197.220]) by smtp.gmail.com with ESMTPSA id k126sm15137861wme.17.2020.07.17.05.40.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2020 05:40:50 -0700 (PDT) Date: Fri, 17 Jul 2020 14:40:48 +0200 From: Drew Fustini To: Linus Walleij Cc: Tony Lindgren , Haojian Zhuang , Grygorii Strashko , Linux-OMAP , "open list:GPIO SUBSYSTEM" , Jason Kridner , Robert Nelson Subject: Re: [PATCH v2] gpio: omap: handle pin config bias flags Message-ID: <20200717124048.GA1765226@x1> References: <20200715213738.1640030-1-drew@beagleboard.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Thu, Jul 16, 2020 at 10:29:30AM +0200, Linus Walleij wrote: > On Wed, Jul 15, 2020 at 11:37 PM Drew Fustini wrote: > > > Modify omap_gpio_set_config() to handle pin config bias flags by calling > > gpiochip_generic_config(). > > > > The pin group for the gpio line must have the corresponding pinconf > > properties: > > > > PIN_CONFIG_BIAS_PULL_UP requires "pinctrl-single,bias-pullup" > > PIN_CONFIG_BIAS_PULL_DOWN requires "pinctrl-single,bias-pulldown" > > > > This is necessary for pcs_pinconf_set() to find the requested bias > > parameter in the PIN_MAP_TYPE_CONFIGS_GROUP pinctrl map. > > > > Acked-by: Grygorii Strashko > > Acked-by: Tony Lindgren > > Signed-off-by: Drew Fustini > > This v2 version applied! > > Yours, > Linus Walleij Thanks! I'm curious which branch should I look in to find it? I didn't see it in any of the branches in: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git/refs/ -Drew