Received: by 2002:a05:7412:b795:b0:e2:908c:2ebd with SMTP id iv21csp355419rdb; Thu, 2 Nov 2023 05:57:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFVBGfAmbZT7PfcDrUvkmnWZdL20NWt13ZOEkhVrDYIP8M/jbC3kFqYyuVXK6sGqRDAcMBz X-Received: by 2002:a17:902:f54f:b0:1cc:dda:9a1b with SMTP id h15-20020a170902f54f00b001cc0dda9a1bmr19554523plf.34.1698929835994; Thu, 02 Nov 2023 05:57:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698929835; cv=none; d=google.com; s=arc-20160816; b=jSaaiQoiLvvwaM/Oa0k9SgzUKCRR3P+7Ahln7WLeImx9ugUvpBB+9rWKWcq8VDZqgr 6JDomdiHhZWlupmGKfsZ25uGbPeJRo8989d4//xuMVkWJHuJHv1A1c7yVuyaXWjrM3CE 264Yrj3MPDLUXo83qCStxt3kmkX05QXhR6JvyLc0QFgw20MS9lgxHraNFKP5gst6B8Q8 Mv/7NMQuMB11y4RIgBo0MbeFtx24JAjFvUHz2qDhYHQPr7KLjyPoJCWz/4gpYM4KYPfP rGeqAF3mFncMEshO3mHSDyp1pkWiym0OEA7tLj6yeJZgAJ3gr3VZLCShp/7R/3fTz7GA Te0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=OsAjcGl2UpHPgEQeJujj5h3M2CG8DtmrGk5g/mrx/Gk=; fh=apvdSLEbvFvi+uRjFhw4+pLdhsuzIm2QJm0GsmHcsh8=; b=OTdrMWUm1PfR6xscTjVwHalUGph926/XV7aFzYM7ZoCU/QRMWWaUGD5qSOEywIg7lf J4i4LD8/lVKNl1bRqcKeMBB/iwfJIVP8Sjo3FgOgB4Q5FjzzMJ1iUz4Zg7iHV2/R+tvu JbY16I/YZ3tJS+7sKu9yK5S6ktNIPTwNk7UPNp2a5gMJ3rUPUwey1jCcC9KDWwiV2B4I IMgRbk+A2F/uEz9DfivcMgglhM1RfWyuEKWvJbuoomcDUQW3a9TW/oCjxPYIuM/+p4KC K+i5r8RO+51okZoUXOIbelutRYdlwfk2h0fX0hgPk+Y7jVm7+JgPn5k52+/j2VjiW9Xj +Bjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QzuHAefr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id f15-20020a170902ff0f00b001cc1af09466si4619838plj.125.2023.11.02.05.57.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 05:57:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QzuHAefr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 2C3A28263EA6; Thu, 2 Nov 2023 05:57:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376304AbjKBM43 (ORCPT + 99 others); Thu, 2 Nov 2023 08:56:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230149AbjKBM41 (ORCPT ); Thu, 2 Nov 2023 08:56:27 -0400 Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E27E121 for ; Thu, 2 Nov 2023 05:56:20 -0700 (PDT) Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-5b31c5143a0so11030237b3.3 for ; Thu, 02 Nov 2023 05:56:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698929780; x=1699534580; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=OsAjcGl2UpHPgEQeJujj5h3M2CG8DtmrGk5g/mrx/Gk=; b=QzuHAefrSZCMQDhfvQt41JRfqMsy37D2hBR/5PWZW9QiY4HBiTdRB3KRW71sq+qCay qm02OvTRM3BTJ9OKXEX4YBjezDiznpe4UxwIPeJR0vkkAlHf2FANjJ8Tuilzy6yQT8Zf 0wFWypNmL8HpmwJhee0gfcHKeRzK3LdDqSOFkzguIeeInSYxWtkYhdgiSEOlK9cg1Vgd m9f+QScfiX2M+xkeG/r5vDt/hYVpIqNLCKhYUkvY0iWWb2D5j5jJOCRWIzZWWHkznK2o uUu+W8OXuDOIK3UhMWlYeHcpr6FbvVo9qfrcGOInLP0i5SrmeO1rcoBqYXGutxJBxVDG qLRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698929780; x=1699534580; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OsAjcGl2UpHPgEQeJujj5h3M2CG8DtmrGk5g/mrx/Gk=; b=w0dIZqLpkdO50p2DSgeUdNsmQADLN8T9oeVmCYesv+Q7KIMKNU++DSMjqOFI8oijEg J9VZe0fhC/pTz2xOA3S2joESLdp5jCE5V9pEHB8nL1LlcGGC7PHS4Bb4qPQ3BmFjzlVf GsLJhlLBMfl0NNBHefJ/Vm/+B0kiso54gXJRROmpoJ0tyqbNuEIryYAeswdrNgyP/Ryf xy9vfCqxk2YzbE4Nh3S+unscEqfIG4JvZhxoyFxn+1bop9NtXBacOYbpvGafCNpfnXHo Hb4sI2ISWGwEWwmmgWMXC71AnQ0p+WJ4AsdBK8ZJXh7E4sqBU3HIaJI4xDKcs6nglOJH nx2A== X-Gm-Message-State: AOJu0Yw+Mx8E9RfSvbo/BMfmcz8ehYbqs7FWPXJRH3ncq6ahNdsPe87I cGQ23Fyb4iwYdlDY7lyzW82F6HbCxZLekdYv9a00Kg== X-Received: by 2002:a05:690c:fd6:b0:5b4:501c:b719 with SMTP id dg22-20020a05690c0fd600b005b4501cb719mr4293035ywb.31.1698929779854; Thu, 02 Nov 2023 05:56:19 -0700 (PDT) MIME-Version: 1.0 References: <20231030155340.3468528-1-andriy.shevchenko@linux.intel.com> In-Reply-To: From: Linus Walleij Date: Thu, 2 Nov 2023 13:56:08 +0100 Message-ID: Subject: Re: [PATCH v1 1/1] pinctrl: tangier: Move default strength assignment to a switch-case To: Andy Shevchenko Cc: Raag Jadav , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Mika Westerberg Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 02 Nov 2023 05:57:11 -0700 (PDT) On Thu, Nov 2, 2023 at 1:34=E2=80=AFPM Andy Shevchenko wrote: > On Thu, Nov 02, 2023 at 08:36:11AM +0100, Linus Walleij wrote: > > So where does this 1 come from in the end? That's the piece I > > am missing in this explanation. Somewhere, someone decided > > to pass 1 to indicate "pull to default resistance". > > > > Is it coming from ACPI firmware? > > No, it's pure Linux kernel decision. > gpio_set_bias() is who made that. That's why it needs to be chosen on glo= bal > level. Aha I see, that makes sense. Reviewed-by: Linus Walleij Yours, Linus Walleij