From patchwork Fri Mar 14 11:21:10 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Chen X-Patchwork-Id: 14016673 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BB04AC282EC for ; Fri, 14 Mar 2025 11:32:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=8w/NMnluLso4auUJlPLHvGrwv8C1kQ2MGdbvhxTHnEI=; b=wjdxw81fWt3T0xygHPEIdyKoLO 2oxMLzjQz6dMailRVznwhEmyHsuohghU/TcJr+0idkeb6F5kkQYFMyJEDu70t/dOxYoPS9KRzqRHf ZBmW3PlvHQfvLAYrquoSbCdgSGqmCAWLIsCuC74h1NdjF9LDVkxMsUGXSa6vyCJdSuapUeVxIJD+F jFiEu7AaPePUa8lC1/2OwlAJ+yXQdoW6IBF1bwC9BSM/ViS8J2qC64M1YWt30usacfzFsRpziU/8c PptoVejRPywtRsjcJ6j2hXKRSggcbCG9DkCHXIkMVoxcqA5013i+0CPfhfNpOguaeyhGcUeJCYHOj JDMekc3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tt3GY-0000000E0OF-3BDC; Fri, 14 Mar 2025 11:31:50 +0000 Received: from mail.aspeedtech.com ([211.20.114.72] helo=TWMBX01.aspeed.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tt36N-0000000Dz2L-16QY for linux-arm-kernel@lists.infradead.org; Fri, 14 Mar 2025 11:21:20 +0000 Received: from TWMBX01.aspeed.com (192.168.0.62) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12; Fri, 14 Mar 2025 19:21:14 +0800 Received: from aspeed-fw03.aspeedtech.com (192.168.10.13) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server id 15.2.1258.12 via Frontend Transport; Fri, 14 Mar 2025 19:21:14 +0800 From: Kevin Chen To: , , , , , , , , , , , , , CC: Kevin Chen Subject: [PATCH v4 0/3] Add AST2600 LPC PCC support Date: Fri, 14 Mar 2025 19:21:10 +0800 Message-ID: <20250314112113.953238-1-kevin_chen@aspeedtech.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250314_042119_302277_C89633E7 X-CRM114-Status: UNSURE ( 8.38 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org -- v4 aspeed-lpc-pcc.c: -- Remove the debug message in the aspeed_lpc_pcc_probe. -- Add pcc-ports in the aspeed-g6.dtsi. v3 aspeed-lpc-pcc.c: -- Add ida_free and fix the dev usage with removing some debug messages. aspeed-lpc.yaml: -- Add description about the pcc-ports usage. v2: -- Change driver path to drivers/misc Kevin Chen (3): dt-binding: aspeed: Add LPC PCC controller ARM: dts: aspeed-g6: Add AST2600 LPC PCC support soc: aspeed: lpc-pcc: Add PCC controller support .../devicetree/bindings/mfd/aspeed-lpc.yaml | 38 ++ arch/arm/boot/dts/aspeed/aspeed-g6.dtsi | 8 + drivers/misc/Kconfig | 10 + drivers/misc/Makefile | 1 + drivers/misc/aspeed-lpc-pcc.c | 437 ++++++++++++++++++ 5 files changed, 494 insertions(+) create mode 100644 drivers/misc/aspeed-lpc-pcc.c