From patchwork Tue Jan 11 22:05:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 12710814 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3F17C4332F for ; Tue, 11 Jan 2022 22:05:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345729AbiAKWFp (ORCPT ); Tue, 11 Jan 2022 17:05:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345742AbiAKWFo (ORCPT ); Tue, 11 Jan 2022 17:05:44 -0500 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC747C061748 for ; Tue, 11 Jan 2022 14:05:43 -0800 (PST) Received: by mail-pl1-x635.google.com with SMTP id g5so876563plo.12 for ; Tue, 11 Jan 2022 14:05:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=2pZg0j1z31z4dOAHR0v7nBDp7zlxEyAkVFUFENElCB8=; b=Q3Q9cgZpVUzHIhd8PSRDyNaoFL8ZmwZHfUxTsrOb9uxSVnZI5UKeJR/MwT9108Sh5+ 4npaWvqPeHxFmu3SHD4Ik/RxhBstWlDlvUvR1owC+KAxT2MDhAxvPudsVb7FqI7CqCKL geizo3KsG55e5q3+XbRecjvUKtorpRtOxYaTc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=2pZg0j1z31z4dOAHR0v7nBDp7zlxEyAkVFUFENElCB8=; b=b2Dq3dIPhd89rpelzBP2JekooUu/+3XvZy+sc7gC80Qa8QcYV7+RDKzkrcteQHz988 Mj7rUiwd9s4REmJUVa1ztlrvjuW+wRnKpvnUsDeB9lh+W3qUfXlqEnTAxcQQbOYNuv8w 9o1uZH2ZTcPBvy+9SRuA6OFnzbyvyoIHiMo0gG5SR1Vqe/HpwWEGgs8gFN31maj38Sou 0TnYl5Qk6YB0o85k8wLwEB4ooqlagpvfLSzivc1NyM9cS+kRbrRshZF/owDSCPTP/F3w nNc0PJjpe94H7tlqNU9v/uxaGwDlKajMjIaMnoJ1YibjdCuCldZ+YtE5JzU5pQrvLFJY 3drQ== X-Gm-Message-State: AOAM531xmA25G1lcPa+ZB0ODt/Ug4nb2+t5/zqPKrhJhrsHzIH+D+iir i1byxmL0pNSH5v/TYLBPHDG0QA== X-Google-Smtp-Source: ABdhPJxyOF4Tw0NiPrnu7TMfn/9n7P7Kn8lS425Di9hUjXcgZkzQf3zhSVj1wX3Rnpks5wsTSJq/Fg== X-Received: by 2002:a05:6a00:2442:b0:4bc:e7ac:b5aa with SMTP id d2-20020a056a00244200b004bce7acb5aamr6529915pfj.56.1641938743547; Tue, 11 Jan 2022 14:05:43 -0800 (PST) Received: from tictac2.mtv.corp.google.com ([2620:15c:202:201:ce5:9cab:3523:b066]) by smtp.gmail.com with ESMTPSA id t207sm10700413pfc.205.2022.01.11.14.05.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jan 2022 14:05:43 -0800 (PST) From: Douglas Anderson To: Bjorn Andersson , Linus Walleij , Stephen Boyd Cc: Matthias Kaehlcke , linux-arm-msm@vger.kernel.org, Douglas Anderson , Andy Gross , Rob Herring , devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: pinctrl: drive-strength doesn't default to 2 if unspecified Date: Tue, 11 Jan 2022 14:05:21 -0800 Message-Id: <20220111140519.1.Ie2662d6289af1e9758b14b37149703c846d5f509@changeid> X-Mailer: git-send-email 2.34.1.575.g55b058a8bb-goog MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org If the drive-strength isn't specified in the device tree then it doesn't actually default to 2. Instead, it defaults to whatever the heck the BIOS left it at. If the BIOS doesn't touch it then that means it's whatever the heck the initial state of the pin was when the SoC booted. Reported-by: Matthias Kaehlcke Signed-off-by: Douglas Anderson Reviewed-by: Stephen Boyd Reviewed-by: Matthias Kaehlcke --- Documentation/devicetree/bindings/pinctrl/qcom,tlmm-common.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,tlmm-common.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,tlmm-common.yaml index 3b37cf102d41..dac788bc9320 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,tlmm-common.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,tlmm-common.yaml @@ -70,7 +70,6 @@ $defs: properties: drive-strength: enum: [2, 4, 6, 8, 10, 12, 14, 16] - default: 2 description: Selects the drive strength for the specified pins, in mA.