Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1010970pxb; Wed, 6 Apr 2022 06:40:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqVOy0aEi29m9KQR56w5UFl7NZ4Vl4AwdwXp97iihzHSwTNIktev1wzsBauYrgnQArJmEt X-Received: by 2002:a17:90b:1b51:b0:1c6:f880:166d with SMTP id nv17-20020a17090b1b5100b001c6f880166dmr9818388pjb.185.1649252406836; Wed, 06 Apr 2022 06:40:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649252406; cv=none; d=google.com; s=arc-20160816; b=zZEFTplztB9E3SQiHySUJXldAMM9RdbCpsUnM5wfv7C47/lMILHw8hDIHzwBjqc3xw 7dV8ONsw8OqzpFWQPcqDniWdA3m2rXY6M6+zQeIVLuO2MsNltGoFqIOPqpUIQoOxRYN7 XJj9+0V97OIs7NbCo8p85INd9wY4b4P8A6ysI45m+J+c5RDSInZ/Sk5PJRIb3FUXxh4L XAdaNTaEP4o9s+nzRpNDx9ilMJFdL+7VFmCD7qkx/fgpw9IibBkLsyHPdw7qwlExTdpg HMJbKExaAAI0R8nflgq25AAY0psJih9pPoUTCE/4vzcAhEgDh4ixFNPGmB6Z2VZR8Pky EbLw== 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=ekApTJQtwa9BE4XEEdvBhckIEEB3f4PcigwHRM5RCteNKFmcy/lAZvDe0zj6Daf/gn Wc8NqA+hivPqall45ylFN3yVPAbyvYX/QK8ILyqGL401U88nO1zalctBXfxHvkTn0bxc gQAI7EPJtC2VdBEnMfxuWqO/+53ZLksfLCyg8g3zI3CSLSN8v3VjYg2a+BYiED+Owb1c PMpI5Ew1KdInYO83q/FS2mDRSfUyaertJ2DlLEKqgRr6g7udjLWxRT7Cehd2ZGB62mkX fjlJiJOLju1Zx5cbyYie3gTbexyA1P2uvPLt6t2F+sT4ZAIzNunMvcFOdgMsw2Bj4VDM ywtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JtZBri6A; 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 bg21-20020a056a02011500b0039908cd4e78si11060025pgb.263.2022.04.06.06.40.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 06:40:06 -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=JtZBri6A; 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 5BDBD48F71C; Wed, 6 Apr 2022 04:26:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1449155AbiDEUKS (ORCPT + 99 others); Tue, 5 Apr 2022 16:10:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354097AbiDEKLl (ORCPT ); Tue, 5 Apr 2022 06:11:41 -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 561E5506C8; Tue, 5 Apr 2022 02:57:14 -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 CB75E616D7; Tue, 5 Apr 2022 09:57:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DCD2BC385A1; Tue, 5 Apr 2022 09:57:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649152633; bh=/jXyjXnKVL7ginhzj5vU2rBOllvhtBJIJKYKH7J0cos=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JtZBri6AiPcD17ZOaTsIf+HV4j9YAOjJGCpc5POWiqdJNtTcdPMOvkoJontWLnv7n bt60KXH2n9VWJiLusRO9JsvWcArHNsqZDx6NY19ZYyDPs8Id2g5AKWewO1pJzCAEYD vjBruH0mfdYVJAb6jcPRQiTxQ4+nGMav25ShZfsA= 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.15 847/913] pinctrl: pinconf-generic: Print arguments for bias-pull-* Date: Tue, 5 Apr 2022 09:31:49 +0200 Message-Id: <20220405070405.217586932@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070339.801210740@linuxfoundation.org> References: <20220405070339.801210740@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),