From nobody Tue Feb 10 05:17:26 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2A57BC001B0 for ; Wed, 19 Jul 2023 22:09:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230480AbjGSWJ4 (ORCPT ); Wed, 19 Jul 2023 18:09:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230440AbjGSWJw (ORCPT ); Wed, 19 Jul 2023 18:09:52 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F074E1FE6; Wed, 19 Jul 2023 15:09:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689804590; x=1721340590; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=JDwhcZhKr03vEOccJGsNc2LPmcRcTuvQ2/Fhij2iptw=; b=WKWy4uOnC1vaXbVeuvE08O9QTAHCKBYRQAZ2OcfFksNaBQ55ljPN7cWu qfQUCv8gA3n8DpI9zMve2iPTpzEvtRjdWB4CM1BMyTv+iwwYLqVnI4Cqq ydmy/J7J2YVigLjqTFyG5lwhFA6/MKDPbRygnyAAUbUSgREkZFOq8WzXl cVxKnZGVA/zJBZfy9eB/L7JEFZQyUn4vk/WSebjZB8FFA3JkX2khF54n0 DxvrFZcADoK9OLuyEkOUS2MYSA8dyDvobqe/KlcxhqVD0A++QjmNKWIof J254mQF5p1wFtGZpXqx02eP3Kplujkr2/vURhYgKMEkdm9S6NCaYLQaXV A==; X-IronPort-AV: E=McAfee;i="6600,9927,10776"; a="365461146" X-IronPort-AV: E=Sophos;i="6.01,216,1684825200"; d="scan'208";a="365461146" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jul 2023 15:09:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10776"; a="848205378" X-IronPort-AV: E=Sophos;i="6.01,216,1684825200"; d="scan'208";a="848205378" Received: from patroagn-mobl1.ger.corp.intel.com (HELO localhost) ([10.249.131.68]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jul 2023 15:09:43 -0700 From: Iwona Winiarska To: openbmc@lists.ozlabs.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Avi Fishman , Tomer Maimon , Patrick Venture , Nancy Yuen , Benjamin Fair , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Tyrone Ting , Iwona Winiarska Subject: [PATCH 1/4] dt-bindings: Add bindings for peci-npcm Date: Thu, 20 Jul 2023 00:08:50 +0200 Message-Id: <20230719220853.1029316-2-iwona.winiarska@intel.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230719220853.1029316-1-iwona.winiarska@intel.com> References: <20230719220853.1029316-1-iwona.winiarska@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Tomer Maimon Add device tree bindings for the peci-npcm controller driver. Signed-off-by: Tomer Maimon Signed-off-by: Tyrone Ting Co-developed-by: Iwona Winiarska Signed-off-by: Iwona Winiarska --- .../devicetree/bindings/peci/peci-npcm.yaml | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/peci/peci-npcm.yaml diff --git a/Documentation/devicetree/bindings/peci/peci-npcm.yaml b/Docume= ntation/devicetree/bindings/peci/peci-npcm.yaml new file mode 100644 index 000000000000..6eafa9ccaa54 --- /dev/null +++ b/Documentation/devicetree/bindings/peci/peci-npcm.yaml @@ -0,0 +1,56 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/peci/peci-npcm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton PECI Bus + +maintainers: + - Tomer Maimon + +allOf: + - $ref: peci-controller.yaml# + +properties: + compatible: + enum: + - nuvoton,npcm750-peci + - nuvoton,npcm845-peci + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + description: + Clock source for PECI controller. Should reference the APB clock. + maxItems: 1 + + cmd-timeout-ms: + minimum: 1 + maximum: 1000 + default: 1000 + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + #include + #include + peci-controller@f0100000 { + compatible =3D "nuvoton,npcm750-peci"; + reg =3D <0xf0100000 0x200>; + interrupts =3D ; + clocks =3D <&clk NPCM7XX_CLK_APB3>; + cmd-timeout-ms =3D <1000>; + }; +... --=20 2.40.1