From patchwork Wed Mar 8 18:33:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 660752 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 59DA3C742A7 for ; Wed, 8 Mar 2023 18:33:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229680AbjCHSd3 (ORCPT ); Wed, 8 Mar 2023 13:33:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230164AbjCHSd0 (ORCPT ); Wed, 8 Mar 2023 13:33:26 -0500 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8D654E5FB for ; Wed, 8 Mar 2023 10:33:22 -0800 (PST) Received: by mail-ed1-x52c.google.com with SMTP id x3so69359135edb.10 for ; Wed, 08 Mar 2023 10:33:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678300401; 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=3yBJw33XTi1NX0b/Xl1aRwxWtOkpJwd6CVMp3NR69ng=; b=ZoPOH6gY3hXX5Au1ZhMX6YjmuYIMSfU8pvJO31iIa7AHjEz1NKfieUSbM7my/rNpAe C+Y9E0YhD3sBz7GBZ2kpVKDIi32Honhoag33i2zJInkwGBuwYBHes7NmaSe6O1YArt0q GXYCO6TnLX83nhtte/Ktr7NbA24RxVWfci2gRhUrU5iPh6L/oRPlRarod8zPeAGlucMa unTg/oTFZ4Wtq2antq1qekrL34Uw/JrRYUB4wW1M2WP4/z5SLxd8PL4zuJ3nLB0ZUKkE jHOLM1c7LVXcXdtK6NlTy7RDE7sYBJGMT/uFCOAlPL7io1nY29z6REwVWiYR0t7+n3aQ 3ZQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678300401; 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=3yBJw33XTi1NX0b/Xl1aRwxWtOkpJwd6CVMp3NR69ng=; b=0mP3DKHVUJtRe5LmZUlpPrg2xDGWwSg54F+wvVQ5g5kzGFqdG0FdUiKHLIwxk4MlCL CcpnP25CPIDxfQplhPtKLNjXDjQI2p8RAuvNKJ03sNBb5JwF2WqP/igVgX4e9YPtat9G ZXZ6R/U0zkCQltuJsEsh4vwoMoFqICbgqmN+00TpbW3d1q87ivGxNNPzvCucSPn7NJ8w jdc8GiuqlolNomt9HBzYcR2bQv5AJzpmaXjZLaA3e3zG9hQj1tI8APp0uK7DDcsWmMWW ebys1Vj9m0dTmDSZiK/iPJFpdSR2+aAQlX/MlSc8gauZPN059HbP2rmU1SlZYmiYbHpi jS6g== X-Gm-Message-State: AO0yUKXSyQzSU/c+5aMm/XTWd94Apk6cP6NRk6CXj+PI9KCs2+PmG6Xp jCUlFn2Ub82vxXDAmnbX18l+dQ== X-Google-Smtp-Source: AK7set/OmTKUifRWezVugTSts48SafOihe6bfq/R1iYKjb3vebzctk9hLKAjJ6384zPGbSMQuRG1ng== X-Received: by 2002:aa7:c589:0:b0:4af:6e08:319 with SMTP id g9-20020aa7c589000000b004af6e080319mr23411028edq.15.1678300401256; Wed, 08 Mar 2023 10:33:21 -0800 (PST) Received: from krzk-bin.. ([2a02:810d:15c0:828:ff33:9b14:bdd2:a3da]) by smtp.gmail.com with ESMTPSA id r25-20020a1709067fd900b008e125ee7be4sm7852709ejs.176.2023.03.08.10.33.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 10:33:20 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/2] arm64: dts: qcom: sm8450-hdk: align WCD9385 reset pin with downstream config Date: Wed, 8 Mar 2023 19:33:17 +0100 Message-Id: <20230308183317.559253-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230308183317.559253-1-krzysztof.kozlowski@linaro.org> References: <20230308183317.559253-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Downstream DTS uses 16 mA drive strength for the WCD9385 audio codec RESET_N reset pin. It also pulls the pin down in shutdown mode, thus it is more like a shutdown pin, not a reset. Use the same settings here for HDK8450 and keep the WCD9385 by default in powered off (so pin as low). Align the name of pin configuration node with other pins in the DTS. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts index 9cd1d1bd86cb..4020e54e16f5 100644 --- a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts @@ -767,9 +767,11 @@ spkr_2_sd_n_active: spkr-2-sd-n-active-state { output-low; }; - wcd_default: wcd-default-state { + wcd_default: wcd-reset-n-active-state { pins = "gpio43"; function = "gpio"; + drive-strength = <16>; bias-disable; + output-low; }; };