From patchwork Fri Jul 14 12:40:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 703301 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 F0CC3C001DD for ; Fri, 14 Jul 2023 12:40:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234861AbjGNMk5 (ORCPT ); Fri, 14 Jul 2023 08:40:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235261AbjGNMk5 (ORCPT ); Fri, 14 Jul 2023 08:40:57 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 271B826B1 for ; Fri, 14 Jul 2023 05:40:53 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-4fb73ba3b5dso3218064e87.1 for ; Fri, 14 Jul 2023 05:40:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689338451; x=1691930451; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=OMCvrRbG3eEHni7DJadXrX/4XYjVj/I3WUzNH8fXQ/s=; b=FVZ0RTM9dtahF48Q6C/3ClhJsT7ZCh6UweyM2SlNHmXjOuLcOPoilZRlltV4LmccnK ZUPGoIwV7jCNM8755sKuyQ3rw0g0L0AteDQ9sHgNCXKCzteRIVHq56lBz37jA4/I5Erg VvZixzMHNTh4nmxpbvkf3r7Yl07QLS93CKNIwXXczpvu2YLD35GrhjXP6vxCdPmHUFJc J/YK4FLPxDCwFLKGMynkrT/h7DnT/RGhde5f6gm7C3pAbR24UFSVR2MBlOZvNgnWsIHv CaWk9k8+8TZfmQ/Yp8kaiy1XOn/X/Gp0THAryfOIpPu72t3o3QeuDoy4+AOPw5uJg2fv QpfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689338451; x=1691930451; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OMCvrRbG3eEHni7DJadXrX/4XYjVj/I3WUzNH8fXQ/s=; b=eh5zb13HBn3XI27UPSujKNDMtzq3xFqXpdWftY7PeFmsJzIeBygS6Q3J905n5V1b8z 6E6hLbW044CJdZy1zQ0t2kLykwaO8883GqrY3XIu2XMLFhVu38Fx5F728mhVREwUHVZa SZHWe442NyfXVrzFZBRK1pd+A6yZs8Uhr7/NWFEVyfmjP7OIwoRU01VWrGGS7PsMWVWC agiXYPrwlZi4LRfG2oKrafPZK1v4JllNU5WNSYW74jxkGd2Jpiw+4+bP5hNEs6jVTbeq lfqRPpsTfdL5rcOlNl0dVTH/WnOWhzHcN8ey5qM5CWzkQhZuePbQl2MGYIZE0Excz9JP V6SQ== X-Gm-Message-State: ABy/qLZ4ZAQHsx+pjmhC1Dj/iXDOXjBUTm3xwp8yu+XsB3/7GatGYakX irPQ8f0PKEuCYPQlxzlmkYL1Tg== X-Google-Smtp-Source: APBJJlHn/5VdSC50EYrgnvHeqg01QGP4ijhCvZtnycHIAeQhFQcagg+At/7vpMK0Zx2lkwknnnOBTg== X-Received: by 2002:ac2:5f62:0:b0:4fb:7be5:46b3 with SMTP id c2-20020ac25f62000000b004fb7be546b3mr3154336lfc.55.1689338451328; Fri, 14 Jul 2023 05:40:51 -0700 (PDT) Received: from [192.168.1.101] (abxj146.neoplus.adsl.tpnet.pl. [83.9.3.146]) by smtp.gmail.com with ESMTPSA id b6-20020ac25e86000000b004fb2244563fsm1482588lfq.289.2023.07.14.05.40.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 05:40:50 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH 0/3] Clean up LPASS_LPI probe Date: Fri, 14 Jul 2023 14:40:45 +0200 Message-Id: <20230714-topic-lpass_lpi_cleanup-v1-0-dc18b5bd14f7@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAE1CsWQC/x2N7QrCMAwAX2Xkt4V96TZfRWSkNXWB0oXGyWDs3 Q3+vIPjDlAqTAr36oBCX1Zes0FzqSAsmN/k+GUMbd129dD07rMKB5cEVeckPIdEmDdxsRvQ38Y 4TeMVrPao5HzBHBbr85aSSSkUef/vHs/z/AGX0pT2fgAAAA== To: Andy Gross , Bjorn Andersson , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivas Kandagatla , cros-qcom-dts-watchers@chromium.org Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1689338449; l=1045; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=8DDyjVP4q1BXBuCaQyRFK9fvQH4xjE517KGgWzFlkr8=; b=b1FrtZd1MuxUfhJsK5Wr1mfg1aiJEuK6IjqOsNdVulkGBV8FHgOlJCzv7n1uxgroV777dQQwn BU2nBIxCY8mADjTujPRSXN/BsPmT0QPYyNRpbP+K47AVeo8Bf/ZRynC X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Some SoCs (like SM6115 or SC7280 with various firmwares) expect a single clock for the LPASS pinctrl. This serires addresses that by simplifying the probe code and relying on bindings to sanction the correct number of clocks. That allows us to shoot down another downstream-ism. Signed-off-by: Konrad Dybcio --- Konrad Dybcio (3): pinctrl: qcom: lpass-lpi: Make the clocks optional, always dt-bindings: pinctrl: qcom: lpass-lpi: Remove qcom,adsp-bypass-mode arm64: dts: qcom: sc7280: Remove qcom,adsp-bypass-mode .../devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml | 5 ----- arch/arm64/boot/dts/qcom/sc7280.dtsi | 1 - drivers/pinctrl/qcom/pinctrl-lpass-lpi.c | 6 +----- 3 files changed, 1 insertion(+), 11 deletions(-) --- base-commit: 7c2878be573282a9961c359b806ccf70afe1a6b6 change-id: 20230714-topic-lpass_lpi_cleanup-f37ab68f9985 Best regards,