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: 531232 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 CF063C433F5 for ; Tue, 11 Jan 2022 22:05:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345706AbiAKWFp (ORCPT ); Tue, 11 Jan 2022 17:05:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345754AbiAKWFo (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 ED4F7C061751 for ; Tue, 11 Jan 2022 14:05:43 -0800 (PST) Received: by mail-pl1-x635.google.com with SMTP id z3so911105plg.8 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=j8bk2/6qgOPHaYJ07rU2BOHDWSO6LqixPHoHx0+am5N8RQNStcFSCMa+t45L9iEVhx h11tlNyCpTV40vaaPWKYlLMtl7ljUafEcgdPMsNTEI8O17lMvpTHMsqTNO7ACJfsLl1y F1SDunmtA1W6Gqawr/VrT9QdNup8em50cJihUrOTKha2Lz/YOns3DS+OP3WxC22Ri72x MzNQK4AfAqsOV6c5f0iI+rFUY1M3+TAvdJnrteDPdZrIPaKOY3QOAq1swE4omg2LSWPi ZzN/THYyWCOBmOEDYTps0T621/6TZ5U1HnIU4gjGM1pjwoyu9uSn/+l09Ih46/elBgt3 FcIQ== X-Gm-Message-State: AOAM533KYAWyxqVg6DuuEv0Cq9+6eGf/ugil/0kohHfvSsgImReBP21o A5+pdPPT9udpwSA8HgB3MXGCQA== 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: devicetree@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 --- 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.