From patchwork Sun Jun 16 13:19:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13699551 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 805B5C27C53 for ; Sun, 16 Jun 2024 13:19:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=yrRDhDMAfJony6yFg7+6ijdc+Hn8JcmRpBDuBtH438I=; b=mXP5qd+NUYaCL7Fpgl7S8AYvvG /XJGciogF74c3or08ZDhmfisk+XmOq2Hi2RGLkRXpv63iTCyRGUmj2lGG370gOu6KTJ0T5oHVWabl hBFYrmx+p3Z8eZTdnHpu/iuLAmFcFy9xhkbEPgn6PlpbCWVvZrcH7m30Cg037mZfLpWSEHjYFsD83 M6X88ftx3f2wTNzOGYOhxo0DBm9hvMu6iHufVnq0/LnoiumgP8ko8zq7FOLkgL5PtN1DrnMmJdgSE Kcdmh2KWucVRCo9HIijGVzuJvBdkdcZvF1B4uBEwYB3bLIYrlEuMXarY/qL8QGMxZSHTODp9yPrHu Ojg5VaJA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sIpnP-00000007aDP-3rxO; Sun, 16 Jun 2024 13:19:47 +0000 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sIpnF-00000007a7O-39FC for linux-arm-kernel@lists.infradead.org; Sun, 16 Jun 2024 13:19:39 +0000 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-57c73a3b3d7so4052482a12.1 for ; Sun, 16 Jun 2024 06:19:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718543976; x=1719148776; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=yrRDhDMAfJony6yFg7+6ijdc+Hn8JcmRpBDuBtH438I=; b=M9ACs/fkVmEm2MU4ABP5vhQ4G0I300PslizZo+qrEm/1Paa7saEX3gfbzjTCFXoYpR +TYsX5vGqWD5OgTIpggqCRgaA31/IzVk0Uvzgcw8OxSoTRJqYXwEAfbZD+KBdXpdftij 9dz1MRCiTmZSJ32IrFkAYDESJ1Wus2r0eWJAlukptUf7jYEcfJ+evtLqYC/FeTdmWkTI CWUCTV5iPQ43iFk0ByI9u8C71gzzmWUKn58uZulEq+04ZPge7TJBsBcBRT7PF/FdD2XT yChy/xHmNxhQDVw/oNmjBapjbI2Y9AxMrathGti2rR9X/b120MQf0hDz9bb6jhQtFFKn M9iA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718543976; x=1719148776; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yrRDhDMAfJony6yFg7+6ijdc+Hn8JcmRpBDuBtH438I=; b=V4EqlOu19nuQ9ELMtye2RUhS/fyv8fYr7V5vPyOPggz1v01hy1dGnmynhH3S+h22Dn PixvhbxEI2pPjgCobB26pwkR6lzhHIKkS9JHqh5S/gB/XSQycmFBFfK/2qcbdDUyVJrF wUDWVUAtczokIRnXHLAIfxUkLBZ0DXADjaQkNkCGTvi3wI5GV5qvWAFaebHl6ZEpIRQy A2LUt8WyflcOiuP4nMvh8v0vsPlNkqyZcuguzkTPFpNjBYXFfYYOOS3p2Q0qdeZ2E7Y2 QdTTQvD5lHggxb0H3/8ETXVEOfaiSo/is4eG84HyKhJzVJkCbpFeJhCK1LWG1hfLtJg3 9AsQ== X-Forwarded-Encrypted: i=1; AJvYcCWuVOEXfnNEv4y+sRhVRxHKeldymaTbyJf2OvDCZcyqAyaSOnuQjgGE0DdVk3yAwL4gKBDXRjJIg39Tmnv4GXx+e+D/DadkoO5dfiO5f4r6P6o4e/Y= X-Gm-Message-State: AOJu0YzYkaO1Gm2YOIt7ZAoL2JecjU2sXs5BCuYOnE8SXf7/qpVL7wUE giTsAxDsuesXptol3spTqb4Bc43vHoZHdM6RqDin2LcWZN7n22z/LO2ryLgj/YE= X-Google-Smtp-Source: AGHT+IH6siaBueY4AzxcLG1IzpcSvDQtv6bY686G2ckJTzEN7fRLUYneWleBFRJFNc1kFuSmXaa5PQ== X-Received: by 2002:a50:a458:0:b0:57a:322c:b1a5 with SMTP id 4fb4d7f45d1cf-57cbd6a6d1dmr4211407a12.38.1718543975971; Sun, 16 Jun 2024 06:19:35 -0700 (PDT) Received: from [127.0.1.1] ([78.10.207.147]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57cb7438815sm5099603a12.80.2024.06.16.06.19.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Jun 2024 06:19:35 -0700 (PDT) From: Krzysztof Kozlowski Date: Sun, 16 Jun 2024 15:19:21 +0200 Subject: [PATCH v2 1/7] dt-bindings: mfd: syscon: Drop hwlocks MIME-Version: 1.0 Message-Id: <20240616-dt-bindings-mfd-syscon-split-v2-1-571b5850174a@linaro.org> References: <20240616-dt-bindings-mfd-syscon-split-v2-0-571b5850174a@linaro.org> In-Reply-To: <20240616-dt-bindings-mfd-syscon-split-v2-0-571b5850174a@linaro.org> To: Orson Zhai , Baolin Wang , Chunyan Zhang , Vadivel Murugan , Jacky Huang , Shan-Chun Hung , Khuong Dinh , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Nishanth Menon , Matthias Brugger , AngeloGioacchino Del Regno Cc: Jiaxun Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=845; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=HzjHV2p0YoAb7dKSJR0H5taVVRVE4HdGIeGsfEBVEbk=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbuZewBIVJ+WYe0Pb4ZPgltt46JpHmLOfMG+rh /euRglLKYuJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZm7mXgAKCRDBN2bmhouD 10YID/90jDtFwqLhPSLoCu2FLrb17eOdFhg1qKQeK6n8+HomH24FmQ5hjYNokuyZn2hbhAccGs+ DI6K/ZLJPRF/NT8yfVHpATLovaUl2xaOIETYQeZUC0K0W8Va8xAIEN9doOPknm8T5BmMFfuh14n +PnKxM1pLHGcPdXIPwqu2r3hP4L1TtIyNCXk6LlHt4ivupx8MNkqauHbR3rKgI71N5GNi3zTi1C Ey4/YDbOSdxJiT3ji9rdWwrCwr2yNX7OGc7+qAHiw8AVmYWSMb4MkmLWXxdj0QY+dD0zlTosGEk y0ppGPgpijhYbEDSVoeyOK22hVninX6I4YMh5/l5ZI/upWUd4Vm1AVGsQ9LjpJ5P+9YVvIiuCOT 2YpKC1x1/+610FmXcd4uLlCb+nIoI9EVlZeFdJ/cZdW8o1Hl3dahPEaMb6xBJz4gbwZlstUzint r+yGFugsBF/EgSfvP3j9wA1mo7fCntyrzK4PR4E4qIVHYvSfncbJ8DfyCSMOpD/dK1FewbIxlfH P4iMP6mPd40+MZ7/cNhTt1DiSM2BW/LxzuVhOrdevx5fEX9g2wkAdBQ5npewV+EtWyIdldKF20l DxDC5uVWSQtThZgde4SOnEb63eM9/MD0ormcq119jIwdAJhCeZ8GFoGjd6hNVMSeKC9miJ1Pw3D KivaVy6Ed29hnKw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240616_061937_827276_1A0E8BDD X-CRM114-Status: UNSURE ( 8.97 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Apparently there is no in-tree DTS syscon node having hwlocks, so drop the property to simplify the binding. Acked-by: Rob Herring (Arm) Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mfd/syscon.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml index 79830dd51ac3..af442767aa96 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.yaml +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml @@ -142,11 +142,6 @@ properties: resets: maxItems: 1 - hwlocks: - maxItems: 1 - description: - Reference to a phandle of a hardware spinlock provider node. - required: - compatible - reg From patchwork Sun Jun 16 13:19:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13699552 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 69FA1C27C53 for ; Sun, 16 Jun 2024 13:20:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=S9ZLKoGKyA/Fzir83VT6KMHwP0QAfjlVUV43lkT6aLM=; b=31kM9w/XkoG0pvZmwjArFZOfEE A8MbOI1VtlEA6UDcacY4MCdLieRjSnz7Nge4sJSHot5aStvbBltRwy7akAZUUx2g2G3MATb1Jp49Q 0W5ud/8MXZChigcj/ClZZMOhobZ9j+r7tzuNhW99mV9RptHURGvx4L1h7xJH6EV9leJV/4bF0NboU JUJC15KVdL1wnIRKdNG9Sl7dZw1LwhQyseokdXS6ceR7Lft1r1DDYVxDviIH6twqo1E/6lnSKIVog b0Z8KV3fP3M9GxzNaPAGJJBpnUbs+O9ky4YJPVAXPmCC9f3er93+Cv3nF+FLWfVUxA2xhWKpkT2fu 2nkJROfA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sIpnW-00000007aI6-2aye; Sun, 16 Jun 2024 13:19:54 +0000 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sIpnH-00000007a8I-0Mfy for linux-arm-kernel@lists.infradead.org; Sun, 16 Jun 2024 13:19:41 +0000 Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-57c778b5742so4225688a12.2 for ; Sun, 16 Jun 2024 06:19:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718543978; x=1719148778; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=S9ZLKoGKyA/Fzir83VT6KMHwP0QAfjlVUV43lkT6aLM=; b=EfRePE0Kinu+Ko78EGIy06OsnDQ5UqMOLcb/VrgUZVDH6if2oghsNJcvNVbJLBdzJ1 OGudjJAgrtkUidCeSORf8vVZNnpTbt+/lhlu6x5BGFACjDDzi/Mtjh1QhMwSIz5TX0aR BPfIMpu9YgpsVn8HHPloFndOj9m17WG8bPSvi1AbTXB+VZMbvZxrijirzivkMjoi67T/ Z9h/LdjURNSmCh5w0kTfcDJoWuHP0PTctvTYjGVu1+hbiNrwUItwizQOs4DBlM8Zsbtt kjT1txSu7O+fxDNzdTiSKCzy2NqvGw53UjHfdL3g8s3NavnikV9U4R0xvrZg6wYZdSqE qU1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718543978; x=1719148778; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=S9ZLKoGKyA/Fzir83VT6KMHwP0QAfjlVUV43lkT6aLM=; b=Njp8DyIdQyKABePdLhsE9yBopBApsmmseB/Mo5/fmGDGvMC8WPHvKwr5saZe13VR2Y PDzDPHLwkhoW9dqWVEXmNlP/ODLNQiiJb3rgmfa2rkd+G3q3KOk+/ykjrHxWXVIZSi9f RrGskp2MBojzOlJFCe1s5eVpgGAHRuWrr3E2exerc2JBegdgyOEtaypEYB1QXkOxgcML tgCqmNbmOzexUfxJK+IQlXLXi/unvC3yDrKG+qQVsW++VV+ON5jrYiVc5mCC21U+qM9p jQ1lC4Rbav1S3GIOyAYpG9eu21os14ngx7ADWTlE20ioCD+J5hll/ct62SZOtgzg+vzt Je7g== X-Forwarded-Encrypted: i=1; AJvYcCUKae4hAl9XmYjPYErIBJSpESiH8ywTLsiPJTsw4rjYUgHqFcpmp9NB+0CuB8my/FStH55VnljC6VEy+u/0rfsHe9Mu7fe5tbX95zX/Vf4kaWZrTmU= X-Gm-Message-State: AOJu0YydA07iGLKMlUNEpxZuRcQ0of0Fo689xOucZEySEnJIYOu3h65E pmvqFfuU4cClO7l+ivvrwrDmC65584itcHl3vhhnWPpTvYa9BZFR2Dm+9A2Ep+U= X-Google-Smtp-Source: AGHT+IHO9RnbHcazsIsMGMs7VyXCSngI/q7B/q3+4iSsAbqu/mLW9gJSoHV2U3Z1C3VdPOojDxIbeg== X-Received: by 2002:a50:9fc4:0:b0:57c:8027:534d with SMTP id 4fb4d7f45d1cf-57cbd69d9b8mr5103771a12.27.1718543977636; Sun, 16 Jun 2024 06:19:37 -0700 (PDT) Received: from [127.0.1.1] ([78.10.207.147]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57cb7438815sm5099603a12.80.2024.06.16.06.19.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Jun 2024 06:19:37 -0700 (PDT) From: Krzysztof Kozlowski Date: Sun, 16 Jun 2024 15:19:22 +0200 Subject: [PATCH v2 2/7] dt-bindings: soc: sprd: sc9863a-glbregs: Document SC9863A syscon MIME-Version: 1.0 Message-Id: <20240616-dt-bindings-mfd-syscon-split-v2-2-571b5850174a@linaro.org> References: <20240616-dt-bindings-mfd-syscon-split-v2-0-571b5850174a@linaro.org> In-Reply-To: <20240616-dt-bindings-mfd-syscon-split-v2-0-571b5850174a@linaro.org> To: Orson Zhai , Baolin Wang , Chunyan Zhang , Vadivel Murugan , Jacky Huang , Shan-Chun Hung , Khuong Dinh , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Nishanth Menon , Matthias Brugger , AngeloGioacchino Del Regno Cc: Jiaxun Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1897; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=dzjm2gBTdMjl6mgRsFtrUQDBw9hhYKgIAMant8cvlAI=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbuZfiEg4Htf73PryBDmHhre04Usi0iIsta0KI HauaVoH5/aJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZm7mXwAKCRDBN2bmhouD 1wUND/4zJem/xT2bP0jF8QkDD0M/Aj7W3bmFEdpYj9UtYubYLZSSMxUk4qKXCk6kLeYVahA5rPC h62lhRFq1txEAblixLgsn+TiseY/cWNGESVoMdjYApbkXurI/OTfmE1WkRvJdzIHZ1lDhBoxFbp mAC+A90V0a9L5ylVBxj/TJsS2RT5F8TBkAn3mpkxDSdrBzOz41Hm1DsHPF8sVjKqikmJy7AfK8K BiWWaFi/I37y1ETVqfdhc92c8+zfMh5lTZ2TSQDiYoyiwihVNfQNbzEylvUQ3945l9sD/845fGL yZmIrK/dseAxgAMGcyKPy4j0YmS+fZTA4pohSsP3EBxoJYXriElXyXwKCAwaVIc2gKrU/uuuaPx gnNw324jOnvUWx1jchGv8Qu/wfgxoYDvYt1oXdsY/ya/VtOr7mFMxdxCEkKOAifX0ANsDB2fKdH SoXo6LgbDbZNoHzO8bIPOFPx6reVkj2cjnjkb35WY+2ui3BMn93C432nN91zVnS+ikyn70G/1W+ Lrx8HNeARldbkou56Yt1wyX54daffXOPE28BtlNeL8//88syhIkTtJfUT+DRS8b+VqYs3eTojuw qt6esBgduNadtkatmGFC2pTnRlPdvvYDugVj1rpId0PCUt5rVqqAvw8i38jvspVgBfBn6n4Ayek E9lvLWTzMeLinfw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240616_061939_164219_16E36C49 X-CRM114-Status: GOOD ( 11.84 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Document sprd,sc9863a-glbregs compatible already used in DTS and other bindings example. Reviewed-by: Rob Herring (Arm) Signed-off-by: Krzysztof Kozlowski Reviewed-by: Baolin Wang --- .../bindings/soc/sprd/sprd,sc9863a-glbregs.yaml | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/sprd/sprd,sc9863a-glbregs.yaml b/Documentation/devicetree/bindings/soc/sprd/sprd,sc9863a-glbregs.yaml new file mode 100644 index 000000000000..49add564e5e1 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/sprd/sprd,sc9863a-glbregs.yaml @@ -0,0 +1,55 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/sprd/sprd,sc9863a-glbregs.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: SC9863A Syscon + +maintainers: + - Orson Zhai + - Baolin Wang + - Chunyan Zhang + +properties: + compatible: + items: + - const: sprd,sc9863a-glbregs + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + ranges: true + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + +patternProperties: + "@[0-9a-f]+$": + $ref: /schemas/clock/sprd,sc9863a-clk.yaml + description: Clock controllers + +additionalProperties: false + +examples: + - | + syscon@20e00000 { + compatible = "sprd,sc9863a-glbregs", "syscon", "simple-mfd"; + reg = <0x20e00000 0x4000>; + ranges = <0 0x20e00000 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + + apahb_gate: apahb-gate@0 { + compatible = "sprd,sc9863a-apahb-gate"; + reg = <0x0 0x1020>; + #clock-cells = <1>; + }; + }; + +... From patchwork Sun Jun 16 13:19:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13699553 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 91EADC27C53 for ; Sun, 16 Jun 2024 13:20:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=mInVLHOlqqVVQJezxSVPVAQ/ObgVPbGWs0w1ykk8K+4=; b=0cNBVX2P/WKIgdzXyJ35bY4Slu 9XaLsWJeB752eYZvmcyIBnXwCQX/03Svlf+Y7lIN15iekD4eTCfOtSjCEzgu148GqmB4BVri8WLFO oL4kf45IoXnMjNelS9zWxBYP1AMnMtjnQJuztO0QG4cEBPI2k8X9AuVocMsi4UnOvTLLcRXTd8dlQ z8eg48iby3LuCShvDEdmRN4vwdxhu9al1YIRoILPrEFm6cD9E8i83sIrPPa7lkMscpJlm/4snDB00 Xzo11ck1fEsXbhh6ffmwRgcgUBI83EzEaA6i0F43cy6depNbNIAFH7vMeriHaBjKYABYueixhlKWs o5UwanhQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sIpnf-00000007aO3-1UCQ; Sun, 16 Jun 2024 13:20:03 +0000 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sIpnJ-00000007a9E-0S0t for linux-arm-kernel@lists.infradead.org; Sun, 16 Jun 2024 13:19:43 +0000 Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-57c831b6085so1931139a12.1 for ; Sun, 16 Jun 2024 06:19:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718543979; x=1719148779; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=mInVLHOlqqVVQJezxSVPVAQ/ObgVPbGWs0w1ykk8K+4=; b=ZalR0/LYaoDZ2uh0wzWB2qostkIGFYmMFc3x1dZRucCAbZQUYpy71HNGedHWwjY+m/ Oa0XOTghn4IcBr2jwAwG6eEoqYSB5nLwNXpEFqV7pxPuZbETmvNcU9GKKj4r6OdNP/3R SiTrxSx1QAtUGvt48VEqqKoGRb41j0HbjEwWQ3aGUDlQmejoclpujKIxyo6RcJGJ4RBa EH3gQc7yD9/H0esYlcTUBKx61HLzN8NHcgGDQ3z5pJll5zw9qyZ+OH8jnMED+gLYFX7u VJmKTibkQpx+wKJ9Fv+5oVZ7DvrJmJpVy1TFwrdaoFDOY2mrZM8+EO/v2dotg9MQlSfh 3zoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718543979; x=1719148779; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mInVLHOlqqVVQJezxSVPVAQ/ObgVPbGWs0w1ykk8K+4=; b=UKm1NBLLpE3F7J6Gig4JeeTLSz9FymibShkdPhViILVHob5K7c+2G27Yxrp8LORj74 rVFq778npBb+vJj/+xDR+FhjsTmuE6R/23aWRCquafjhKZXMGkoFtmVwg+6+JiUeuUj2 5VKl+jAgg4qE/BZyeRmM3gBLXwRxGgxQx3AI5FQCyuOAp8P4sBOZzLNDUYWDOveSb90i X/YoSMrBz9wvX2uTTW2pthD6raQCMLM/04UKDKoTT2WL2DqwUerX14R3v/FFh+ymtzXJ F7dNWWUPyZAXvOW3mYXv5yxCY5CJe2H5hDH4upeKS5iG9fMg1jZQbY/R4aRiSY/AqyQc 9n1w== X-Forwarded-Encrypted: i=1; AJvYcCWO7RUJ6mlaVVS5jtarnAd1xl/jHfO1EZzmOYP2fVaH9WxpPyFdxdAQ5EobGlfDhBi+P+4kjCIqd4U7qL6OCpCKMoUU1YnYzeewd2s8Sq29AVlI5aU= X-Gm-Message-State: AOJu0YzaYUivTAu0+Hd3jPVawN4ADKJTfDG+LZ042xuWTpMBq5WVv9UJ wLEGYdBQJYa/azAoy2jL4BAkJB02ZHC9tDKvyHJc/XHiEqmcOolD6jJQKpoWA7E= X-Google-Smtp-Source: AGHT+IE1IZgGoLbi+AV+zctjjPIPycm90dwqlre2plCiolym+rEY150IZRR1oN0wAi38iw8IO6vr+Q== X-Received: by 2002:a50:d48e:0:b0:57c:8e57:c3f0 with SMTP id 4fb4d7f45d1cf-57cbd685122mr5918029a12.16.1718543979240; Sun, 16 Jun 2024 06:19:39 -0700 (PDT) Received: from [127.0.1.1] ([78.10.207.147]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57cb7438815sm5099603a12.80.2024.06.16.06.19.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Jun 2024 06:19:38 -0700 (PDT) From: Krzysztof Kozlowski Date: Sun, 16 Jun 2024 15:19:23 +0200 Subject: [PATCH v2 3/7] dt-bindings: soc: intel: lgm-syscon: Move to dedicated schema MIME-Version: 1.0 Message-Id: <20240616-dt-bindings-mfd-syscon-split-v2-3-571b5850174a@linaro.org> References: <20240616-dt-bindings-mfd-syscon-split-v2-0-571b5850174a@linaro.org> In-Reply-To: <20240616-dt-bindings-mfd-syscon-split-v2-0-571b5850174a@linaro.org> To: Orson Zhai , Baolin Wang , Chunyan Zhang , Vadivel Murugan , Jacky Huang , Shan-Chun Hung , Khuong Dinh , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Nishanth Menon , Matthias Brugger , AngeloGioacchino Del Regno Cc: Jiaxun Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2724; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=U6AmwKP+N/F9FNv1bT3SMtoH8ZjiVmeYNelKJnyt4oU=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbuZgZGoeLCSo5prKUN7qBIVwMLpdtch4to7B+ bGnm4BFVbWJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZm7mYAAKCRDBN2bmhouD 12QwEACCPZJ1clXIYpSrNCstqF44Etkra5SMnYNsNPs15tD1DJx+pyWnQ242EiwHk06S++GFzku PvWYLACCHV5ljKCUPQIyX+TH6+X0x18GN2/bx27Z6UZlY+pQ69EDk+fY7Pb+dcGXkysajkJBPHU mCi5LH3if5ljHv8hn5uRjlsM7AaK2dWyrM+5BT18usBLsVQyy6a9nMtxh+RSxI46yNrIAhz94xb dzH5JoUtj8oxAx83TebXSyyaG6ReyGTGw0pHWTeHFlQXbiid+4AJez+3JhwWoq5ZIAh2XgXnTgM U8QG87JiapvKgf9Y9zZ0Y+M8k1LfVZ/sAUQhoDSD8eLJoSK0qWdyx9lwX6tSO9ia1v41MbXEqaq ajfRa7iipPymAcnN+dnPwGGLfebTRJHFI4a05d/X0//cFOJUl5ssKp3VWNJV5XR0fRSGHgGbRy9 QhnA2PO9A38x1aNTqsN3bj6zUXxKziD5/j4OAnV4g9YvcG2GxLzLEzDXomek/hA9HlI9VGGHBm/ YFAkgjCvZ7qmFEVKsqFCI3W93si/9ojM645JJRws93+uSL4r/z7SP8R2+qT31qLWsz4AxIy+QBw oGLWcf8KhTt35EPV73wRBU/pVgD7WIpLUGogmUex3wdg1c3UtBNRkt8C/i6U20+Q0JUWQUTr79C /qpEo3hw6LfXa+A== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240616_061941_559096_6C22AF8B X-CRM114-Status: GOOD ( 15.46 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org intel,lgm-syscon is not a simple syscon device - it has children - thus it should be fully documented in its own binding. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Conor Dooley Reviewed-by: Rob Herring (Arm) --- Context might depend on patch in Lee's MFD tree: https://lore.kernel.org/all/171828959006.2643902.8308227314531523435.b4-ty@kernel.org/ and also further patches here depend on this one. --- Documentation/devicetree/bindings/mfd/syscon.yaml | 1 - .../bindings/soc/intel/intel,lgm-syscon.yaml | 56 ++++++++++++++++++++++ 2 files changed, 56 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml index af442767aa96..b9bf5bc05e92 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.yaml +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml @@ -77,7 +77,6 @@ properties: - hisilicon,pcie-sas-subctrl - hisilicon,peri-subctrl - hpe,gxp-sysreg - - intel,lgm-syscon - loongson,ls1b-syscon - loongson,ls1c-syscon - lsi,axxia-syscon diff --git a/Documentation/devicetree/bindings/soc/intel/intel,lgm-syscon.yaml b/Documentation/devicetree/bindings/soc/intel/intel,lgm-syscon.yaml new file mode 100644 index 000000000000..0a73b7616a60 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/intel/intel,lgm-syscon.yaml @@ -0,0 +1,56 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/intel/intel,lgm-syscon.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel Lightning Mountain(LGM) Syscon + +maintainers: + - Ramuthevar Vadivel Murugan + +properties: + compatible: + items: + - const: intel,lgm-syscon + - const: syscon + + reg: + maxItems: 1 + + ranges: true + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + +patternProperties: + "^emmc-phy@[0-9a-f]+$": + $ref: /schemas/phy/intel,lgm-emmc-phy.yaml# + +required: + - compatible + - reg + - "#address-cells" + - "#size-cells" + +additionalProperties: false + +examples: + - | + chiptop@e0200000 { + compatible = "intel,lgm-syscon", "syscon"; + reg = <0xe0200000 0x100>; + ranges = <0x0 0xe0200000 0x100>; + #address-cells = <1>; + #size-cells = <1>; + + emmc-phy@a8 { + compatible = "intel,lgm-emmc-phy"; + reg = <0x00a8 0x10>; + clocks = <&emmc>; + #phy-cells = <0>; + }; + }; From patchwork Sun Jun 16 13:19:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13699554 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 3513FC27C79 for ; Sun, 16 Jun 2024 13:20:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=LDxj3dPqBsikHw3COW9fzyU/UFgyyuz6MU/96w6Q9SQ=; b=fqEsD6RYUaIVwkFkHeqSDjZf0p EYM3g1qkTkdJcYtyiXJayafkLYv9eHDlwWib2+l4+Q6zLJWY3mRKWEEAjyF99LRF+vCjfL0YYFYvB y97y7JnmdGoJAuFE0r5dGBSBsmsBBwYOF/1DHc/6RSm43/fMkJMbmhgSbrbqPgHgoZYK+AYFfzw9h KZgTL5ExMsWEfFKaI2RzG1jci0I+aw9D7HROcRr4wHYwIXmdqGbX34osFj4GPX9n/DEUTJGDkW/1u rYeEA585Rg/dGp5P5GIMymPKZ4RXq1AHpLFSxysM+iAL1OYgs3HIObxSDNz0CUwaHPuc1OpzA9u2U VIB+cc7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sIpno-00000007aUN-040Z; Sun, 16 Jun 2024 13:20:12 +0000 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sIpnK-00000007a9k-1EPA for linux-arm-kernel@lists.infradead.org; Sun, 16 Jun 2024 13:19:45 +0000 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-579fa270e53so5340057a12.3 for ; Sun, 16 Jun 2024 06:19:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718543981; x=1719148781; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=LDxj3dPqBsikHw3COW9fzyU/UFgyyuz6MU/96w6Q9SQ=; b=bB6VJNHBtFNVyX5vvFs29pOPlKijaK2XBPmVnsoDVISLLO5cIAMZ79VdLd/hTT/v6i qDZlT/XnzxIG9EiS8sQcTETL/tdpI8/je3cMfpR7KPnMZHZQjLuWFfE1HZqa02lvX7XA 0pINq6VkUxcJL88825ubgQWojnUsyyMGCXmyafP/o+n9s45Jw9Wi5DXgT33Uv+wt0vdU kEfQfMZS5euz3J5YRf/ljt5a5KLHb1eGvM3Oij8Kx89uL0XVFDC86aW/qVtiEbtkJejp EbA24AN+OWowDJ5J3UCpu4qshhwNof75CYU8VC2FQuJ+uCmo7o/4/oI4hb1/E/an7WB5 0QIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718543981; x=1719148781; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LDxj3dPqBsikHw3COW9fzyU/UFgyyuz6MU/96w6Q9SQ=; b=S+unZtva1YQWixMxT+PH7f82MG988WFSIKStFdbvyOrVNTCWix4B+kGHOEze1ot1N2 o0i8s7F6lePeZdIUitnz2PhtlNLLJpcblz5SiNqGIczLYBGLAemZltQ4ZZUicT0OeF7r IQe2hCk/mYROuxAJZX9MH7Y+ACKPq1yWmOvth7FCn8jGQALCwSFBMkzRObUh7A7IlTwx ScYTfUt5s+MXUa7uj4EW3PNWfi5G/Y9y4Uejv6364SWdQcTWBSM5QLZgnUNtQtwNLGog jEFrvzbo7sVgQsyZvoUmgsDwkvaAHL2A3QAFRczYG3cAeXfdOohRLek12/H6akkpBR4z thAA== X-Forwarded-Encrypted: i=1; AJvYcCUc3aWC/vJYDP3iUNavTwjcVMhThU92VfNlwkHS87VRzExvJhgXVHqWIE4BnNUQExWISbHc9smjKnOClPsHadNB1sfb+Ix8oaxLJ0mT2A7nAM6JYVE= X-Gm-Message-State: AOJu0Yz7SyJlVuQOByfKDKIaN9CxzEeh+0Z4HyTtsv3EYyEuu/lVAhEX EIkONyd7qjIENbg9z4v+22KBmKH8Ad103HDEni+SPvq8f3N5S2HJkm4bvpMgeY0= X-Google-Smtp-Source: AGHT+IGXkj91rCNRNjyM3+Ufq9rMUAVmp/bvUxrcipMwwyyQmCi9zjaLfs3liz7jMElLGmjYr+sppQ== X-Received: by 2002:aa7:c419:0:b0:57c:cba1:444e with SMTP id 4fb4d7f45d1cf-57ccba144dbmr3519556a12.13.1718543980893; Sun, 16 Jun 2024 06:19:40 -0700 (PDT) Received: from [127.0.1.1] ([78.10.207.147]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57cb7438815sm5099603a12.80.2024.06.16.06.19.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Jun 2024 06:19:40 -0700 (PDT) From: Krzysztof Kozlowski Date: Sun, 16 Jun 2024 15:19:24 +0200 Subject: [PATCH v2 4/7] dt-bindings: soc: microchip: sparx5-cpu-syscon: Move to dedicated schema MIME-Version: 1.0 Message-Id: <20240616-dt-bindings-mfd-syscon-split-v2-4-571b5850174a@linaro.org> References: <20240616-dt-bindings-mfd-syscon-split-v2-0-571b5850174a@linaro.org> In-Reply-To: <20240616-dt-bindings-mfd-syscon-split-v2-0-571b5850174a@linaro.org> To: Orson Zhai , Baolin Wang , Chunyan Zhang , Vadivel Murugan , Jacky Huang , Shan-Chun Hung , Khuong Dinh , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Nishanth Menon , Matthias Brugger , AngeloGioacchino Del Regno Cc: Jiaxun Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2802; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=2G0rLi4cLmhzl8ZJMSFvOy5W9L4JVSO3sWW9FraSLfY=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbuZhfXHBzv30HPqvVvXuckFpOfUc2X2zBRfAc HNczWTgBAKJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZm7mYQAKCRDBN2bmhouD 1xgID/9ZhhA79JtYTQgEYo+AFhkXlRrTae7kFOvzLQw9hC5Png0N364hNVUaPL23p8dsFP0eOoJ Lejso+pHq488mcN0YcLMs+a/Gdqfkfc/21EBbKF/zMTy4tgetv6a2QVs0XODLwau3K/tArM9jfP 2VADzB9BFviR66voHsVe0rhu2lMHef5awGV3Y8unnbwTNjrRPfdCbbqdm+W/TaQiXQUONW9Z9Kf rzXf99Nx9jB+KbxKHvk4rRwtP47eN0YHYDdvp4ezsGNhi7lbhMinMDKyc08MYq7nuyiUDUo49kK O89f2SD3G8UA6P8DSlsTxaVQtCewQblZmLrMDjDC7csET/s574e3N6UTefNOJZmhP7XHwdKUhbo EGoNiOJgkszXzQRyfHEfnrri9QYexs1dQzWMGzfEZV/1UlAc/oNFyWzW7Sdek5uTTVwvIKKz/zP r03hu6jhn7QdQLJBtRdm1c4wp3RqY8iR7xA/c5CRmU442GJPey5nDDnYKYsw0qc4TFBah12e7RB 19K+ToU38Jub5zigxStNHNuzNqbgODXFv6GkGb+8RjfSKrBuDraKca6byqyMyQlMFdSjtW38+95 tJZY9QdDegJNpdAQ2GWR9zhv/FrVlYD5AH99v7faN0hOKx6/g8NciFccgvjiNgm2C/PxGA/BPrm LJqTwU2MlcHBwbw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240616_061942_507403_6210A8FC X-CRM114-Status: GOOD ( 15.70 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org microchip,sparx5-cpu-syscon is not a simple syscon device - it has children and implements simple-mfd compatible - thus it should be fully documented in its own binding. Reviewed-by: Rob Herring (Arm) Signed-off-by: Krzysztof Kozlowski --- Context might depend on patch in Lee's MFD tree: https://lore.kernel.org/all/171828959006.2643902.8308227314531523435.b4-ty@kernel.org/ and also further patches here depend on this one. --- Documentation/devicetree/bindings/mfd/syscon.yaml | 1 - .../soc/microchip/microchip,sparx5-cpu-syscon.yaml | 49 ++++++++++++++++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml index b9bf5bc05e92..abd3debe5faf 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.yaml +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml @@ -95,7 +95,6 @@ properties: - microchip,lan966x-cpu-syscon - microchip,sam9x60-sfr - microchip,sama7g5-ddr3phy - - microchip,sparx5-cpu-syscon - mscc,ocelot-cpu-syscon - mstar,msc313-pmsleep - nuvoton,ma35d1-sys diff --git a/Documentation/devicetree/bindings/soc/microchip/microchip,sparx5-cpu-syscon.yaml b/Documentation/devicetree/bindings/soc/microchip/microchip,sparx5-cpu-syscon.yaml new file mode 100644 index 000000000000..1f0b542d2296 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/microchip/microchip,sparx5-cpu-syscon.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/microchip/microchip,sparx5-cpu-syscon.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip Sparx5 CPU Syscon + +maintainers: + - Lars Povlsen + +properties: + compatible: + items: + - const: microchip,sparx5-cpu-syscon + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + mux-controller: + $ref: /schemas/mux/reg-mux.yaml# + +required: + - compatible + - reg + - mux-controller + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <1>; + + syscon@600000000 { + compatible = "microchip,sparx5-cpu-syscon", "syscon", + "simple-mfd"; + reg = <0x6 0x00000000 0xd0>; + + mux: mux-controller { + compatible = "mmio-mux"; + #mux-control-cells = <1>; + mux-reg-masks = <0x88 0xf0>; + }; + }; + }; From patchwork Sun Jun 16 13:19:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13699555 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 915E9C27C53 for ; Sun, 16 Jun 2024 13:20:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Zrd8K+qyBfVetpIrLm6qlKeNQKmHjz4ob0FFgn8jaII=; b=PwKvSFpXn0KG3x5sgzlvWVL6rG 2ix6ufGHkbtUvgtJ3DIvk8AVPfS3c1Y0wCFdFPVLl66xuZnjivf3mSGjrfObbw+ZHnbo0+JGE/vWQ j3XsJRjotJIcg/tDhFQNTGW7UZyzUbOTbuIhGPQDogMyfCrPusl7JoM2cxBqIyW9g0M4LNhAw1oiA 8B5PvAKEivXk8062Foe53NHL08NxBUuy5cXtLa8uChRWQFAQWl+ovueiW94uNOhpQDzzExcDER2Ve 7QSknucnHxprTxWiR72UqsbnkCxY0Si2E9QWOTOkNMNUAEFsRMpw19+0s92feHRUH/op9Zmcu18rD I91P+Q4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sIpnq-00000007aVp-3Qbb; Sun, 16 Jun 2024 13:20:14 +0000 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sIpnM-00000007aBE-0Dox for linux-arm-kernel@lists.infradead.org; Sun, 16 Jun 2024 13:19:45 +0000 Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-57cc1c00ba6so2422625a12.1 for ; Sun, 16 Jun 2024 06:19:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718543982; x=1719148782; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Zrd8K+qyBfVetpIrLm6qlKeNQKmHjz4ob0FFgn8jaII=; b=ogtNrhuLOgj2XoKjDLkGLXTc4MXngGgFBOqfdyHlWb926Ljdu7MBgrpObWTOIgh7yM rbeCrTIv4UkS5oguzISQKef+oEFERrJsvfxuHCUU5+/3nEgW/WHKIp2wLc1cwNae0TJn kMcPd9fqJvmPijQArJ3plEd3emc9npaVa4NuWZj0/YoaL5TnntcPtfUucoT6jg72WMeM Ys8eWTWXfGQFaTY8n4iUGEK2s3xX7w5KkwRiNmZn6xnLky80Rq1femHm64RHKMdqKSAC nRazcMjpL37p9PomYtSiq+sjgAbHwflOAeIGc4Rx6zBHTb2+apYSM+KNnPvCCaOU6wJt IyZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718543982; x=1719148782; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Zrd8K+qyBfVetpIrLm6qlKeNQKmHjz4ob0FFgn8jaII=; b=TJfuT4U/adG1PiT7z5iO7G283ZsOUXhMZRHewU+UqN28ktSzcHRlHT6m1vD55rTTOx fXAoCcrX0NRx/cgejXXVaz/hSaOD+i7pDoHpXjBPiEf7mQqxKe5c5xOgOcgpAUxPrhz7 mEf/9Gbp8qv56Ijsv/wtx2CO6XhTPNDGzNZV1lWvVgdYIrhRdV66Tazs3xkc5fT9cXWy ARq07h5tDUzPMengxANA48Fb9X2/by3lp3P6nwgzmEA9eQt5V55zbYa45gZWMvx4GC0I XpR9t1xWt3SeM/5x5D/FExZLYXFGtfJJXIhWdCMqQnL0qfS5ujoWdlw99ekrb6hgSe07 tV2g== X-Forwarded-Encrypted: i=1; AJvYcCWh0vFUrF6fMmRBZjlaZ5pqmy25657eggDa9jVOfOAD4+HfPJz6DANU3OQsot/3Hi/SV2lHRcpXbe13aPyLqsS3QEuW93ART1MScC7IddTQyOcbv8U= X-Gm-Message-State: AOJu0YyybUIG5UXHJgA8RnDoKNqWb5XvBxvgWfOJDcemBQHDMJayThyz OjULl/qRb+PirzB9AKeW3kyxfJBNxyEtYHkRGgbV/e7ZqreMZJIfdQj/O+mPwMU= X-Google-Smtp-Source: AGHT+IG1AznA+Lz8oKbRyPDepmptaEHOWEWQisNJz6RK9g8E/VHYfQMB1p5/XhswdG1VwZfzoBzPbA== X-Received: by 2002:a50:d742:0:b0:57c:75a1:2a14 with SMTP id 4fb4d7f45d1cf-57cbd681bbamr5002360a12.12.1718543982620; Sun, 16 Jun 2024 06:19:42 -0700 (PDT) Received: from [127.0.1.1] ([78.10.207.147]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57cb7438815sm5099603a12.80.2024.06.16.06.19.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Jun 2024 06:19:41 -0700 (PDT) From: Krzysztof Kozlowski Date: Sun, 16 Jun 2024 15:19:25 +0200 Subject: [PATCH v2 5/7] dt-bindings: soc: ti: am654-serdes-ctrl: Move to dedicated schema MIME-Version: 1.0 Message-Id: <20240616-dt-bindings-mfd-syscon-split-v2-5-571b5850174a@linaro.org> References: <20240616-dt-bindings-mfd-syscon-split-v2-0-571b5850174a@linaro.org> In-Reply-To: <20240616-dt-bindings-mfd-syscon-split-v2-0-571b5850174a@linaro.org> To: Orson Zhai , Baolin Wang , Chunyan Zhang , Vadivel Murugan , Jacky Huang , Shan-Chun Hung , Khuong Dinh , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Nishanth Menon , Matthias Brugger , AngeloGioacchino Del Regno Cc: Jiaxun Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2452; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=dA2BvNuDdbIFKkStpUlyQC5zc7XFrh1545e/AvgMWBA=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbuZhdw2OJqKWPIez7Bw4c+bpBIlOWqahFa6N3 vt1eSNm7wCJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZm7mYQAKCRDBN2bmhouD 17EoD/94eOpZAXKoTf2ia7EdDFmk+pBWWwdfyOpIq7Ksp9V4d/pv7Di+qlNkb0wzLNuUQaEy9Jf 8Wxyaw9fXUuFVQMzoWdzGo+Og3ShTXhXZrLO1SGQHNKZzJnZM3ddfNRxLXkUBDKJw3d1S5z3kDB UcyIPeE+/O1JW3+GLJzjUyMK54R9oYMg5khXUqHfVAusjzWlw5CvND4FIy9zH02FxN9HEOVCGSR MlleH3QxqZn9eI4HwwfwiO3Wqpf6PKy63HbglbvAt6LvrBGZAjmuIRRJgbz3AMo7dq6xDMj63e+ CarQdQv6dn+FjXjM9aqLJymAqTmNKroi/eX4qBQ2Mn0t/t+9n+FO9qjnFp+0r/QBffYNQqmIAKH JnWWakdxz6UEltnAqADc0XFQd4Hm6RSM+Mq9WsrVIcTRGMW7+nEAMQVonhxKEhT4ydv7Oyye0bm cvNU4CtmWlZuM3onCm0q61ypX3115EnlOVJMIv1UfCx6pfL1RPxP1fZjTX8RcSR14Fha0ZaVlSY IiYAYMPa8BTrJfUOOYGVGsfEvu7kfJR04H9w5JoAwIQudTPsNbW6hOS2/6etb2gVcy9bBWb3np3 nzN0QIx9OsjmU7oM56jv4UUqp1/My72/sbBtb9FqVv+sZHre/B+VF1alm0BlhuC0UBS5b3nUF/R +UoL/+AQ81t75cw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240616_061944_244344_12D1AC16 X-CRM114-Status: GOOD ( 15.43 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org ti,am654-serdes-ctrl is not a simple syscon device - it has children - thus it should be fully documented in its own binding. Reviewed-by: Rob Herring (Arm) Signed-off-by: Krzysztof Kozlowski --- Context might depend on patch in Lee's MFD tree: https://lore.kernel.org/all/171828959006.2643902.8308227314531523435.b4-ty@kernel.org/ and also further patches here depend on this one. --- Documentation/devicetree/bindings/mfd/syscon.yaml | 1 - .../bindings/soc/ti/ti,am654-serdes-ctrl.yaml | 42 ++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml index abd3debe5faf..d6fa58c9e4de 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.yaml +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml @@ -117,7 +117,6 @@ properties: - ti,am625-dss-oldi-io-ctrl - ti,am62p-cpsw-mac-efuse - ti,am654-dss-oldi-io-ctrl - - ti,am654-serdes-ctrl - ti,j784s4-pcie-ctrl - ti,keystone-pllctrl diff --git a/Documentation/devicetree/bindings/soc/ti/ti,am654-serdes-ctrl.yaml b/Documentation/devicetree/bindings/soc/ti/ti,am654-serdes-ctrl.yaml new file mode 100644 index 000000000000..a10a3b89ae05 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/ti/ti,am654-serdes-ctrl.yaml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/ti/ti,am654-serdes-ctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments AM654 Serdes Control Syscon + +maintainers: + - Nishanth Menon + +properties: + compatible: + items: + - const: ti,am654-serdes-ctrl + - const: syscon + + reg: + maxItems: 1 + + mux-controller: + $ref: /schemas/mux/reg-mux.yaml# + +required: + - compatible + - reg + - mux-controller + +additionalProperties: false + +examples: + - | + clock@4080 { + compatible = "ti,am654-serdes-ctrl", "syscon"; + reg = <0x4080 0x4>; + + mux-controller { + compatible = "mmio-mux"; + #mux-control-cells = <1>; + mux-reg-masks = <0x0 0x3>; /* lane select */ + }; + }; From patchwork Sun Jun 16 13:19:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13699557 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 3B26FC2BA15 for ; Sun, 16 Jun 2024 13:20:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=0M61LGtWhyUTrb3vUNPAQHawnYsrd2hx98XgU4CmPU8=; b=YUnx8JP80f5PphN9dRLou1rCDt +KxcI0Vr+jrqMvt6Tksk7QCL7ksfEm1T7COBDPtQHBslSi0OY6vJntucdHTlauZwHO/qABlPUq+X8 gG216OXt0Qc6mMVzIF54eKXvDSvGFSGA9GtMcwg4lj+KTEW7caMzPdOYt/07K3fjxeyuQkvLH/bDr Itg7uaZbRWCITMOEXKe+skS5v357s09paF+rOiM3bkqk9W4Tv/Zum8r44h9Iv/Mvo64e2OE/S3zTZ 2PA7t6fOGXUHCRwZjsbqCFtkTnB4SRidR0+qR9cMvBLkmBJ1+9Co6egKxm8FSRgKgamdymHR183Xq iies5J4w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sIpoE-00000007ajw-0EbP; Sun, 16 Jun 2024 13:20:38 +0000 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sIpnO-00000007aCI-0sxC for linux-arm-kernel@lists.infradead.org; Sun, 16 Jun 2024 13:19:48 +0000 Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-57cc1c00b97so2295451a12.0 for ; Sun, 16 Jun 2024 06:19:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718543984; x=1719148784; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=0M61LGtWhyUTrb3vUNPAQHawnYsrd2hx98XgU4CmPU8=; b=sOz7sbcHXtqPbvwFushp8zZcurAr+HGupAKQFL3euMLFn2wL7295oIX/mi27K3OaaP spN2Hn9CzZ5d3UAh9KLwoDEO3cKakNI7cJ/zOp5fN+xwkyRa/Yodn2Rc2wmiaXzHLGXm qiZRro/UkG6lLQDsR78QY7Iym8M8ejYNoZCmzR4ZZlMPoK7LFXUCC4caA8eARePHQGi/ CJu2tSgCmMKHbCdGUaYpp5YM/KnUz2yavoOU4o+EcrYJQMbNhqKyCvmdTqERZ9CN87l3 /w32QtdQYldAxZCYmMznIbRnsYWH43DwC2Z9wM6FH9/X20q9UTzbVXCO/CxUp1qgF2kP ECDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718543984; x=1719148784; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0M61LGtWhyUTrb3vUNPAQHawnYsrd2hx98XgU4CmPU8=; b=VygK37erNVF2fDPTFHAZAxhwDZvCHtn+r0vVoxzmXXdvPY8uw/DQ47z+AOWGkA5NWB LyyVD7/D83ZA0X/zsfZk6D8bheaOafHbvefR8nKLpfNoujigt11+X5tWUaCZiWRVkmt2 VGLwpmqV8sdn1ZOvNtpIXes24Lzq/u3MUVeFvQeOEq+fVsGt+RtiPkie5YDEPPfk111F N7Z3/GIo16/4Bvxiqvt7H2GRUsilxogKlbiDjZdix2w2Xkd5URUywhGFQSXdO/Pti/jB 4jKoB/KuQUqgwzaNiUKmdCipzMy58i7J+LYcRk8x2jf0Hh+/xk/JEUCp1Gactq2RrLwK aM5A== X-Forwarded-Encrypted: i=1; AJvYcCXjQ/phY+hxLJ/qA/0AR4udh5w266GHTvC85XtDQvHZRbO5EJ7DuqvcD3w5yKlpu3zu2NAU+SWND0/ERFgSPZzdCrgcvoNJ95hXpKiFo2hA4AzrDz8= X-Gm-Message-State: AOJu0YzcUkvAN9OotG/SkbN8Ny/EvQZzABpzS0XUklxAuPCVeICGc2EA 7XQZrMNSJt3Iv6uRiPIaZWIsTtVGZ0gVWM9n4awHphSbdXmKzI48A/NULaYcT98= X-Google-Smtp-Source: AGHT+IEkvlf6u8wRbl71WWhdH7gjSlznd7LnKbciBh1YsfO1WaGiTdpKJHECRnSRB41G6TCWU/IirA== X-Received: by 2002:a05:6402:1247:b0:57c:d3d4:bad2 with SMTP id 4fb4d7f45d1cf-57cd3d4bafbmr1353703a12.4.1718543984467; Sun, 16 Jun 2024 06:19:44 -0700 (PDT) Received: from [127.0.1.1] ([78.10.207.147]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57cb7438815sm5099603a12.80.2024.06.16.06.19.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Jun 2024 06:19:43 -0700 (PDT) From: Krzysztof Kozlowski Date: Sun, 16 Jun 2024 15:19:26 +0200 Subject: [PATCH v2 6/7] dt-bindings: mfd: syscon: Split and enforce documenting MFD children MIME-Version: 1.0 Message-Id: <20240616-dt-bindings-mfd-syscon-split-v2-6-571b5850174a@linaro.org> References: <20240616-dt-bindings-mfd-syscon-split-v2-0-571b5850174a@linaro.org> In-Reply-To: <20240616-dt-bindings-mfd-syscon-split-v2-0-571b5850174a@linaro.org> To: Orson Zhai , Baolin Wang , Chunyan Zhang , Vadivel Murugan , Jacky Huang , Shan-Chun Hung , Khuong Dinh , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Nishanth Menon , Matthias Brugger , AngeloGioacchino Del Regno Cc: Jiaxun Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=14827; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=84MlsfX+AFW4Vacb5hsSsZfAMJ7fXjRby83bxC0Vksg=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbuZinYmJMuqRPC5LyC1NX0SHrUaXdOX2c03rh x3TmdX11qKJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZm7mYgAKCRDBN2bmhouD 19KWD/4vx5k2xRn56kmxzcG0OG/o6iAMdHHZ1xG+XDu1ht1ZS9eV7K27CY2xy6B7te8lUPN6n+I 60aSfBZpUjLREp1m9/GjMES6vYeDCVkC4tlONXo70vJ4bw6aDL85LZqVvaHZ11eAwLWGBDDef/J 3hAUXfDIQDNy1JOLqZgUiFrcm14p3+wtQYM7jN6/qWT5lC18iOJ9ZH1cYHk8B7B3ebB3FJj5i69 3t4M/E2fe1Y5X0j3hsDBiZsi8zVdR91wZd9v60YQ39Sjw5TamTuC2pNqdSR0kfg+sEX6rpmfoWk f8x0yjb+fSDK9zH3vkJGIF301dwrWdtHPyR/h1QUUnecD/VUXf6TITMf+mJKWO+bwj0xcZ10F+f N2oyULVtGR/U50gB1nSVDhIDuBIhWlaf+UTugkIqeMthG/xaFeQzFNJXDP1kv/0mpFedcFc0ru5 Hcy73EW4QAQNmmVNvxeE1Sc+59qKZRKNK7rt7zDDxYpfH9fyGVdQhdjSkeNqGY4sV3ZuuC3B3RW Pj11OaxYsdXYRF+6L1les4JGDEjhZLK6/HeUQyE+DQ0cyXMKKCqXWfJ4p71nLrYYmyGtOtT+8Yl DbXDAdKkxVfxNUFpGf+20Dm/meK0LmXt/+giM9FJ2PjX8Kc/1A6ORK2IaR6xZPrd6FcKqjtccnT i+cVzq0weR7PnDg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240616_061946_366259_8F91C7A1 X-CRM114-Status: GOOD ( 17.13 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Simple syscon nodes can be documented in common syscon.yaml, however devices with simple-mfd compatible, thus with some children, should have their own schema listing these children. Such listing makes the binding specific, allows better validation (so the incorrect child would not appear in the simple-mfd node) and actually enforces repeated rule for simple-mfd devices: "simple-mfd" is only for simple devices, where the children do not depend on the parent. Currently the syscon+simple-mfd binding is quite broad and allows any child or property, thus above rule cannot be enforced. Split the syscon.yaml binding into: 1. Common syscon properties, used potentially by many bindings. 2. Simple syscon devices (NO simple-mfd!). Signed-off-by: Krzysztof Kozlowski Reviewed-by: Conor Dooley Reviewed-by: Rob Herring (Arm) --- Depends on: 1. Patch in MFD: https://lore.kernel.org/all/171828959006.2643902.8308227314531523435.b4-ty@kernel.org/ 2. Previous patches in the series. --- .../devicetree/bindings/mfd/syscon-common.yaml | 72 +++++ Documentation/devicetree/bindings/mfd/syscon.yaml | 294 +++++++++++++-------- 2 files changed, 251 insertions(+), 115 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/syscon-common.yaml b/Documentation/devicetree/bindings/mfd/syscon-common.yaml new file mode 100644 index 000000000000..c3ff3a7afce3 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/syscon-common.yaml @@ -0,0 +1,72 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mfd/syscon-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: System Controller Registers R/W Common Properties + +description: | + System controller node represents a register region containing a set + of miscellaneous registers. The registers are not cohesive enough to + represent as any specific type of device. The typical use-case is + for some other node's driver, or platform-specific code, to acquire + a reference to the syscon node (e.g. by phandle, node path, or + search using a specific compatible value), interrogate the node (or + associated OS driver) to determine the location of the registers, + and access the registers directly. + +maintainers: + - Lee Jones + +select: + properties: + compatible: + contains: + enum: + - syscon + + required: + - compatible + +properties: + compatible: + contains: + const: syscon + minItems: 2 + maxItems: 5 # Should be enough + + reg: + maxItems: 1 + + reg-io-width: + description: | + The size (in bytes) of the IO accesses that should be performed + on the device. + enum: [1, 2, 4, 8] + +required: + - compatible + - reg + +allOf: + - if: + properties: + compatible: + contains: + const: simple-mfd + then: + properties: + compatible: + minItems: 3 + maxItems: 5 + +additionalProperties: true + +examples: + - | + syscon: syscon@1c00000 { + compatible = "allwinner,sun8i-h3-system-controller", "syscon"; + reg = <0x01c00000 0x1000>; + }; +... diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml index d6fa58c9e4de..d4e9533cf3fe 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.yaml +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml @@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/mfd/syscon.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: System Controller Registers R/W +title: System Controller Devices description: | System controller node represents a register region containing a set @@ -19,123 +19,196 @@ description: | maintainers: - Lee Jones +# Need a select with all compatibles listed for compatibility with older +# dtschema (<2024.02), so this will not be selected for other schemas having +# syscon fallback. select: properties: compatible: contains: enum: - - syscon - + - al,alpine-sysfabric-servic + - allwinner,sun8i-a83t-system-controller + - allwinner,sun8i-h3-system-controller + - allwinner,sun8i-v3s-system-controller + - allwinner,sun50i-a64-system-controller + - altr,l3regs + - altr,sdr-ctl + - amd,pensando-elba-syscon + - amlogic,meson-mx-assist + - amlogic,meson-mx-bootrom + - amlogic,meson8-analog-top + - amlogic,meson8b-analog-top + - amlogic,meson8-pmu + - amlogic,meson8b-pmu + - apm,xgene-csw + - apm,xgene-efuse + - apm,xgene-mcb + - apm,xgene-rb + - apm,xgene-scu + - atmel,sama5d2-sfrbu + - atmel,sama5d3-nfc-io + - atmel,sama5d3-sfrbu + - atmel,sama5d4-sfrbu + - axis,artpec6-syscon + - brcm,cru-clkset + - brcm,sr-cdru + - brcm,sr-mhb + - cirrus,ep7209-syscon1 + - cirrus,ep7209-syscon2 + - cirrus,ep7209-syscon3 + - cnxt,cx92755-uc + - freecom,fsg-cs2-system-controller + - fsl,imx93-aonmix-ns-syscfg + - fsl,imx93-wakeupmix-syscfg + - fsl,ls1088a-reset + - fsl,vf610-anatop + - fsl,vf610-mscm-cpucfg + - hisilicon,dsa-subctrl + - hisilicon,hi6220-sramctrl + - hisilicon,hip04-ppe + - hisilicon,pcie-sas-subctrl + - hisilicon,peri-subctrl + - hpe,gxp-sysreg + - loongson,ls1b-syscon + - loongson,ls1c-syscon + - lsi,axxia-syscon + - marvell,armada-3700-cpu-misc + - marvell,armada-3700-nb-pm + - marvell,armada-3700-avs + - marvell,armada-3700-usb2-host-misc + - marvell,dove-global-config + - mediatek,mt2701-pctl-a-syscfg + - mediatek,mt2712-pctl-a-syscfg + - mediatek,mt6397-pctl-pmic-syscfg + - mediatek,mt8135-pctl-a-syscfg + - mediatek,mt8135-pctl-b-syscfg + - mediatek,mt8173-pctl-a-syscfg + - mediatek,mt8365-syscfg + - microchip,lan966x-cpu-syscon + - microchip,sam9x60-sfr + - microchip,sama7g5-ddr3phy + - mscc,ocelot-cpu-syscon + - mstar,msc313-pmsleep + - nuvoton,ma35d1-sys + - nuvoton,wpcm450-shm + - rockchip,px30-qos + - rockchip,rk3036-qos + - rockchip,rk3066-qos + - rockchip,rk3128-qos + - rockchip,rk3228-qos + - rockchip,rk3288-qos + - rockchip,rk3368-qos + - rockchip,rk3399-qos + - rockchip,rk3568-qos + - rockchip,rk3588-qos + - rockchip,rv1126-qos + - st,spear1340-misc + - stericsson,nomadik-pmu + - starfive,jh7100-sysmain + - ti,am62-usb-phy-ctrl + - ti,am625-dss-oldi-io-ctrl + - ti,am62p-cpsw-mac-efuse + - ti,am654-dss-oldi-io-ctrl + - ti,j784s4-pcie-ctrl + - ti,keystone-pllctrl required: - compatible properties: compatible: - anyOf: - - items: - - enum: - - al,alpine-sysfabric-service - - allwinner,sun8i-a83t-system-controller - - allwinner,sun8i-h3-system-controller - - allwinner,sun8i-v3s-system-controller - - allwinner,sun50i-a64-system-controller - - altr,l3regs - - altr,sdr-ctl - - amd,pensando-elba-syscon - - amlogic,meson-mx-assist - - amlogic,meson-mx-bootrom - - amlogic,meson8-analog-top - - amlogic,meson8b-analog-top - - amlogic,meson8-pmu - - amlogic,meson8b-pmu - - apm,xgene-csw - - apm,xgene-efuse - - apm,xgene-mcb - - apm,xgene-rb - - apm,xgene-scu - - atmel,sama5d2-sfrbu - - atmel,sama5d3-nfc-io - - atmel,sama5d3-sfrbu - - atmel,sama5d4-sfrbu - - axis,artpec6-syscon - - brcm,cru-clkset - - brcm,sr-cdru - - brcm,sr-mhb - - cirrus,ep7209-syscon1 - - cirrus,ep7209-syscon2 - - cirrus,ep7209-syscon3 - - cnxt,cx92755-uc - - freecom,fsg-cs2-system-controller - - fsl,imx93-aonmix-ns-syscfg - - fsl,imx93-wakeupmix-syscfg - - fsl,ls1088a-reset - - fsl,vf610-anatop - - fsl,vf610-mscm-cpucfg - - hisilicon,dsa-subctrl - - hisilicon,hi6220-sramctrl - - hisilicon,hip04-ppe - - hisilicon,pcie-sas-subctrl - - hisilicon,peri-subctrl - - hpe,gxp-sysreg - - loongson,ls1b-syscon - - loongson,ls1c-syscon - - lsi,axxia-syscon - - marvell,armada-3700-cpu-misc - - marvell,armada-3700-nb-pm - - marvell,armada-3700-avs - - marvell,armada-3700-usb2-host-misc - - marvell,dove-global-config - - mediatek,mt2701-pctl-a-syscfg - - mediatek,mt2712-pctl-a-syscfg - - mediatek,mt6397-pctl-pmic-syscfg - - mediatek,mt8135-pctl-a-syscfg - - mediatek,mt8135-pctl-b-syscfg - - mediatek,mt8173-pctl-a-syscfg - - mediatek,mt8365-syscfg - - microchip,lan966x-cpu-syscon - - microchip,sam9x60-sfr - - microchip,sama7g5-ddr3phy - - mscc,ocelot-cpu-syscon - - mstar,msc313-pmsleep - - nuvoton,ma35d1-sys - - nuvoton,wpcm450-shm - - rockchip,px30-qos - - rockchip,rk3036-qos - - rockchip,rk3066-qos - - rockchip,rk3128-qos - - rockchip,rk3228-qos - - rockchip,rk3288-qos - - rockchip,rk3368-qos - - rockchip,rk3399-qos - - rockchip,rk3568-qos - - rockchip,rk3588-qos - - rockchip,rv1126-qos - - st,spear1340-misc - - stericsson,nomadik-pmu - - starfive,jh7100-sysmain - - ti,am62-usb-phy-ctrl - - ti,am625-dss-oldi-io-ctrl - - ti,am62p-cpsw-mac-efuse - - ti,am654-dss-oldi-io-ctrl - - ti,j784s4-pcie-ctrl - - ti,keystone-pllctrl - - - const: syscon - - - contains: - const: syscon - minItems: 2 - maxItems: 5 # Should be enough + items: + - enum: + - al,alpine-sysfabric-service + - allwinner,sun8i-a83t-system-controller + - allwinner,sun8i-h3-system-controller + - allwinner,sun8i-v3s-system-controller + - allwinner,sun50i-a64-system-controller + - altr,l3regs + - altr,sdr-ctl + - amd,pensando-elba-syscon + - amlogic,meson-mx-assist + - amlogic,meson-mx-bootrom + - amlogic,meson8-analog-top + - amlogic,meson8b-analog-top + - amlogic,meson8-pmu + - amlogic,meson8b-pmu + - apm,xgene-csw + - apm,xgene-efuse + - apm,xgene-mcb + - apm,xgene-rb + - apm,xgene-scu + - atmel,sama5d2-sfrbu + - atmel,sama5d3-nfc-io + - atmel,sama5d3-sfrbu + - atmel,sama5d4-sfrbu + - axis,artpec6-syscon + - brcm,cru-clkset + - brcm,sr-cdru + - brcm,sr-mhb + - cirrus,ep7209-syscon1 + - cirrus,ep7209-syscon2 + - cirrus,ep7209-syscon3 + - cnxt,cx92755-uc + - freecom,fsg-cs2-system-controller + - fsl,imx93-aonmix-ns-syscfg + - fsl,imx93-wakeupmix-syscfg + - fsl,ls1088a-reset + - fsl,vf610-anatop + - fsl,vf610-mscm-cpucfg + - hisilicon,dsa-subctrl + - hisilicon,hi6220-sramctrl + - hisilicon,hip04-ppe + - hisilicon,pcie-sas-subctrl + - hisilicon,peri-subctrl + - hpe,gxp-sysreg + - loongson,ls1b-syscon + - loongson,ls1c-syscon + - lsi,axxia-syscon + - marvell,armada-3700-cpu-misc + - marvell,armada-3700-nb-pm + - marvell,armada-3700-avs + - marvell,armada-3700-usb2-host-misc + - marvell,dove-global-config + - mediatek,mt2701-pctl-a-syscfg + - mediatek,mt2712-pctl-a-syscfg + - mediatek,mt6397-pctl-pmic-syscfg + - mediatek,mt8135-pctl-a-syscfg + - mediatek,mt8135-pctl-b-syscfg + - mediatek,mt8173-pctl-a-syscfg + - mediatek,mt8365-syscfg + - microchip,lan966x-cpu-syscon + - microchip,sam9x60-sfr + - microchip,sama7g5-ddr3phy + - mscc,ocelot-cpu-syscon + - mstar,msc313-pmsleep + - nuvoton,ma35d1-sys + - nuvoton,wpcm450-shm + - rockchip,px30-qos + - rockchip,rk3036-qos + - rockchip,rk3066-qos + - rockchip,rk3128-qos + - rockchip,rk3228-qos + - rockchip,rk3288-qos + - rockchip,rk3368-qos + - rockchip,rk3399-qos + - rockchip,rk3568-qos + - rockchip,rk3588-qos + - rockchip,rv1126-qos + - st,spear1340-misc + - stericsson,nomadik-pmu + - starfive,jh7100-sysmain + - ti,am62-usb-phy-ctrl + - ti,am625-dss-oldi-io-ctrl + - ti,am62p-cpsw-mac-efuse + - ti,am654-dss-oldi-io-ctrl + - ti,j784s4-pcie-ctrl + - ti,keystone-pllctrl + - const: syscon reg: maxItems: 1 - reg-io-width: - description: | - The size (in bytes) of the IO accesses that should be performed - on the device. - enum: [1, 2, 4, 8] - resets: maxItems: 1 @@ -144,18 +217,9 @@ required: - reg allOf: - - if: - properties: - compatible: - contains: - const: simple-mfd - then: - properties: - compatible: - minItems: 3 - maxItems: 5 + - $ref: syscon-common.yaml# -additionalProperties: true +unevaluatedProperties: false examples: - | From patchwork Sun Jun 16 13:19:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13699556 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 3A6D3C27C53 for ; Sun, 16 Jun 2024 13:20:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=59XlO8N85CHKMZTE14dutfLqTOocIO6QaYNJIqLDR0E=; b=RrNrRZd0ONhrcp1FCYDo9TzGMT XipxRcpcBsh8x0erfsCtAJ4nQjK13XhWFFXwj3IyGGJK9PlNhK123kO+IpOY/2su+j684x/YMSuEU rnR4VPIFS2VzjwRTU1ROzUXSk/cny2Ei/qHqgR+A1YeYyz4gyV83zezMbKXz686dNQLkPUtrvuUsi hqFs0u3ws5JN753u581rqGxp7qmT1Dk8O2aUrNI2d+whncjtSkKU2kycW2PPaDey5IaXMfsm0D+tp i9pq3dyZbwfA9SyQOEoizhjD7fDjNVLQhLfd8ZyHTFeTpBxPrJZXItRZwjENGjamEnfBvSVI0Diup Xo59tQHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sIpoG-00000007aly-3WmK; Sun, 16 Jun 2024 13:20:40 +0000 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sIpnP-00000007aD9-2v0G for linux-arm-kernel@lists.infradead.org; Sun, 16 Jun 2024 13:19:50 +0000 Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-57cc7e85b4bso2586636a12.0 for ; Sun, 16 Jun 2024 06:19:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718543986; x=1719148786; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=59XlO8N85CHKMZTE14dutfLqTOocIO6QaYNJIqLDR0E=; b=deAiFh2UUWjXnjAHcx5RpDIxGjt0Lq1OArnatM7FTQXdOKKW3L4c5otsVC0C21fmOD +yRpQP1IO3b2rSOV7Jicy8EtiZZ9h+Z9ELyUsyM80Qn73P/qVpOPSPC1kmJBxiLqddf1 rT01OQOZhkSqouwJ6cBGUw8LjDyJTk7gpYgk+Zg/fu24sAfOFvnJkFpLrF2xsZNspNAT +7To2YIXRsAravYbTEsj+xTOjVuFUVnIRzKkgIxqAukW4/jVe0sKOu5+Rlq6xj+g+ovq KOX2TsDEVE9aZQXajVIjgIzUlL+txJzJFsG2SlESY7oSLPHdHRqowC1lgFVGut+4jtzs w7Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718543986; x=1719148786; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=59XlO8N85CHKMZTE14dutfLqTOocIO6QaYNJIqLDR0E=; b=Od99rGYZCo7oETiZQJdxJA2hRCQp2Fa1v1FqvVVdhij5Gc+FiSBplNEd+nDMjSAxBT BPdfct0Mov2YCCRqQ0/tJj6978EDrnhHU7vnZuoH63TaB3jIs8zONbKaPox5LvMk/uX1 UN0A194kCPqzYSMr5UemqPS8GoM/2HdH994NUKbvSBnCoFbpCk1cbsm7dejM9Cc3kGva JBVuD8/QwMXMAjqMtWWROcwkv3Ti1LWTLOs5Qi0FFqaT4sFdenyujdRbqqtBS8W2Viv+ a9Ja+TJjRhzeAtWor3vyU99rXRyoKkti9lwa/bSmH9ygBVmTEgUUMQI/EDNBgtD1W407 klWw== X-Forwarded-Encrypted: i=1; AJvYcCXEknqHTObWifuZS7JwP1Vthig6ay6jFq13l+BQz+dkjmXsfTW+622hsBKDVJ9k96JmVbSusG/nxveeAvO2zSXGFKWJc2tfXUfA+R2jeLwsBYbXTcI= X-Gm-Message-State: AOJu0YznL9raoZgKZeGywaCxx37cdcMxc5bNiV+XjOEU6KZyqDDDc1U0 qlDTe0skllPC1mz4Gg2bQx5ojlci1IfgSX+UTjtixfBgVTjdz/ySl4++d4iRArE= X-Google-Smtp-Source: AGHT+IH9u76WeDG3eOiV7luLeppMMIooUwFkUFTuoY0slKOmXnYuhfgrO3dbY2fhWktwljJZ7lGNaw== X-Received: by 2002:a50:bac2:0:b0:57c:70b4:7ac with SMTP id 4fb4d7f45d1cf-57cbd8f1751mr5555044a12.15.1718543986242; Sun, 16 Jun 2024 06:19:46 -0700 (PDT) Received: from [127.0.1.1] ([78.10.207.147]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57cb7438815sm5099603a12.80.2024.06.16.06.19.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Jun 2024 06:19:45 -0700 (PDT) From: Krzysztof Kozlowski Date: Sun, 16 Jun 2024 15:19:27 +0200 Subject: [PATCH v2 7/7] dt-bindings: mfd: syscon: Add APM poweroff mailbox MIME-Version: 1.0 Message-Id: <20240616-dt-bindings-mfd-syscon-split-v2-7-571b5850174a@linaro.org> References: <20240616-dt-bindings-mfd-syscon-split-v2-0-571b5850174a@linaro.org> In-Reply-To: <20240616-dt-bindings-mfd-syscon-split-v2-0-571b5850174a@linaro.org> To: Orson Zhai , Baolin Wang , Chunyan Zhang , Vadivel Murugan , Jacky Huang , Shan-Chun Hung , Khuong Dinh , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Nishanth Menon , Matthias Brugger , AngeloGioacchino Del Regno Cc: Jiaxun Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1201; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=lJ28Y3M24JoUrkT0kfRU9mVaVheUptQt841EFO3wEWg=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmbuZj4ZbHwKVi5k4X3fOKFTh6iG71Wc9FEkgu9 BVwcMkc0GWJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZm7mYwAKCRDBN2bmhouD 16UkD/9aWHedSRSAu/MQBnkJNIZDzJAn/m8m53L7ouUBr4rLJafFHjvUX5yVm6vLUVtB5GQLg3d dn71OMvDG03cQU+3OFAY62l9RxNsWeerDto6k9CPN8HkMubrdZDM8VTWHFuF7Let01WJxUSoLJa YZxW2eIYh8K95Ob00fUJ5OpEz+aEsQOvgGggWETwYKVGiS/8gisoKurr/6UyGj8JxfNVeN3BB3s z/hS3cRlZSlFaL9srRvkDpJyuiOH2WDXmnTNFwUJrdcMFntXSRk74KAJIN3ag1kgrHFBh3mSp1e kKDyacV24jcCEl6Fxu5Ew+75NayxeLtu1z1fmpoa/AogjP/WmB0QhoqTc7K+LLtn5bxJDovSIxa sUMmZXE0ZRchoUchtVnQR0m+qDgb165ljTWq/CrMTTRCjmEbzOrEYpDuMPylPwom226N7HHfCog KWXYnGSEqF3URWvWDI+gL4y0Kki/AT0oKfMII4g+29hiupI18/gGVAKRv9vGUEuYFhFxP9Y/aYs YCqUvaSABgbpvS3y3d3t25Yq74uLftYhdSPJghBkoyyG9Oa2pSGhfNsNhTHlx/A5Q2KjGPykuP8 B3Avj9TwacD7hDPnW2z1nJLTa+d12BpX1iVPlLVw6DJPPTrawfDID9A2UgYlcsGRQnE4yyAGmyb jZdxnLBn7yOaevA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240616_061947_878895_217BCAB1 X-CRM114-Status: UNSURE ( 8.87 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add compatible for an already used syscon poweroff/mailbox block in APM. Reviewed-by: Rob Herring (Arm) Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mfd/syscon.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml index d4e9533cf3fe..70e3a4465b4f 100644 --- a/Documentation/devicetree/bindings/mfd/syscon.yaml +++ b/Documentation/devicetree/bindings/mfd/syscon.yaml @@ -41,6 +41,8 @@ select: - amlogic,meson8b-analog-top - amlogic,meson8-pmu - amlogic,meson8b-pmu + - apm,merlin-poweroff-mailbox + - apm,mustang-poweroff-mailbox - apm,xgene-csw - apm,xgene-efuse - apm,xgene-mcb @@ -133,6 +135,8 @@ properties: - amlogic,meson8b-analog-top - amlogic,meson8-pmu - amlogic,meson8b-pmu + - apm,merlin-poweroff-mailbox + - apm,mustang-poweroff-mailbox - apm,xgene-csw - apm,xgene-efuse - apm,xgene-mcb