Message ID | 20230727202126.1477515-5-iwona.winiarska@intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6358:d09a:b0:134:c3fc:3153 with SMTP id jc26csp189760rwb; Thu, 27 Jul 2023 13:48:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlEjTKLAs2LkaJvnmOkpn8zvk9ZxeoXvB2Imq1NqIEbmxrmo7pCCfQQRrGJcoWtEDGLCT6Q4 X-Received: by 2002:a05:6a20:7d95:b0:12f:acc9:286 with SMTP id v21-20020a056a207d9500b0012facc90286mr578363pzj.17.1690490930759; Thu, 27 Jul 2023 13:48:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690490930; cv=none; d=google.com; s=arc-20160816; b=Q+1g2XQRSKzfe2YfIPDrsh9nMRepllPVypiZXseewjNO0pNXmEEj5RGTFxpX/ESTx7 4iwy3WIZ0RmSuW6FHcitDpqkfrok/1o/ah9XXpzVGOVvhdbKuqIQpkKpVfVlMOElw9wS C+Fg23MYNBhapkRDbaI43jcRilElS1GPMolt9WqU2b5FOQc5hraEFb6Zijp1uaokYNqG rjKeCgeGONf/00bYfdn6FOT9G3FLX6yECio6ktQZ8iIgTBcJBsFv+3zHE1Aj94psDd7k Y/xOBELfgWcMIkhgWVfqORJpJ3xlLk0YaExB29ix9nLZaIZiP0kvsKAn5FCrkYdF7BfZ lnUQ== 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 :dkim-signature; bh=5E/aCsOBriV6qEnZvKPTvmZmtMfqlI+JBNkGHzhwhV8=; fh=P2h1alEXho29j3CDq+UMRL8UwXH0EyIzr8cwfC5vIG8=; b=F1j7+BJeC5Ug264uvz3CQGPIP4rg+LrFZxiny/2TPHP0oPWdyVMeuZvJbVE4NHodyS KHoHuZWrnQi/2MQP0VqLBG6AdYOpaZC8dysxbLVdz5HnNKDeot+yq1GFpIrpzFR8zKIR W6TtLP4qf8QUzcBjPzozJ9L5qvcLSPVqx992q/dMDXUvCmmV7zRrvvIuQhQopBdisgxF C6jdzu9ZAcHc8iCw67B2JN2NlERdCdltdHYNC9FojKQIx2mdEbHnApvVjuOX/MFFbe5F gy9GiYpg0tmGETIoDAx0n6lxbhAKHpUuETuEHzxhdHuRSNyYaZbn4BX3FFilFjnM/hia 3L/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=A4gX0rc1; 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=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ds5-20020a056a004ac500b006744cbb3ebesi1837171pfb.127.2023.07.27.13.48.37; Thu, 27 Jul 2023 13:48:50 -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=@intel.com header.s=Intel header.b=A4gX0rc1; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232404AbjG0UXu (ORCPT <rfc822;hanasaki@gmail.com> + 99 others); Thu, 27 Jul 2023 16:23:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229978AbjG0UXt (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 27 Jul 2023 16:23:49 -0400 Received: from mgamail.intel.com (unknown [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F24DB35A2; Thu, 27 Jul 2023 13:23:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690489415; x=1722025415; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WeEGqpvtDT+7iTCOG+Fl7R/2EclFppBGdUDQfhYalbc=; b=A4gX0rc16UaNfTRmZ6D1dfKtTwy/aw83wlaHAL64/fsVyHgz4nH4zkAX 6OUfYvpUiFGAF5FqvikJ9YDo5pn+y2Mq1JvxuDirfpTPXf9w+blf92ngx k6btZja1d7tkOPkD47lZfLW6SxEex+CVa6uAN52Nc31u4pRpSQfbp9gjM kGzqmVCkMh3ToddOkW26NN9uPdWd/U9aHV+bG9eV3iYgs5t8FagXAJo7x xcigBpO8TNma86aoHMq80q77yU/49H5e4goExCHdVH4bQy4D0hTjHW88A QwrP/RZ+ERlIWMgFNqicfYf+2l/IUf8hoUfZ+/wFsh2Z6XNklqUhLc360 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10784"; a="368442798" X-IronPort-AV: E=Sophos;i="6.01,235,1684825200"; d="scan'208";a="368442798" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2023 13:23:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10784"; a="900980588" X-IronPort-AV: E=Sophos;i="6.01,235,1684825200"; d="scan'208";a="900980588" Received: from mtyszka-mobl1.ger.corp.intel.com (HELO localhost) ([10.249.133.203]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2023 13:23:32 -0700 From: Iwona Winiarska <iwona.winiarska@intel.com> To: openbmc@lists.ozlabs.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Avi Fishman <avifishman70@gmail.com>, Tomer Maimon <tmaimon77@gmail.com>, Patrick Venture <venture@google.com>, Nancy Yuen <yuenn@google.com>, Benjamin Fair <benjaminfair@google.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Paul Menzel <pmenzel@molgen.mpg.de>, Iwona Winiarska <iwona.winiarska@intel.com> Subject: [PATCH v3 4/4] arm64: dts: nuvoton: Add PECI controller node Date: Thu, 27 Jul 2023 22:21:26 +0200 Message-Id: <20230727202126.1477515-5-iwona.winiarska@intel.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230727202126.1477515-1-iwona.winiarska@intel.com> References: <20230727202126.1477515-1-iwona.winiarska@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772608218337846769 X-GMAIL-MSGID: 1772608218337846769 |
Series |
Add support for PECI Nuvoton
|
|
Commit Message
Winiarska, Iwona
July 27, 2023, 8:21 p.m. UTC
Add PECI controller node with all required information.
Signed-off-by: Iwona Winiarska <iwona.winiarska@intel.com>
---
arch/arm64/boot/dts/nuvoton/nuvoton-common-npcm8xx.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
Comments
Hi Iwona, I have done r-b, could you do a small modification On Thu, 27 Jul 2023 at 23:23, Iwona Winiarska <iwona.winiarska@intel.com> wrote: > > Add PECI controller node with all required information. > > Signed-off-by: Iwona Winiarska <iwona.winiarska@intel.com> > --- > arch/arm64/boot/dts/nuvoton/nuvoton-common-npcm8xx.dtsi | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm64/boot/dts/nuvoton/nuvoton-common-npcm8xx.dtsi b/arch/arm64/boot/dts/nuvoton/nuvoton-common-npcm8xx.dtsi > index aa7aac8c3774..b8326bbe9fde 100644 > --- a/arch/arm64/boot/dts/nuvoton/nuvoton-common-npcm8xx.dtsi > +++ b/arch/arm64/boot/dts/nuvoton/nuvoton-common-npcm8xx.dtsi > @@ -68,6 +68,15 @@ apb { > ranges = <0x0 0x0 0xf0000000 0x00300000>, > <0xfff00000 0x0 0xfff00000 0x00016000>; > > + peci0: peci-controller@100000 { Please modify the peci0 to peci we have only one PECI controller. > + compatible = "nuvoton,npcm845-peci"; > + reg = <0x100000 0x1000>; > + interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; > + clocks = <&clk NPCM8XX_CLK_APB3>; > + cmd-timeout-ms = <1000>; > + status = "disabled"; > + }; > + > timer0: timer@8000 { > compatible = "nuvoton,npcm845-timer"; > interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; > -- > 2.40.1 > Reviewed-by: Tomer Maimon <tmaimon77@gmail.com> Thanks, Tomer
diff --git a/arch/arm64/boot/dts/nuvoton/nuvoton-common-npcm8xx.dtsi b/arch/arm64/boot/dts/nuvoton/nuvoton-common-npcm8xx.dtsi index aa7aac8c3774..b8326bbe9fde 100644 --- a/arch/arm64/boot/dts/nuvoton/nuvoton-common-npcm8xx.dtsi +++ b/arch/arm64/boot/dts/nuvoton/nuvoton-common-npcm8xx.dtsi @@ -68,6 +68,15 @@ apb { ranges = <0x0 0x0 0xf0000000 0x00300000>, <0xfff00000 0x0 0xfff00000 0x00016000>; + peci0: peci-controller@100000 { + compatible = "nuvoton,npcm845-peci"; + reg = <0x100000 0x1000>; + interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk NPCM8XX_CLK_APB3>; + cmd-timeout-ms = <1000>; + status = "disabled"; + }; + timer0: timer@8000 { compatible = "nuvoton,npcm845-timer"; interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;