From patchwork Sun Jul 30 16:39:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 12828 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp1597392vqg; Sun, 30 Jul 2023 10:31:05 -0700 (PDT) X-Google-Smtp-Source: APBJJlFMWvtSuFzIaygBwawiDE4BhlQ5PV3VBbJpHjYgfRncXjKreTDF2yAyvVPdoKw8uM1cNciY X-Received: by 2002:a50:ea82:0:b0:522:3a54:1c05 with SMTP id d2-20020a50ea82000000b005223a541c05mr9751120edo.5.1690738265149; Sun, 30 Jul 2023 10:31:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690738265; cv=none; d=google.com; s=arc-20160816; b=cLhjgqBqYD0k4zTcXmlDktU0tpm2urIHBHQQ3wnZluE/d2JSBuwq3voIHGpGBlP8ll mSgK0es0QPAZZvZIjgh5XbnoMoPUX+GQLMJ2a+S858oUHSJhNpKcCZAYFnLCXA9n9+uU kih5PNDFW8MMd0zujr61OSojOKJKE6BLf+9kqQZmBe0shFW3CriCR7tLRt0tfGdLNUVY We3DIQK/nnj3DclUuCGkjTCj7I8pnVknFNV0Ed3OO3Sr8yBj4QVjgMmNfwN1Pf1jhjG6 383K8X/7V20+EHJbOadM7o/GhhCwuQ3ztgKoPw/vT3ght1qEA53ZjrjyIcKZCxoDSUX7 26Sw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=vpYUmRXcKVC2aULD26GmVEum45jxbrstqwk7DTDC/C0=; fh=WwzKZuyFi/F+VmNIz+NPOftR+wclUc1MyRRZ7hHl7Aw=; b=auuwb/P66YVsASooO9yMifnRoepT/VdoeN/wOKvCv2AOyFdPZpZ60S5E76ibEiCYcX m/WYZq7aS/ORxMOgKMZAmqnWZ7r9exF/cOELHLovlj2nrvERzOYeSFXVK7xq97u6c3xx 6hAv7G73gQiTno1Dxjs2vYhmxoVTDCBlKDFmQ0DMJuMmMkPCVqGiKvGDjoYqO4hm9bsf infOf4Rn7sZPhIRYFK5KT5jW+VH2QTWxkXT7bWb8sXwfnBY5VpoNnC18EsC2EThN8Lr2 dpmkFWb04FlaCRbPltFDRWWyclz4LnsDL54A2cgNVc44A+9kd1Ld0x/bROAm3V27qWrz 2qeA== 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 e20-20020aa7d7d4000000b005222d472bbesi5130137eds.219.2023.07.30.10.30.40; Sun, 30 Jul 2023 10:31:05 -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 S229500AbjG3Qly (ORCPT + 99 others); Sun, 30 Jul 2023 12:41:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjG3Qlw (ORCPT ); Sun, 30 Jul 2023 12:41:52 -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 07C2391; Sun, 30 Jul 2023 09:41:51 -0700 (PDT) Received: from ipservice-092-217-095-237.092.217.pools.vodafone-ip.de ([92.217.95.237] 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 1qQ9UH-0003mQ-0f; Sun, 30 Jul 2023 18:41:45 +0200 From: Martin Kaiser To: Abel Vesa , Stephen Boyd Cc: Shawn Guo , Fabio Estevam , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH v6 0/2] ARM: imx25: print silicon revision at startup Date: Sun, 30 Jul 2023 18:39:26 +0200 Message-Id: <20230730163928.70637-1-martin@kaiser.cx> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20220602080344.208702-1-martin@kaiser.cx> References: <20220602080344.208702-1-martin@kaiser.cx> 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: 1772867567258140179 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. I'd really appreciate a response from the clk maintainers if these (trivial) patches are ok. Thanks, Martin 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(-) Acked-by: Stephen Boyd