From mboxrd@z Thu Jan 1 00:00:00 1970 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 BC74AC433FE for ; Mon, 10 Oct 2022 11:46:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232324AbiJJLqq (ORCPT ); Mon, 10 Oct 2022 07:46:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232261AbiJJLqb (ORCPT ); Mon, 10 Oct 2022 07:46:31 -0400 Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27DF458517 for ; Mon, 10 Oct 2022 04:46:26 -0700 (PDT) Received: by mail-qt1-x82c.google.com with SMTP id f22so2326142qto.3 for ; Mon, 10 Oct 2022 04:46:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=87LarcGZUBDgr/oOLmODSXoRJIoY9TQRZN+1jE9/e80=; b=CUbfd3EmiObZ7AW/AzD4QlPimlqSNg5htPQDL8HerNQ/f2WXOAsdZhltEmy6U+/NMZ 2TkSw07tOa+UAeXZIeaE4TxkXo8sRpLTF+QquCxZAdpunLoqGRyiYk37WTuU8Y06u8wB yPrlWpFaQmSxb0LN+kI9nNn568JdQLLZOKgVxtvj0ccfBBdvdfPs0KwgauW3hFb11LAk J7w8SFIy9sJ6LMOmIIMAJGdd/1TlhHQ+zLk4Vyqf1TytIe1QdUYmELZhEDIqBetrNKAU WLaJ4EJnuuk1XxiblZeVoxLV3Bp5bAM/ZPTjUSgOoxWVCGv18h3jt8K3Zta8KySTCTzO P5IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=87LarcGZUBDgr/oOLmODSXoRJIoY9TQRZN+1jE9/e80=; b=OG+eRzdkk8zT3EQFnxlyAnqJZxVd1/v/MUSHuzhjDjzJoonrQIxcIR3wSxKF3fseIA XkKK7ofzSXiRc4eQYm928aEHkRrPViuDWwO8iHQt3ZCPUr1PM15ZSlDEl5Y92J0RWrgv Jh3MxEUjj8xNygJYWss72ITFsOJAkF+JaHWVYeNuJCuhfOqIX8NNf+o9mHUwaiRHyGdv jIw6xClVPD+sCKqtZrWzJERCqcahYujJrMp87SSXQY8YaeJ09VQICDZ0M0mz+XGtm/3h kHkZbbZWEPQeQQcwtiN+JQKfNTu2XClSr4Cmz9+0wUoUBYcS/UVcutuJW1ZhDWOP5f0v 8Bgw== X-Gm-Message-State: ACrzQf1KRFTRVEz0fU206Cz/HuM0Qg3B/LAFIUAW5FUbywNorxnid38y xC7briGJsPjBHHYjl2igdrsFDA== X-Google-Smtp-Source: AMsMyM6trnS53gwTrdqygRdoUjSYxGTV9WcA33cxuAALJD3Pc1LKGNP7e82qp23PpDB3Z9T/7jcEwQ== X-Received: by 2002:ac8:5f4d:0:b0:392:f942:911b with SMTP id y13-20020ac85f4d000000b00392f942911bmr14376591qta.26.1665402384895; Mon, 10 Oct 2022 04:46:24 -0700 (PDT) Received: from krzk-bin.home (cpe-72-225-192-120.nyc.res.rr.com. [72.225.192.120]) by smtp.gmail.com with ESMTPSA id s12-20020a05622a178c00b003972790deb9sm6698707qtk.84.2022.10.10.04.46.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Oct 2022 04:46:24 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Srinivas Kandagatla , Rob Clark , Douglas Anderson , Lee Jones , Arnd Bergmann , Sudeep Holla , Vinod Koul , Xilin Wu , Molly Sophia , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , stable@vger.kernel.org Subject: [PATCH v2 2/6] arm64: dts: qcom: sdm845-db845c: correct SPI2 pins drive strength Date: Mon, 10 Oct 2022 07:44:13 -0400 Message-Id: <20221010114417.29859-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221010114417.29859-1-krzysztof.kozlowski@linaro.org> References: <20221010114417.29859-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The pin configuration (done with generic pin controller helpers and as expressed by bindings) requires children nodes with either: 1. "pins" property and the actual configuration, 2. another set of nodes with above point. The qup_spi2_default pin configuration uses alreaady the second method with a "pinmux" child, so configure drive-strength similarly in "pinconf". Otherwise the PIN drive strength would not be applied. Fixes: 8d23a0040475 ("arm64: dts: qcom: db845c: add Low speed expansion i2c and spi nodes") Cc: Signed-off-by: Krzysztof Kozlowski --- Not tested on hardware. Changes since v1: 1. Put it under pinconf instead of pinmux, as suggested by Doug. --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index 132417e2d11e..a3e15dedd60c 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -1123,7 +1123,10 @@ &wifi { /* PINCTRL - additions to nodes defined in sdm845.dtsi */ &qup_spi2_default { - drive-strength = <16>; + pinconf { + pins = "gpio27", "gpio28", "gpio29", "gpio30"; + drive-strength = <16>; + }; }; &qup_uart3_default{ -- 2.34.1