From mboxrd@z Thu Jan 1 00:00:00 1970 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 36131C433F5 for ; Thu, 13 Jan 2022 03:17:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231969AbiAMDRe (ORCPT ); Wed, 12 Jan 2022 22:17:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231947AbiAMDRe (ORCPT ); Wed, 12 Jan 2022 22:17:34 -0500 Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D146C06173F; Wed, 12 Jan 2022 19:17:34 -0800 (PST) Received: by mail-qv1-xf2a.google.com with SMTP id a8so5337332qvx.2; Wed, 12 Jan 2022 19:17:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uG3pQtxj+kQP2KxNRSNQ4XEjcKAyEOlbmdPqDMlp97U=; b=gOpr/UNr5eV3u2bPC4IcBiiUqwRwQ+WMuDmso5ArSWRxh6g20AOMev/7Lb9F0ziqTQ J/G66KrzrY9GXZdT1Jtir1odGWcuStmjrttmUvxvLB7VUH8RX29xDQqRXj3TRWIGhWqw gBWO8bHq/0Ru4Ygd2K1ZYA4yi41H/CoI5VCKE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uG3pQtxj+kQP2KxNRSNQ4XEjcKAyEOlbmdPqDMlp97U=; b=ltAQqjes0320aFvhc+ejB1f+ewePU5dhcvoO5GH4Jzvmk0f8SqeBzR7G+/dK0DK9Bv hlVxyX0/bLt0XOXcwA1eaI0UKdEjXp6awytVSAtVhGap4U574DsUpeFZkjWEK39fy5Ju 2LK0UdgflVW177vr+VXO4gHvOOEcQYdSzq35NjsR/qr2cNqtU4BljOWJwuos+xM8sBTU ZqTOMkmQip88O4z7qEO/ai1P5MGgmoRnJtPSM2RQ8tz8VC8v4Nk7JywLFUmbdDWRDKRJ E08arMI/XjvCQQWda2GDSz+TwxMwHT9KUBSLOWRj637Go8umg04jb5WfdDSPrnDe+k+i 67Tw== X-Gm-Message-State: AOAM531Kf38udWkYywMjcmiSX+Nff9dmyAwOOcVtXOxjuNlUYUFZ0fkd huXI2bSebftZRGCQtPndJhJich6vJiiXCFU9DZo= X-Google-Smtp-Source: ABdhPJyYGgH51sQaqThiK/5CYNiJpMX4YiNmqrsx1jEIHvc0haWlE/tgAVrGGTbvfB3C4t16ThzTXF+ogb1+jCesuiE= X-Received: by 2002:ad4:5e87:: with SMTP id jl7mr1404945qvb.130.1642043853106; Wed, 12 Jan 2022 19:17:33 -0800 (PST) MIME-Version: 1.0 References: <20220112230247.982212-1-iwona.winiarska@intel.com> <20220112230247.982212-3-iwona.winiarska@intel.com> In-Reply-To: <20220112230247.982212-3-iwona.winiarska@intel.com> From: Joel Stanley Date: Thu, 13 Jan 2022 03:17:20 +0000 Message-ID: Subject: Re: [PATCH v5 02/13] dt-bindings: Add bindings for peci-aspeed To: Iwona Winiarska Cc: Linux Kernel Mailing List , OpenBMC Maillist , Greg Kroah-Hartman , devicetree , linux-aspeed , Linux ARM , linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org, Rob Herring , 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 , Jae Hyun Yoo Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org On Wed, 12 Jan 2022 at 23:04, Iwona Winiarska wrote: > > 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.31.1 > From mboxrd@z Thu Jan 1 00:00:00 1970 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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 CBB32C433EF for ; Thu, 13 Jan 2022 03:18:22 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4JZ8lK0X9Zz306m for ; Thu, 13 Jan 2022 14:18:21 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=jms.id.au header.i=@jms.id.au header.a=rsa-sha256 header.s=google header.b=gOpr/UNr; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::f2f; helo=mail-qv1-xf2f.google.com; envelope-from=joel.stan@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=jms.id.au header.i=@jms.id.au header.a=rsa-sha256 header.s=google header.b=gOpr/UNr; dkim-atps=neutral Received: from mail-qv1-xf2f.google.com (mail-qv1-xf2f.google.com [IPv6:2607:f8b0:4864:20::f2f]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4JZ8kS15CHz2ymb; Thu, 13 Jan 2022 14:17:35 +1100 (AEDT) Received: by mail-qv1-xf2f.google.com with SMTP id hu2so5267692qvb.8; Wed, 12 Jan 2022 19:17:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uG3pQtxj+kQP2KxNRSNQ4XEjcKAyEOlbmdPqDMlp97U=; b=gOpr/UNr5eV3u2bPC4IcBiiUqwRwQ+WMuDmso5ArSWRxh6g20AOMev/7Lb9F0ziqTQ J/G66KrzrY9GXZdT1Jtir1odGWcuStmjrttmUvxvLB7VUH8RX29xDQqRXj3TRWIGhWqw gBWO8bHq/0Ru4Ygd2K1ZYA4yi41H/CoI5VCKE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uG3pQtxj+kQP2KxNRSNQ4XEjcKAyEOlbmdPqDMlp97U=; b=Vn/fblnfsrHOZrWSeT8wgkQdN76FUF3Xo/JhPo+7BM5paQH4mU4S3ExXkoyn31uhEP u0tcUQrG3w4Kejvt8hlGdZMPQl5CES7Da7Rt/fNSBhvpbSLWaMG7+jy7/XOx95FEoo+e 0U+1mhvptyl2yEOKpK5mwDOLaaI/jWNzJR1AnEbykmoRdQ+Eh71Ngw7nLw1e0aolEq7g DweQNaWRPjBNeZkM/G7nKSKpPd5tt0TQVY4BLcFa/LZROmaBuHCFTJS5aaPf2gIlfpxU jnBgNUDMP8qYJS0j6F67CvGulRb3Jvj7ZZuQvuCbSQwsMafYds7O5kzUM+1q0bS/NcMy v1cw== X-Gm-Message-State: AOAM531hJHvUSULut0tkPieJkCdGLI+lyknZklu2tIXptNKUNaGDnzIt MQzau2mEIOr2QAri6Oq9ywZoeP9VOjPoRcCznMA= X-Google-Smtp-Source: ABdhPJyYGgH51sQaqThiK/5CYNiJpMX4YiNmqrsx1jEIHvc0haWlE/tgAVrGGTbvfB3C4t16ThzTXF+ogb1+jCesuiE= X-Received: by 2002:ad4:5e87:: with SMTP id jl7mr1404945qvb.130.1642043853106; Wed, 12 Jan 2022 19:17:33 -0800 (PST) MIME-Version: 1.0 References: <20220112230247.982212-1-iwona.winiarska@intel.com> <20220112230247.982212-3-iwona.winiarska@intel.com> In-Reply-To: <20220112230247.982212-3-iwona.winiarska@intel.com> From: Joel Stanley Date: Thu, 13 Jan 2022 03:17:20 +0000 Message-ID: Subject: Re: [PATCH v5 02/13] dt-bindings: Add bindings for peci-aspeed To: Iwona Winiarska Content-Type: text/plain; charset="UTF-8" X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-aspeed , linux-doc@vger.kernel.org, Dave Hansen , Zev Weiss , Jae Hyun Yoo , Jonathan Corbet , OpenBMC Maillist , Pierre-Louis Bossart , Guenter Roeck , devicetree , Jean Delvare , Arnd Bergmann , Billy Tsai , Rob Herring , Borislav Petkov , Dan Williams , Andy Shevchenko , Linux ARM , linux-hwmon@vger.kernel.org, Tony Luck , Andrew Jeffery , Greg Kroah-Hartman , Randy Dunlap , Linux Kernel Mailing List , Olof Johansson Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" On Wed, 12 Jan 2022 at 23:04, Iwona Winiarska wrote: > > 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.31.1 > From mboxrd@z Thu Jan 1 00:00:00 1970 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 A3035C433F5 for ; Thu, 13 Jan 2022 03:18:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=CVCNFw1QwpWUdFRPqfk9W7gQnYWLpOAwSYHlkuiTb24=; b=tMIvHPSCNTbHiF TrF+b5wS09l7NdanLJA9EG25LxgldnvqjlrgcK7DfM7tWafFRspBTh9jvSA9uTXVw/jCtzZ6Jk6JJ OmEFVWmWQyBnnItnml9T42OoMGhY3Eq/CXxrT/goxyaCtXmMfCX9zl/ZhjxOwDOxW1VChy7UHjdXw YiibeP0z1Vs4bGgtN7w+VUIWXcbXf8VEu+LRts3BIzqtyabgikwuktk0mnu/zEmfb1J8rQJtB+ypH 2jQeDuykoQMmefOBVkMibFlLQJZzh7YYuKIk5IFoX+f5FIJfS1mBRuv4wma12sO5yk2OEwrbsnhU6 lSC2RXy5EpGBI7zWio7g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7qcN-004OOM-Fq; Thu, 13 Jan 2022 03:17:39 +0000 Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7qcJ-004OMN-EB for linux-arm-kernel@lists.infradead.org; Thu, 13 Jan 2022 03:17:37 +0000 Received: by mail-qv1-xf34.google.com with SMTP id 15so5238803qvp.12 for ; Wed, 12 Jan 2022 19:17:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uG3pQtxj+kQP2KxNRSNQ4XEjcKAyEOlbmdPqDMlp97U=; b=gOpr/UNr5eV3u2bPC4IcBiiUqwRwQ+WMuDmso5ArSWRxh6g20AOMev/7Lb9F0ziqTQ J/G66KrzrY9GXZdT1Jtir1odGWcuStmjrttmUvxvLB7VUH8RX29xDQqRXj3TRWIGhWqw gBWO8bHq/0Ru4Ygd2K1ZYA4yi41H/CoI5VCKE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uG3pQtxj+kQP2KxNRSNQ4XEjcKAyEOlbmdPqDMlp97U=; b=bu2wnF7nVhAb4NbO+oy1h3f2KfpVjO+AP9xRmgvV/eD8TbeP4ddEXBr6z7xsR8kskS +rGqI+11y2ADGUHYYD7iIIXFskT5PSgLWf/DRQ9WQxrQZiHQZaMfhzOeEpmUI3vElpkY XPGphiQxLziQhrfFoavkRqZLBDur6ORKkvtT/YtixG7sz68je2txpd0Tw/awA1yx3sja gA90ChUt8yDY5InUXkIlWJATh+AP+l9TCeHrgk3hxhMpHSB3PRWL9ZSZI7umXxihMQP2 h9S5N3WD7LUNmMb6oNTECFuvsvaDl3vE3Hec+JFMd2gFjh4hRNcICt7lkoXsz4zZfE6X eL6Q== X-Gm-Message-State: AOAM530HkSsm06k8Mrri7POkxCHGX8d+TSai6Cx3Xg3UlNBvUvAeeKsS mj92KHnkBFaCL9PFGIEz4FVxtAo7lBbrIo+IEUU= X-Google-Smtp-Source: ABdhPJyYGgH51sQaqThiK/5CYNiJpMX4YiNmqrsx1jEIHvc0haWlE/tgAVrGGTbvfB3C4t16ThzTXF+ogb1+jCesuiE= X-Received: by 2002:ad4:5e87:: with SMTP id jl7mr1404945qvb.130.1642043853106; Wed, 12 Jan 2022 19:17:33 -0800 (PST) MIME-Version: 1.0 References: <20220112230247.982212-1-iwona.winiarska@intel.com> <20220112230247.982212-3-iwona.winiarska@intel.com> In-Reply-To: <20220112230247.982212-3-iwona.winiarska@intel.com> From: Joel Stanley Date: Thu, 13 Jan 2022 03:17:20 +0000 Message-ID: Subject: Re: [PATCH v5 02/13] dt-bindings: Add bindings for peci-aspeed To: Iwona Winiarska Cc: Linux Kernel Mailing List , OpenBMC Maillist , Greg Kroah-Hartman , devicetree , linux-aspeed , Linux ARM , linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org, Rob Herring , 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 , Jae Hyun Yoo X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220112_191735_490156_8ADA83BD X-CRM114-Status: GOOD ( 17.30 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 12 Jan 2022 at 23:04, Iwona Winiarska wrote: > > 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.31.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel