From patchwork Mon May 8 13:59:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanislav Jakubek X-Patchwork-Id: 91170 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2193790vqo; Mon, 8 May 2023 07:20:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5+bTsCQpiOfozMWl5+2yQmUNdhq8zxzF60GUPbub0BWsXZb7QwGtSNnBBn5+3vBlpyFKTE X-Received: by 2002:a05:6a21:7890:b0:ff:f63d:f7c6 with SMTP id bf16-20020a056a21789000b000fff63df7c6mr6923145pzc.58.1683555645096; Mon, 08 May 2023 07:20:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683555645; cv=none; d=google.com; s=arc-20160816; b=OfUB7OJVpICt68x/ZjDZnNam+rtNPa937r1IQweswkTZO7iuZ2tJ3lD6E4S2DR/uhW S/JTbmZ2rE8T8p48X47uhQEsErOD7oUzuHDJIRu61DMp+/Jk7ponIBEWicV2x8GtO7yG gHLurbhrhULptb0784oTEgEnEN9D8r1crZLXUpuX2zf+Oa5wJj9P+Em/D+w5OF1cgq8l 25taHvKYZlR7KmPz6t4r0l8uSEgVe5lkfJtHZJ7P8/Uf6MJHY0N3DDFFS8X6TMWPyAwl bksusu5lzeBPdN5b7CSoBp3Qd43juqy6qnE6bl92mWofa8I+17w65tHdCL/qoJGS2kBj WtTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=Ap+dt6+Pa1m8Kxx9UxC2AsvPRG1XDSvqlyGha2FT/kI=; b=KPIY5/rpr5+LHmgrJGlgJE+W2iGDmNoq1aQNAqW1ksBOQx4MDxkj+JV6qKWbDKCQwG TB7CBnTnGFSH2fI5FTwWir57YGdex3QREGRhCB6fD9VtTcr4uAUfVo+EsL6HcMjYSE2B vSfmPmfnU7wTOc+AB7FQyMsOAdA67kQU5VBMFDOrsDsmy9aQn28zoZVKx+Nfyn0uDTq3 8HktV0wRIBehbj3Th+wMATV11RGvv+UQYgeoHRlPMFlVaU1FMwiOJqWrNwDYE+fvR8Q4 RIT7ekQ1P91o2kwamDbj/xFy2KIPuHgHodhSLiOBJE+0dDvq4hExiQPQMd8sn6+l0Pkt R6tA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=HBuGbMkx; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ne11-20020a17090b374b00b002509203c8b2si1635592pjb.47.2023.05.08.07.20.28; Mon, 08 May 2023 07:20:45 -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=@gmail.com header.s=20221208 header.b=HBuGbMkx; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234357AbjEHN7h (ORCPT + 99 others); Mon, 8 May 2023 09:59:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234334AbjEHN7f (ORCPT ); Mon, 8 May 2023 09:59:35 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4B3033D7C; Mon, 8 May 2023 06:59:33 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-3062db220a3so2911563f8f.0; Mon, 08 May 2023 06:59:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683554372; x=1686146372; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=Ap+dt6+Pa1m8Kxx9UxC2AsvPRG1XDSvqlyGha2FT/kI=; b=HBuGbMkxGh/AbYCcbKiKQOztBhc+jLjY4LmfwPkYqZF+aJAk0/rRV/I5HF+x8wmvkw y1tpWse9mxSw/yaL8bKnCf1bxTnQ9mTxs9Os+54l0JY7RspToV6/8rCL9YWY0m/y6ymd SNYcT/IamI9zYp5Io53U3SQtl+DV17pjoVC/mazTXlMG8ATklhK4glP+I+QOFPkljBPQ 89KxfBaJEyc7VtvcNgn4LY6sjVWA2w4LN0c7aSeaNIBKYsiEdN7FPZqMzxdvt6UNq6Xn XAeD0eZYoFe0cN3TFN+p4J1AOEUje4Nz7De6aDoTo9j5w7cwetdT+wC1l7EcYmy9n5xy 9+7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683554372; x=1686146372; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ap+dt6+Pa1m8Kxx9UxC2AsvPRG1XDSvqlyGha2FT/kI=; b=J+Yh7skfy0ZzAWKAQ93hFth2tofcyIXZEPaum3fpLjXpRmQhCggo7ol+9tLv6U3sUG yugwxtG2pDvjkfa8MxDQBDHmuRA6oa7uq7GZVZO5tjNSbN2m15X+tgngWUZf/22mRjwj sWShcvKtoPmqKs8aMvKR1dwyx4N0JkPIEUX4UBKZ1ILbQRM7S6LPmqnI9+SGcEpvR4Iy CVSqjvI5M7OJ4oOmQpLBO8k+f8OBLSlDUqn8XDQ17s33BpHQVRgPXlvlSdOotwNTeeDw mvUXSuNZAy4ZlL8Z0ZFM5gxTz25863QO4SOCHMS0UWiP0PrHUWB+qmaUfy/TlV3Yqojd tRSw== X-Gm-Message-State: AC+VfDyYulJ7m0xhuADvWcNPBKHku8K66AdCtXnyhF2rWVDudUJGIioQ sDHwj7RrdYo/FliNEamHZiI= X-Received: by 2002:adf:ec8a:0:b0:2f6:c5bd:ba13 with SMTP id z10-20020adfec8a000000b002f6c5bdba13mr7293296wrn.42.1683554372138; Mon, 08 May 2023 06:59:32 -0700 (PDT) Received: from standask-GA-A55M-S2HP ([188.123.113.247]) by smtp.gmail.com with ESMTPSA id l11-20020adfe58b000000b002f22c44e974sm11407238wrm.102.2023.05.08.06.59.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 May 2023 06:59:31 -0700 (PDT) Date: Mon, 8 May 2023 15:59:30 +0200 From: Stanislav Jakubek To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli Cc: bcm-kernel-feedback-list@broadcom.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: soc: bcm: add missing dt-binding document for bcm23550-cdc Message-ID: <20230508135930.GA27583@standask-GA-A55M-S2HP> MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765336044426861735?= X-GMAIL-MSGID: =?utf-8?q?1765336044426861735?= Broadcom BCM23550 has a Cluster Dormant Control block that keeps the CPU in idle state. A command needs to be sent to this block to bring the CPU into running state. This has been in use in mainline Linux since ~2016, but was never documented. Add a dt-binding document for it. Signed-off-by: Stanislav Jakubek Reviewed-by: Krzysztof Kozlowski --- .../bindings/soc/bcm/brcm,bcm23550-cdc.yaml | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/bcm/brcm,bcm23550-cdc.yaml diff --git a/Documentation/devicetree/bindings/soc/bcm/brcm,bcm23550-cdc.yaml b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm23550-cdc.yaml new file mode 100644 index 000000000000..1a952f569803 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/bcm/brcm,bcm23550-cdc.yaml @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/bcm/brcm,bcm23550-cdc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM23550 Cluster Dormant Control + +description: + The Cluster Dormant Control block keeps the CPU in idle state. A command + needs to be sent to this block to bring the CPU into running state. + +maintainers: + - Florian Fainelli + +properties: + compatible: + const: brcm,bcm23550-cdc + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + cdc@3fe0e000 { + compatible = "brcm,bcm23550-cdc"; + reg = <0x3fe0e000 0x78>; + }; +...