From patchwork Fri Jun 23 21:49:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 11241 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp6064960vqr; Fri, 23 Jun 2023 15:05:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6H65HoAYxL8DzFs38CBE0wg0237J9nBuQMrROCfA7Te3+bKxuiTtUR+dU7QfRMtkc+Y9Fr X-Received: by 2002:a17:90a:eb18:b0:25e:c876:26e9 with SMTP id j24-20020a17090aeb1800b0025ec87626e9mr28066316pjz.22.1687557944508; Fri, 23 Jun 2023 15:05:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687557944; cv=none; d=google.com; s=arc-20160816; b=y6qdw7DDX27Eu0Yv+Gwcyrh/wcc20Ah+IKLfVghRqt5kwtJpqhwxwf25M+TeOkWEeK UgmBcOQG9T0PN8wTX34KmdOrVWhno3M5ouEQ4rOEociTbXIpPbXQV04HcUqG0TkgceyI BT4hkw4qksvH6Gp4KbqX/fHnx/OUMLstF4Bs9nZ892JpK/vZiYYqafTsIlkuV8gdQCYt Z8x198Iaj/FL/s/gQ4EdeDcfa/sloIybU4kSu9dT6daD5VF2+7s1rP3RSb5kMcskYF9h 1C0tqN3oLoLtXM4I5u4WZmJp+DuS07gNHJid1H5nGdtkLzJvKdcl+haYLtumqaEiMoWf jfVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=hREtLTaOr1vxm3oiuZ2o7EtfUAU7I8iGuHkim3fangU=; fh=VsX4z0tyvf0RAheyUx8BwMMyitohmjFBru78Qc382AE=; b=s1yfWRvzsw/QX8t95E20jGI3MAa/P8bc876EC7D2l9Af8ZlvGKxe4vjKYWem3q+Nf3 c9Yw1mYn6jv72gmAQvHMNHHNuNsNuPgfD6InE3Wex2MRNsJRm26n9c3QkmVlEtaSKYSO DuwFuLVzXDydwuKxxjx8l9MaLzdcN29Jkm15jp9HOnPTaAxza/Y4NJjLzlfYyBPoBanY p0bEtGMlluVpBy5CcRiN0BzX2wS8wOR49l4rIwImlvyZGn2DUcgQtPI7RZfVxNuHGPLu tPFWfRQcod+ersN+KJY+lQKflB966O4H1WQhvRrG7zbleDcaQf7zZtXe599ofSVhQjCM xI2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g7c6bkTr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v189-20020a6389c6000000b005428f25f67asi278880pgd.618.2023.06.23.15.05.31; Fri, 23 Jun 2023 15:05:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g7c6bkTr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231138AbjFWVuX (ORCPT + 99 others); Fri, 23 Jun 2023 17:50:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232775AbjFWVtq (ORCPT ); Fri, 23 Jun 2023 17:49:46 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2DAD26BC for ; Fri, 23 Jun 2023 14:49:44 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2b4619ef079so18477541fa.2 for ; Fri, 23 Jun 2023 14:49:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687556983; x=1690148983; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=hREtLTaOr1vxm3oiuZ2o7EtfUAU7I8iGuHkim3fangU=; b=g7c6bkTr17TtpoaApZ/bdpavw/HGtwa70Gn2FM6Xv0wVpFqg4MYqWNIIhndepStsq7 gco9S6d1XQuxhds1a0lRRcbDyBmmrwyOAJxmlcz+U+EZnr7o4+Kmiv3PCbaiZWV33uVg j+q+U5IxqYsVMUjyJNkZ6t4sN7vevmnhcEc9wB7oGitX+hgoaRTQDjlI+f/SHTvhzLws U1B//V5ZiubbWQ1jvEOLEMEO5uP0INd5yIXV2sXF3Dt13WCZlgofyZBdwzRLUmGk0eOK b/W7tMaDSn+GYgd8z2KmmGYo0LCyf7c0RAmO+9hM9Qx5EmDT5P1dzwZ9gOxYl0yXEzH0 5Xpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687556983; x=1690148983; 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=hREtLTaOr1vxm3oiuZ2o7EtfUAU7I8iGuHkim3fangU=; b=BzCBUGWiDBVNHxiMZdpVyR67thCudxZ+KeqTKf/Zvk4IlYu3k9eSBmkViJuqEGAoTU wUQrYOOxIv/mTajzjV9J6Eow4ZxhtbL2ajSQe4asCEbrgbul21WMPIwgDompDbI0L0ii BcDH6wiRBSEMkT6Q5OTYkXTmr6fqAoLbuw2wtkxrpXVgvjRbeo4U04HkOIvt3CnU/OBZ F+eynLRO1ywmtKWrwS1W0NkxM76PeSYRHisMi2Q8C98AZ+xK9wmqpyjY7gww9qm1t4QE +NfrW2z0d4A0/BNYmiNWt2HJkxQyUaHPBJ9AsRJk4gThpAQ2H2UbBYZB9yUfdasjEZ1U EQ4w== X-Gm-Message-State: AC+VfDxKhdbAgo+ZBKbBUlQ+Il7FtDyH3GmZzRbg1ROXi9K6iL8gByGH E1jK5MddtjWI3AUco11hUbDFqw== X-Received: by 2002:a2e:b601:0:b0:2b4:8623:cf74 with SMTP id r1-20020a2eb601000000b002b48623cf74mr9767508ljn.18.1687556982892; Fri, 23 Jun 2023 14:49:42 -0700 (PDT) Received: from [192.168.1.101] (abyk30.neoplus.adsl.tpnet.pl. [83.9.30.30]) by smtp.gmail.com with ESMTPSA id x20-20020a2e9c94000000b002b48437dcaasm1840919lji.103.2023.06.23.14.49.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jun 2023 14:49:42 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH 0/3] Drop useless compatibles from the SCM driver Date: Fri, 23 Jun 2023 23:49:41 +0200 Message-Id: <20230623-topic-scm_cleanup-v1-0-383089eae98d@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAHUTlmQC/x2N0QrCMAwAf2Xk2UKbjT74KyKSxegCNSutE2Hs3 w0+3sFxO3RpKh3Oww5NPtp1NYd0GoAXsqcEvTsDRhxjxjG816ocOr9uXIRsq4GnjHHKKWEm8G6 mLmFuZLx4aVspLmuTh37/o8v1OH645br9eAAAAA== To: Andy Gross , Bjorn Andersson Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687556981; l=793; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=bEI5FKrJkRFgUfQ2VOKFIcFc8axCW1G8JnUFD99njlw=; b=6KyNmJREHOrMriOKjwufbKhSjFXkwQ18Z4H4Ro8FFGSKbcarvxrR/RtBTH8cgW1lYlKlNuOqg fi6vQ0RFcHMBKNm9dEf2h0gUXAAd2prQD4Bn9mJF/WThoYIVZhYEOGd X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769532759524840493?= X-GMAIL-MSGID: =?utf-8?q?1769532759524840493?= The compatibles, apart from some ancient ones kept for backwards compat due to no generic fallback, are largely useless and we can easily remove them. This series attempts to do that with hopefully no harm. Signed-off-by: Konrad Dybcio --- Konrad Dybcio (3): firmware: qcom_scm: Always try to consume all three clocks firmware: qcom_scm: Always return devm_clk_get_optional errors firmware: qcom_scm: Drop useless compatibles drivers/firmware/qcom_scm.c | 87 +++++++++------------------------------------ 1 file changed, 16 insertions(+), 71 deletions(-) --- base-commit: c87d46a9e8ebd2f2c3960927b1d21687096d1109 change-id: 20230623-topic-scm_cleanup-c4620461126a Best regards,