From patchwork Wed Aug 2 18:40:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 13024 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp682822vqx; Wed, 2 Aug 2023 12:36:13 -0700 (PDT) X-Google-Smtp-Source: APBJJlGywiUNCD6jRF0NgJ3kaDw4iBnsK/SN7KWvtg67jKuGLQrYZEHey5fgLRbVqs/sn5Zu5Q3e X-Received: by 2002:adf:f9c3:0:b0:317:66c0:9d82 with SMTP id w3-20020adff9c3000000b0031766c09d82mr5621614wrr.64.1691004973241; Wed, 02 Aug 2023 12:36:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691004973; cv=none; d=google.com; s=arc-20160816; b=pvsaeINAwMbfH9HUNmmZA/hTvNmNjbXAIZ6gxUigUXeAFcCiz/EKqO5BcoqPdtT/Iw uoCpodgdG7a+zdNsba/3mdZT7gI98S0P+sCVS8L6TziFRSGCVkfXY8z2LBiR85wo/RQd 9dN8JTElaM0QyxhsMdfHA/o/yEvLzRe6cYUV5AIInakEpoZM14tykFLAbvc7i6nOWBWg 2qmdaygC7YgX7Pdg9YQzxzBolTXR/blX26haA4SUDgCVbcoas5FD8Qzxdwo+8qp5DtP5 NYLVqVsKlKtj8jv26SFu185urhTFqtR5x7OKFXtiruMyHFlOI29vbPyG/fhyjGVlOQ3o 8tYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=gWe9ydrRVu6VW4V9vHOFmtdG6tf6k99FrqC/EXEdyCA=; fh=JPZv9Z+p5Faf1JjpYqTkHdhcUHXxCguhgPx2Rny6gR0=; b=ytRrTwlVTqiq9LNYQG37k8BU21ZS0r4XVuPro28nIeHmrll6pKcmhXmnuP25/R2N7x 95DOiN4NJChts2KNQcpb2VnyOJWFzexsE3AVyYpd8mdtkNtPPC8H7cCLDJOOtPX79F86 k+PwBxDafQPoQHHWvKCpEX025t5Imk5IZv4wsDgOVRvBPqCov5gNbrGvfa8KRumOdgKb E31m3jGnULujHXl09ICyAACm/FhcKkoCBrhlyWxivXTO3B/g/QFcmDyeBlM/pKIMkWNI RMJiPz63rK4eWtfLlocRLXa6sj0Ar/qGHJtWDA8yXvqDPEZVYK6EpJ57gKrBb5XZaQKn LiSQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o23-20020aa7c517000000b0051e1c495a0csi11147409edq.376.2023.08.02.12.35.48; Wed, 02 Aug 2023 12:36:13 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230409AbjHBSnb (ORCPT + 99 others); Wed, 2 Aug 2023 14:43:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231362AbjHBSn0 (ORCPT ); Wed, 2 Aug 2023 14:43:26 -0400 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0759211D; Wed, 2 Aug 2023 11:43:25 -0700 (PDT) Received: from dslb-094-219-037-101.094.219.pools.vodafone-ip.de ([94.219.37.101] helo=martin-debian-2.paytec.ch) by viti.kaiser.cx with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1qRGoa-0003Eh-0f; Wed, 02 Aug 2023 20:43:20 +0200 From: Martin Kaiser To: Arnd Bergmann , Abel Vesa , Stephen Boyd Cc: Shawn Guo , linux-imx@nxp.com, Fabio Estevam , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH v7 0/2] ARM: imx25: print silicon revision at startup Date: Wed, 2 Aug 2023 20:40:44 +0200 Message-Id: <20230802184046.153394-1-martin@kaiser.cx> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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: INBOX X-GMAIL-THRID: 1772867567258140179 X-GMAIL-MSGID: 1773147230719951493 Resurrect the unused function to print the imx25 silicon revision at startup. This patch set is blocking Arnd's work on enabling -Werror=missing-prototypes. Arnd, could you pick up these patches in your tree as suggested by Stephen? Thanks, Martin changes in v7: - rebase against today's linux-next - add Acked-by from Stephen changes in v6: - rebase against today's linux-next - add Acked-by from Arnd changes in v5: - rebase against today's linux-next changes in v4: - rebase against today's linux-next - add Fabio's Reviewed-by tags changes in v3: - rebase against today's linux-next changes in v2: - drop the patch about silicon revision 1.2. It has already been merged by Shawn Guo. - send the changeset to the clk maintainers Martin Kaiser (2): clk: imx25: print silicon revision during init clk: imx25: make __mx25_clocks_init return void drivers/clk/imx/clk-imx25.c | 5 +++-- include/soc/imx/revision.h | 1 + 2 files changed, 4 insertions(+), 2 deletions(-)