Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp746061pxb; Tue, 5 Apr 2022 21:29:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkuGBTLzvA8SsNjncREgKuUsreD8HbUgCPXSyIG24Ic2DnCWHnz80QgVZmAP8gD/Ii5niD X-Received: by 2002:a63:28c:0:b0:380:9751:8135 with SMTP id 134-20020a63028c000000b0038097518135mr5502325pgc.576.1649219397937; Tue, 05 Apr 2022 21:29:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649219397; cv=none; d=google.com; s=arc-20160816; b=AhE9+1wn2XTt7PR2JGFKS4TTezeNbikqkXqDis+owZ8tZ2X0H5FkpwnOA3nRVGOxoC V/vdByeB6nYpM0hycEzJD22pMHoMJBzNVYGYGFESPFjVqzmfH/D3/NGgy1LAmEHDh1R3 +/ikd4LqztZT0YGzQdXjEtJzkLMj7B+vY7NHw0ZMrcbPpmaMCRiXu3XAlUD7HYkMsAUG JOp0N8VROqst/Qf6v4CNZop30U4mGbOYvHbkGAKxM9cG51wj3suCZo4JyMvFqO4oJmk/ sYMrTVQKrXTrJk1P/txAcMOpJdJR4I9kFmgS3N4MlxgTQJDs/4cU/wPU5ojrvf2qNYYZ up7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=zTWywwmzk4ZsbG8SNOv1ueXQ7XdBM19pfu7N3g+58RY=; b=aaKm8g3ux2GQ2KvWhwCGO+w/J961Ftzx9VP058QVosoA6HPtE7TX+XPitdWFP++RsW X5DaD7jJHQTrX+NpgwgvcA8GcM+TZ8DQAA01E9hQ3WiUsuR4OxP+wAokmuV+vBty0eIH 2Mkg6AiXh3ZO8Br7pI4I6a3u9dL+o4+uSfV+YtAZiQNTwsAUepKeGD4r6ySZ6cZKyk2r HKMFkvs/urbjhb+Wsoi0v8T8dnK7EspV5TnK1O4Mk4xo5hZptCMEzYy7HQsojAdR7aYM tfkxatR8J80ARGNFeShnOqNDe4q05Oya2vpNytTmoLlrlx5zWIDYZe9KjVI4nP0urqyd yx3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bibus54y; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id a1-20020a63d401000000b00386480237efsi14092263pgh.617.2022.04.05.21.29.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 21:29:57 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bibus54y; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 41D782E0F08; Tue, 5 Apr 2022 19:52:40 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353773AbiDEKJS (ORCPT + 99 others); Tue, 5 Apr 2022 06:09:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241076AbiDEIcr (ORCPT ); Tue, 5 Apr 2022 04:32:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2A2813E22; Tue, 5 Apr 2022 01:26:50 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 711EB6117D; Tue, 5 Apr 2022 08:26:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7D210C385A2; Tue, 5 Apr 2022 08:26:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649147209; bh=/jXyjXnKVL7ginhzj5vU2rBOllvhtBJIJKYKH7J0cos=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bibus54ySznIGmNwvAzsRlaCh20+opt0kUkIWWJqFkcL8MYickmIlGJtkMUCjQ8Fl QNz1TWhU7TH8He6BsQgihZ7v65bdP62I642tVhdjimYt9WWS/py8sZHymLmyu8Np8l gDudTTEadvtaKT+4RnwtIt+sxg1YC7UNlMZZsgmI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chen-Yu Tsai , AngeloGioacchino Del Regno , Linus Walleij Subject: [PATCH 5.17 1040/1126] pinctrl: pinconf-generic: Print arguments for bias-pull-* Date: Tue, 5 Apr 2022 09:29:47 +0200 Message-Id: <20220405070438.001058820@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070407.513532867@linuxfoundation.org> References: <20220405070407.513532867@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chen-Yu Tsai commit 188e5834b930acd03ad3cf7c5e7aa24db9665a29 upstream. The bias-pull-* properties, or PIN_CONFIG_BIAS_PULL_* pin config parameters, accept optional arguments in ohms denoting the strength of the pin bias. Print these values out in debugfs as well. Fixes: eec450713e5c ("pinctrl: pinconf-generic: Add flag to print arguments") Signed-off-by: Chen-Yu Tsai Reviewed-by: AngeloGioacchino Del Regno Tested-by: AngeloGioacchino Del Regno Link: https://lore.kernel.org/r/20220308100956.2750295-2-wenst@chromium.org Signed-off-by: Linus Walleij Signed-off-by: Greg Kroah-Hartman --- drivers/pinctrl/pinconf-generic.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/drivers/pinctrl/pinconf-generic.c +++ b/drivers/pinctrl/pinconf-generic.c @@ -30,10 +30,10 @@ static const struct pin_config_item conf PCONFDUMP(PIN_CONFIG_BIAS_BUS_HOLD, "input bias bus hold", NULL, false), PCONFDUMP(PIN_CONFIG_BIAS_DISABLE, "input bias disabled", NULL, false), PCONFDUMP(PIN_CONFIG_BIAS_HIGH_IMPEDANCE, "input bias high impedance", NULL, false), - PCONFDUMP(PIN_CONFIG_BIAS_PULL_DOWN, "input bias pull down", NULL, false), + PCONFDUMP(PIN_CONFIG_BIAS_PULL_DOWN, "input bias pull down", "ohms", true), PCONFDUMP(PIN_CONFIG_BIAS_PULL_PIN_DEFAULT, - "input bias pull to pin specific state", NULL, false), - PCONFDUMP(PIN_CONFIG_BIAS_PULL_UP, "input bias pull up", NULL, false), + "input bias pull to pin specific state", "ohms", true), + PCONFDUMP(PIN_CONFIG_BIAS_PULL_UP, "input bias pull up", "ohms", true), PCONFDUMP(PIN_CONFIG_DRIVE_OPEN_DRAIN, "output drive open drain", NULL, false), PCONFDUMP(PIN_CONFIG_DRIVE_OPEN_SOURCE, "output drive open source", NULL, false), PCONFDUMP(PIN_CONFIG_DRIVE_PUSH_PULL, "output drive push pull", NULL, false),