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 45203C433F5 for ; Thu, 3 Mar 2022 16:58: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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=jPg3J9+6q17vXYkA3waVTJO0dqX8hbw5mS7bhC+Rv6o=; b=eCUl0nj/U5cDfY fTu5RO3FAuRI9FUTZ0JyyLwHJgbAEtJncAtoJXeL5kn47jMOx789yU8uSQ/OJOASex0XtsgjIyL3d z5Bw5Ujg/jCIu7u0uFnIhjrtdoUNulGYYO0L5QmvYxyPaIykPViDdycts3jybLb9BAd5zmdYVvrsD DeVslTmhw3IlSyOGJtpprMbJ06yIx2CS7u91DDIO3VtMKU3N04QTKnAIQa5j1LvHzuXqFqL+patOM ju6ZPEjJrdXMTQxZVNFTuwX5r6PLMx+uZPSKVfvp7rmFVhXTKveqrk0HTufxtmZGyZMRkjYe06SM0 LDaeo2OEUp165MaimmrQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nPolf-007Fju-Hk; Thu, 03 Mar 2022 16:57:31 +0000 Received: from mail-oo1-f48.google.com ([209.85.161.48]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nPolb-007Fiv-Uk for linux-arm-kernel@lists.infradead.org; Thu, 03 Mar 2022 16:57:29 +0000 Received: by mail-oo1-f48.google.com with SMTP id h16-20020a4a6f10000000b00320507b9ccfso6434843ooc.7 for ; Thu, 03 Mar 2022 08:57:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XGCumHgMLBELRu52rk5UqShkzz2ZUaCbCoiX7DHIJjo=; b=Y61eLlTZfAqZzBpPEea/yVBPmlQHq3Aag+O3P8lt3KHmOZcJyRboWp0syHyLaDBoum wrUHeL67rTkD2TMtOs3R0oMIMCQRjeHuAJF6agWPu5MApAp279WWjF6uAotWgjtNJTJq 400aWuPxEv5o5Zj7kxy7/2Z4YiwJs5o8uykMFaERXFkhWNEgun9wde7O4GeXw42g+5rX 5fhDkVRNA0PtSM2pvZ42r5GIx5+FcuYALtZGrjLaCgZvg9oGSNbYfT2s4Vz9fywlSnQV AaArOY0V+Gr/wNsLLnfo6nWSwDYFPqIxhxL8pAyfdXsbzyuqjdK9wuwBvaT5IJiWCYjP Ilrg== X-Gm-Message-State: AOAM5322bW7FyF8fJ/SSNDiTVvt1kYI5je8wGBDBg1YxG8YKxoRU8iaV K8QsrC4VIbkdlIRRooSdvw== X-Google-Smtp-Source: ABdhPJwXDCjm/ogChH0mahEYJGjHROaJuT/GNQDy5B6m7ZeQMkVYPgNQGQYbmPKjCrLxG505HRERSQ== X-Received: by 2002:a05:6820:552:b0:31c:5eca:fa40 with SMTP id n18-20020a056820055200b0031c5ecafa40mr18682006ooj.82.1646326644797; Thu, 03 Mar 2022 08:57:24 -0800 (PST) Received: from xps15.herring.priv (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.googlemail.com with ESMTPSA id l20-20020a056820031400b0031cf5913126sm1155125ooe.36.2022.03.03.08.57.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Mar 2022 08:57:24 -0800 (PST) From: Rob Herring To: Krzysztof Kozlowski , Lorenzo Pieralisi Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: arm: Allow 32-bit 'cpu-release-addr' values Date: Thu, 3 Mar 2022 10:57:09 -0600 Message-Id: <20220303165710.1859862-1-robh@kernel.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220303_085728_007840_A7E66D7E X-CRM114-Status: GOOD ( 11.01 ) 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 While the DT Spec says 'cpu-release-addr' is always 64-bit, some 32-bit Arm DTs used a 32-bit value. We're now stuck with those cases, so add uint32 as a valid type. Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/arm/cpus.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml index 85a31ca862d0..ed04650291a8 100644 --- a/Documentation/devicetree/bindings/arm/cpus.yaml +++ b/Documentation/devicetree/bindings/arm/cpus.yaml @@ -233,14 +233,14 @@ properties: - ti,am4372 cpu-release-addr: - $ref: '/schemas/types.yaml#/definitions/uint64' - + oneOf: + - $ref: '/schemas/types.yaml#/definitions/uint32' + - $ref: '/schemas/types.yaml#/definitions/uint64' description: + The DT specification defines this as 64-bit always, but some 32-bit Arm + systems have used a 32-bit value which must be supported. Required for systems that have an "enable-method" property value of "spin-table". - On ARM v8 64-bit systems must be a two cell - property identifying a 64-bit zero-initialised - memory location. cpu-idle-states: $ref: '/schemas/types.yaml#/definitions/phandle-array' -- 2.32.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel