Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1943894pxb; Wed, 2 Feb 2022 16:39:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJwpaDt3s2z51wjgXGsiYKtVazxDzsmazLjzZLRPjrXr3TYTrj+aFwgGRfgWLNKMsnOVx2oc X-Received: by 2002:a17:902:ecc1:: with SMTP id a1mr32481161plh.72.1643848786199; Wed, 02 Feb 2022 16:39:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643848786; cv=none; d=google.com; s=arc-20160816; b=nI6xeMxYkAxJ6PlX8/DJabzcGi0Dq99Mzhh7e5cMpL3HJtUBQyQrJYPWRnHt0gUza4 d+1Q6dTecPHGCJgcQjVnqHqaGVZRnwnD1rWjuDLypbO+FSaaQlOqhezeFBaqUih7JTuQ bu9LJmYofptFToAWWdEws0VpmwbLciZ2lohHluc8EFpZEUUAmHSaORjTlDl677WmiFAC 6iIVAVML/x6xDQCAvrq/dW/K+9DPEh/oXyOaRbgNTzTRQepn0LtFXdTly96A05Cz6De+ oICM2i3RDgLhuUJa/PUVfoV0rf9KZizHq3c0Lur2KzSpv27YtEX54ek7kXx4wC2Heo1d eCAg== 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=AapVF/LQKIsgITRD5ODGDgV939cO+kdwHgVJtC4MNGc=; b=Odotq94aVKw7TKGAGNbgo1gm6tdCloeUqk6Ux/MxzxvR+sFo+ogw6pSMtSjJf1/EE6 aD9mzL3KK56iTi/RCBfOPpzjTrcmQRLTkujsvLBB2DIyJua/skNXtqPsTWPimo4trzMi FSigID8Q2ioGsjWFJrDkM8zek/JPv08Rl4jumYdJk9ltfMiGUj6EHCTc3jBl029TJW8G KFmXhNGiLgO+YDkG2BWn20mlo7E85vW449ozgkf+STbrNUj4L2AQaQCU4syVudpgNXZc 01GAjcFaPc6q3x88uCWTLZ7SSHVJ0uWCWrQ3iMBLcuDo+qfP2Z8GwTNH9bulEuJIVHNr nnuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=eVI24tm5; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v185si19464793pgd.469.2022.02.02.16.39.32; Wed, 02 Feb 2022 16:39:46 -0800 (PST) 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=eVI24tm5; 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 S1345145AbiBBOud (ORCPT + 99 others); Wed, 2 Feb 2022 09:50:33 -0500 Received: from mga03.intel.com ([134.134.136.65]:5972 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235610AbiBBOuc (ORCPT ); Wed, 2 Feb 2022 09:50:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643813432; x=1675349432; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=qSAzalWburnwFux0BpRZHgg+Y+rx8hWq9RbpE+mk5Xs=; b=eVI24tm5VdHzjNJV780YuXalg1qlzQvc8N9hyhm0JiE9AIh5NiL2v5yJ cvPBbd7/V4Pn77PUXxlEdAuwnA69Kudh1n7GYdQ26YwFu3UUe6uRYDtPf 65pw77iTwZTHu6GBopiZfnXhGFsPyu66Ab3ADGy5tjYYcQfo874mxci4y gZY54dJs12PP17AXWT/+RjCSQVAWyIVICtSRDgw80cT1vPGKD0OeL1gvO UxTytBplkG53G/zskrCmTEss/o+E6A0l55FQWrDRvzVxKZjTMAZZ9t5ZO U/6uyr1F9/gATKAu33nkx9AFohg8EZUbWLR+RMj21jcuynpawffY8G50V A==; X-IronPort-AV: E=McAfee;i="6200,9189,10245"; a="247880532" X-IronPort-AV: E=Sophos;i="5.88,337,1635231600"; d="scan'208";a="247880532" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Feb 2022 06:50:31 -0800 X-IronPort-AV: E=Sophos;i="5.88,337,1635231600"; d="scan'208";a="497763029" Received: from mwnuczyn-mobl.ger.corp.intel.com (HELO localhost) ([10.249.137.160]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Feb 2022 06:50:19 -0800 From: Iwona Winiarska To: linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, Greg Kroah-Hartman Cc: devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org, Rob Herring , Joel Stanley , Andrew Jeffery , Jean Delvare , Guenter Roeck , Arnd Bergmann , Olof Johansson , Jonathan Corbet , Borislav Petkov , Pierre-Louis Bossart , Tony Luck , Andy Shevchenko , Dan Williams , Randy Dunlap , Zev Weiss , David Muller , Dave Hansen , Billy Tsai , Iwona Winiarska , Jae Hyun Yoo Subject: [PATCH v7 02/13] dt-bindings: Add bindings for peci-aspeed Date: Wed, 2 Feb 2022 15:48:27 +0100 Message-Id: <20220202144838.163875-3-iwona.winiarska@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220202144838.163875-1-iwona.winiarska@intel.com> References: <20220202144838.163875-1-iwona.winiarska@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add device tree bindings for the peci-aspeed controller driver. Co-developed-by: Jae Hyun Yoo Signed-off-by: Jae Hyun Yoo Signed-off-by: Iwona Winiarska Reviewed-by: Joel Stanley --- .../devicetree/bindings/peci/peci-aspeed.yaml | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 Documentation/devicetree/bindings/peci/peci-aspeed.yaml diff --git a/Documentation/devicetree/bindings/peci/peci-aspeed.yaml b/Documentation/devicetree/bindings/peci/peci-aspeed.yaml new file mode 100644 index 000000000000..1e68a801a92a --- /dev/null +++ b/Documentation/devicetree/bindings/peci/peci-aspeed.yaml @@ -0,0 +1,72 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/peci/peci-aspeed.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Aspeed PECI Bus Device Tree Bindings + +maintainers: + - Iwona Winiarska + - Jae Hyun Yoo + +allOf: + - $ref: peci-controller.yaml# + +properties: + compatible: + enum: + - aspeed,ast2400-peci + - aspeed,ast2500-peci + - aspeed,ast2600-peci + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + description: + Clock source for PECI controller. Should reference the external + oscillator clock. + maxItems: 1 + + resets: + maxItems: 1 + + cmd-timeout-ms: + minimum: 1 + maximum: 1000 + default: 1000 + + clock-frequency: + description: + The desired operation frequency of PECI controller in Hz. + minimum: 2000 + maximum: 2000000 + default: 1000000 + +required: + - compatible + - reg + - interrupts + - clocks + - resets + +additionalProperties: false + +examples: + - | + #include + #include + peci-controller@1e78b000 { + compatible = "aspeed,ast2600-peci"; + reg = <0x1e78b000 0x100>; + interrupts = ; + clocks = <&syscon ASPEED_CLK_GATE_REF0CLK>; + resets = <&syscon ASPEED_RESET_PECI>; + cmd-timeout-ms = <1000>; + clock-frequency = <1000000>; + }; +... -- 2.34.1