From patchwork Wed Jun 26 10:09:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13712522 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 E57A5C27C4F for ; Wed, 26 Jun 2024 10:09:44 +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=RyvAzOFl588qNfCFyjCfiJ/RgX WLE4pqV5s9t624uI8B7PUbzYJSAJMwyZwxj0a0XM+FczCXRPLdkhjnlQCzcEbFO/h4qVjoGZ2ZM4w VyzrPGWYx5gZ2PHYzFqObJCOlSpZQYciDkotY3d+MGgym7rx//QM2U1OQfEYvFJnqYgqbILJHbz7P H0CaL3YusyVHWM9KUg0Daf9KwCc0Zv26fBh3YgvrXNqOvYGP2uRxyWVSbknTp/FxXn9Xfqre93FAI ndYGkDOoiBTavbwfU6d0wtH8ifM6rGwhRUMDBWUGr6Ol5AyJfrWlzEUyWFkMZDKmUwsvl7zD7N+68 JnvrGq8Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMPay-00000006FGH-2GyE; Wed, 26 Jun 2024 10:09:44 +0000 Received: from mail-io1-xd2f.google.com ([2607:f8b0:4864:20::d2f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMPau-00000006FEM-2qZz for linux-mediatek@lists.infradead.org; Wed, 26 Jun 2024 10:09:42 +0000 Received: by mail-io1-xd2f.google.com with SMTP id ca18e2360f4ac-7ebe508fa34so352779139f.2 for ; Wed, 26 Jun 2024 03:09:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719396579; x=1720001379; 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=ytCPCn6/tmd6eEjYNJ73jmQFhcrkda606qhZJyFvJRWNyU2K6ID5fWCIEiDUezgomS 2/b0tGGvYavecCde8vrH8d658I2YIQTaAbWvYeem/SVy6NAulWFFcwQDftrYEX0Kd47X mWm1dqd/+OLNkaGRw5ZQRxCL/IHjvYjNHEVdd6+DxUC59H0OrChzOv1+v2Gtkxtimaoi wYgCHHoabJjeyL6G1omjIqsj6ODEhhBg5v5cuf7IJePQCzyV8f53zCHFbNfRwj43OsHl FTTAxyup50iCYIL4/TzRXYcViat4DQMQ7r+RCbYZR3eDAFjbPmS9wToAuCeZjP3GVdGT +CpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719396579; x=1720001379; 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=rlwDlDCpVnHKdxWGgngB/mKfQklcYnK3KaiPfTURdKSVBOXBcjxmaoJFq1kEg0V4dQ 8KPh5nZzNWKganYQYfoGknhFyVmkz+XxUH6clyDP5x1jziEIB17B1yEMAVg15QYqFlxr Oe8/MHCqjfsOXYHdpChfiIQnTPnfCRR/H4BGMwtHFbKLfB1fi2KXkd6kzyYESuOCo8IL egZKlCq4A3cekaCq3Or7TICbybSlRK/OW63R/so0YmLNNUNMwgA9JhbOdzQobUeOUOGK gzEr4Pon9LYrisMv70qf0SaqCzPpF+wGzOJwmS568Toe0NCulr8NlP1Fk7nr9mT+R2VA mvXw== X-Forwarded-Encrypted: i=1; AJvYcCU/lg/DXkYxs+/qkcR/bku2uVVBUGmoKSm21sYXLxqN0FAEg8Wg3SCXWeoZVTM6APiu3G0wcINQJEFLvJTvli8e2Qgo9GFQTbcrSB7QbWNaPXFW X-Gm-Message-State: AOJu0YxIl4cmuanD5Agx7ImaKu6Jml3h6weahP5TXfQPN3twA7v4gvUP WCmmkbedT9C/7yA4KYbohVf6HKs5xZTY1CU6xcyPmkcyID4XoirneBCgZA2EeYc= X-Google-Smtp-Source: AGHT+IHqwnO5pBa6HTOmyWnYZLgpN3Gi3NqGX/tjkp9Tu/WrmclyDjhC1DHXfx9vpGqIn01XeZ8njw== X-Received: by 2002:a05:6602:2cd5:b0:7f3:d2d5:f06a with SMTP id ca18e2360f4ac-7f3d2d5f2acmr140707339f.13.1719396579188; Wed, 26 Jun 2024 03:09:39 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4b9d121859csm3079108173.137.2024.06.26.03.09.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 03:09:38 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 26 Jun 2024 12:09:10 +0200 Subject: [PATCH v3 1/7] dt-bindings: mfd: syscon: Drop hwlocks MIME-Version: 1.0 Message-Id: <20240626-dt-bindings-mfd-syscon-split-v3-1-3409903bb99b@linaro.org> References: <20240626-dt-bindings-mfd-syscon-split-v3-0-3409903bb99b@linaro.org> In-Reply-To: <20240626-dt-bindings-mfd-syscon-split-v3-0-3409903bb99b@linaro.org> To: Orson Zhai , Baolin Wang , Chunyan Zhang , Jacky Huang , Shan-Chun Hung , Khuong Dinh , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chuanhua Lei , Rahul Tanwar , 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.14.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/ZANAwAKAcE3ZuaGi4PXAcsmYgBme+jN/rKMxop1xT/eiXH0yfnc4nH4wTzAzWBLd sGOqlE3goOJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZnvozQAKCRDBN2bmhouD 11KrD/kBFxg7oTtHPs9nfetBfgdL+FBGvLZ3f2pfG1Q82+mxioVyml+E0ACoJrF5fyUA3qBoNFY mZrROtgqx4qUEtIyipUhpEupd6qdZAGCj+VrkoGS7MJobjRksF62Ef6z15K/OhWjGQevjms05HI yQfTAWQFIAVzvmvFNxBSn0y/Yr81bCpJQzUP4aJF5ixpEXxyAKGCcfMe8cBeEDka8l0W2VRegjd z6rhRp5pECpwpGOZ0lzwD3gj9yYUeTdAcc6Y8qxCmXNgESx8Ynfsl5zyt+Aj7b+Z9lHvbJjx99L 733ylo7QKuaKo0JwHc3LkMqtNq8XcFa94VtbLqLt1Hn0tbbrzT41uXTeyIIYbW28jOr11EsVtNY 7Oe/+heg+jftLxUsqVJdvgC0ylLZgYmRQaPk6x5jR/B/BzDOtxfQ6WNzJVIJji/yia0fLL12zHy MYYY13ntHkBT9AXK/P/iecS6c4ti30TJjXvNcqV2e1C9LkMKNYhgZ3GV7Jwc13sOjZz9HoEYYjO HSYN92mS5miQI7Ool82Jc5JhSjR/6+EVG7C9HKoNtMnUBrFHSEPEkR1mm42rbCmjKWzzXbTmSIf IhjS7hbZqxjT6R/GkGWqEzYyql5GovOBULtnmB94dEDdnG08iNaG4M3eynvfzZOP9WIc75Juxks UdTXq7ePdotNovg== 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-20240626_030941_312631_8E6D02F7 X-CRM114-Status: UNSURE ( 7.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 Wed Jun 26 10:09:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13712523 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 E4589C30653 for ; Wed, 26 Jun 2024 10:10:26 +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=lyyT2YLj7brwLoXsAS7A6EY+f9NU6Kl4lWR4a3U/7uY=; b=fDav+6+rsheheovZbKXrxYTYhf PrwNk/hOAxdiYh/anP3ShfvJYBzA6qZRhfpzbUNQo2LhDeDQCiU3YwTEyiSrAxA3mR3vp0Tso/70n CLjEGnVxX1D+53BsUYHx6wHnMi6hVYy36E1RY0PnbXTbwhUBwJzjcIvylORDj893woO3GEgtbHYfQ rrwzncCJFRDCgUGHThIFN+8kaQ2DsSPtzfQYxyOLuhG8UjG3yCwa12d4+huGsm/WJaOzj5RmAkvc1 kvb1K2D+E4gb1Z9bEjUj+2DXVJK3orKWDodNMgU1aKgbnG1i1ynyaM9wmsZhRWFt7j9KcfnEUoREW CRC3I7Jw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMPbe-00000006FWL-28FZ; Wed, 26 Jun 2024 10:10:26 +0000 Received: from mail-io1-xd31.google.com ([2607:f8b0:4864:20::d31]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMPb0-00000006FGd-1cGC for linux-mediatek@lists.infradead.org; Wed, 26 Jun 2024 10:09:48 +0000 Received: by mail-io1-xd31.google.com with SMTP id ca18e2360f4ac-7eb9e7f3da2so270917839f.1 for ; Wed, 26 Jun 2024 03:09:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719396585; x=1720001385; 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=lyyT2YLj7brwLoXsAS7A6EY+f9NU6Kl4lWR4a3U/7uY=; b=dO6jI/YG/CeufTT/WGsxX6aJfLCCBYD94+MbJtgjdG0uR9T8FRqYGUU5FzegEoPKlJ +gkG8apWE7YwBvMd/XHtjP5KVVhwzByHyKj6G/CtaE+wJHfT4tug0tYwzrZkTwhEVgtd gswhV25pN9ZpvPijKr1ihsXxxX9mmZWgPHhWRIQqtw2YdYueYJp/NiqUIDbsntUM5yNC sCFg4ldkOq5qOue8z4L1MMjEuPmekjtyE0g/TLXj/E3JOqRVBzUDjvKnJ3QtaVCTvC3U NbBbbaYw/WgJbmIOILpbvJ+UD3IXeDJLm0h5uLGDBHNDNngGm3u/FHevMfdaqUkyGeAp EHiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719396585; x=1720001385; 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=lyyT2YLj7brwLoXsAS7A6EY+f9NU6Kl4lWR4a3U/7uY=; b=s9yOGhEZjGZBtQfdC29KgZ5+qPhRerXRguGgp8BhjhZ3terleQ/kv0aIJjh9sX4YK6 RzPLsSNHeoLOxbMsUUK1N4x3YIHpyICirsQJXOM6NgOtMGXhI4j6RAij/kYc1FvTrY+A EPHwbbwSDFqYYE4tJtxruxNyuUT44xyQJZ11445YWWCa8JPd95TROINPMhqMUHd1ulNE Sx5LzB1KevNpZOh8vzXrIKQSYWmbQMx0E+FUdJ7xrWBf1sLylYKVo1rS6+k1m9iHr/br j2mKINHcBgVAVHqGA3Cp+hLjSBc72YRS1ZneZ2khL1zQe6/ZvXrL4p+xAPvGstaXgpvp qXkw== X-Forwarded-Encrypted: i=1; AJvYcCUv97ZJzn8aY3HOZD1YkmmcBBM5zVgeJfq3Zwwksa0GGpH/ARcMFIz0TgE3xFGhYpImhnhOaCWLUkeaI76bKiiVyMkhkduw6T0We+6qyAKssxa/ X-Gm-Message-State: AOJu0YxqRfn02uCFPI0O9vzwMfel/RedNv+2Qwoi3hjGR5wcHQ9oyScV ve2RTMWB7jgSVwDUJmkdFzSD+W2th89UPjNBpSwEmPBExl6CQEaHv/EWf48L18k= X-Google-Smtp-Source: AGHT+IEMyq8R/7/WsaxJZZQs9BQNgFhkEqurTmNJWnTSsdyT/suqRyRek2pxzdymC0qyY/6OUCmztw== X-Received: by 2002:a05:6602:27c8:b0:7f3:c683:2257 with SMTP id ca18e2360f4ac-7f3c68323ddmr511439439f.19.1719396585029; Wed, 26 Jun 2024 03:09:45 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4b9d121859csm3079108173.137.2024.06.26.03.09.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 03:09:44 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 26 Jun 2024 12:09:11 +0200 Subject: [PATCH v3 2/7] dt-bindings: soc: sprd: sc9863a-glbregs: Document SC9863A syscon MIME-Version: 1.0 Message-Id: <20240626-dt-bindings-mfd-syscon-split-v3-2-3409903bb99b@linaro.org> References: <20240626-dt-bindings-mfd-syscon-split-v3-0-3409903bb99b@linaro.org> In-Reply-To: <20240626-dt-bindings-mfd-syscon-split-v3-0-3409903bb99b@linaro.org> To: Orson Zhai , Baolin Wang , Chunyan Zhang , Jacky Huang , Shan-Chun Hung , Khuong Dinh , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chuanhua Lei , Rahul Tanwar , 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.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1955; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=GpB46U0rTX768acpnwCp30n8vR+PPYQrOeVuFcF/H/I=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBme+jOPW/pRpNa5wcaDuQgo+GKD9ufJBS2slVI9 DUEmVuVg5aJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZnvozgAKCRDBN2bmhouD 16DyEACDsuY0Tktlq051+p1lqoifw/KJMVcMX2UU77MTJEF1HKhqQHK4B6GJyxo3bh2kWVca0eG Y9BgrGeXwzifNVFFTuPUDtXDyLHE0Zn5HgLPhoddn/ncOHzt+FxG1id236lYEMGruUsNmeskoPG dtLCw8lgZCiQOayt7l/vrnjDzOu8agzemjxc/2/XnkaSdfSC/Yfke4IaRj5/G543Bn496TA4nW3 gSTr7+97WiCje+TlwGhoMZSkU02yIesrFjbbVgCkC1rGfxK0eNDbnztrbX/jjXz2FfXuh6y6Mzs 9ftjD85kwaZ7M6byl2isVmGLIXy1DQSh27uVFg6rUXrMKf+AacQaJaf+xBT5BpYe0GwogsnK2HV z+v+NYV3v1/C9BZl6VTvapfVb5+imZ1Ofd5JiTECnVTS2hvxSSFGBqctflxKXNKeTiDvOIPWhPa FVeO4b+3z27/H4eKATNA/sy97lWgijt7zop2R5SgcJTc+EOZKp0pC6hotTf5PQVJHCf/CfWeaFS IJH4YKT25gvpc2MR98qjT4upN8fsBJ3nuas0yRo5Ww6oJVIIZtV207OIc/sHlujBtyO17TwTvcD KhqjLNg4nZmcsG67EPl6orIaGJmzT4bvu9S88FJyZO6j0MOBZ6GFv4HylfFtuCLIFCDd8yza2ZL ll+MEQ7GYUtEm9g== 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-20240626_030946_611176_05081E7E X-CRM114-Status: GOOD ( 11.08 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Document sprd,sc9863a-glbregs compatible already used in DTS and other bindings example. Reviewed-by: Rob Herring (Arm) Reviewed-by: Baolin Wang Signed-off-by: Krzysztof Kozlowski --- .../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 Wed Jun 26 10:09:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13712526 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 54266C27C4F for ; Wed, 26 Jun 2024 10:10:42 +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=CoYyv1JfNQ5/bYMgeMIzJcXdRr3laILkHeyjJlFqVI0=; b=Ilt4s/H0ZkTNpa+z9r0LGrpHRi mAuk2c9xC/qqysGyj9Y4fS7iZ3WCLo+wmeNVXSSqp9prtaOK09YjQTUI0el8QTX2Nsp3pRMZ8YHCv PL9ZpI+Fmr5c9m9FufY+qn4LtzRH3TFIME6OvES2EDnE7tHTm+oVZXiun4hLQ37ypUciNFR2dlJ1G lkicNYSYQYHc+cvKVaPSFo9lupqDsk4cIpaO1wX1fxSmGBkz3SFSrBPsisCRk0HkAkIPHKxRB65EQ Dyw9ikC8YGbjxEwiamBIHbMWEiZLXugmy6Pnxc/xsgGeuw8NF2WgfAgOnLwFoUY1t/WE/jmEBB7PW LksylBWw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMPbt-00000006FgU-2VWI; Wed, 26 Jun 2024 10:10:41 +0000 Received: from mail-io1-xd29.google.com ([2607:f8b0:4864:20::d29]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMPbK-00000006FIt-09dm for linux-mediatek@lists.infradead.org; Wed, 26 Jun 2024 10:10:11 +0000 Received: by mail-io1-xd29.google.com with SMTP id ca18e2360f4ac-7f3d2d441e4so15930239f.2 for ; Wed, 26 Jun 2024 03:09:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719396591; x=1720001391; 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=CoYyv1JfNQ5/bYMgeMIzJcXdRr3laILkHeyjJlFqVI0=; b=Ut78zdD1ib+AS/dr6XIQCB5NzKMKApDr0XNlrUQAVOvxp2XJwf46vmwxRnWW/3tvLX PqPIRKeAMzG6acKaklXmAcH7zEV3AxAaV0WIYZNxsjvpZLN2dLj6qUrDN4TUMv+oCe8s /Wf2fJkhYQ5azq1kDxPWsHTiK4HWmy/fgPFX5cSqVcp59kRULpyHo/Dba2Lml/IldTop c6wrLSgqrlw5XRSFH6dXDuuMNZ3PG6NZTBXJqzXnCOqIPxXPdn8LI+kjyKx3xQB6dpGL s5esB+7Q7/I/bGkH+oRpNJd5NZfdqQah6l7La7TezWIv87ip104XLwQ9j+6G3mmy8ubm PJ2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719396591; x=1720001391; 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=CoYyv1JfNQ5/bYMgeMIzJcXdRr3laILkHeyjJlFqVI0=; b=T0PW4vrJKBMrHCAC/y4okWuJCN87dacw6y2Am9sbeduVGx8ojcI3B82EJDS56XzfVH pAJCRhxCLssHrigGd9oiKlq1RVGmkwULRJRqu4caML+u1l6FWP6Y8mk+5i51lnQ2dqeo bCWE8hGnXgBRqGSj4/6qlu/Ff1fgb06xtUyxsgOd+OeBY942SruCYUZ9NC2Q7AD7XUEo ECDREheefXC0NsPEYMi/jac6iOcqi5nX4eAmeBP3/+PQWeTKViqov+mtzk8WvRDSb7MZ 3MTk3/43rj/QXCOtCHsioWOVa4FV9OIebwYdG+6ob67tkv42/8VRBsKmrLTxB/4i/mib OGEQ== X-Forwarded-Encrypted: i=1; AJvYcCVNdXDTxzaezCFN87e8EMItyqNpV0ROt0MZyn1hSpl++puN3XfOGQDqaIdqWA1vQbqDsP47RgJ3dCh7u1xCGqA9qjVi8b5QnvzNvCzohtthcErh X-Gm-Message-State: AOJu0YyuWDh6n66pVQZmi5+vjQBUpVplc6j2YQDIwEHnrUziTxtur/Nh h+TRyleBfyyV4ba+t7KdF/QQoyq7QsUkhdhEAfaRbYh68UA/kDr0KtNuR9TQPvg= X-Google-Smtp-Source: AGHT+IEV500RWvFhXGEtFcRDihdWVaS1stReWnk1RyeO62061c9eWBuqX0Lm7cIXGByHUT76RnLSyw== X-Received: by 2002:a05:6602:3428:b0:7eb:4957:ea5b with SMTP id ca18e2360f4ac-7f3a7556c59mr1318193339f.11.1719396591627; Wed, 26 Jun 2024 03:09:51 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4b9d121859csm3079108173.137.2024.06.26.03.09.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 03:09:51 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 26 Jun 2024 12:09:12 +0200 Subject: [PATCH v3 3/7] dt-bindings: soc: intel: lgm-syscon: Move to dedicated schema MIME-Version: 1.0 Message-Id: <20240626-dt-bindings-mfd-syscon-split-v3-3-3409903bb99b@linaro.org> References: <20240626-dt-bindings-mfd-syscon-split-v3-0-3409903bb99b@linaro.org> In-Reply-To: <20240626-dt-bindings-mfd-syscon-split-v3-0-3409903bb99b@linaro.org> To: Orson Zhai , Baolin Wang , Chunyan Zhang , Jacky Huang , Shan-Chun Hung , Khuong Dinh , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chuanhua Lei , Rahul Tanwar , 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, Conor Dooley , Krzysztof Kozlowski , Rahul Tanwar , Amireddy Mallikarjuna reddy , "Zhu, Yi Xin" X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3048; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=cSD/jHQUP9UaTQwVe/lAb1jbbNkgxv6GNkc4nFRX3RM=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBme+jPipFbrcUkKVwnewbgvivyKt142GIXts2UH Sl79iiv+JiJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZnvozwAKCRDBN2bmhouD 15DED/99VuG+osM5hju34/3Db9qPHKxklXrI4si79XiFua1YV/H57NmqIs9EsUZSKJ6GwjwvQwa xYohWS1lG91/2BrUnu7QF/ZLpFJnvK1INlBJBp+FbYwpO1Zw+9CionjNMmS96rG1/Ooq8KEiABF iycKZGpKvOs3BscZjRt/59vhuYQ0Z37w4M0uCq/yhnsEkzrQXsCNht7fA1OE4nza0ZZZ7mVqR6n 3zTJds65wTZO7txj8XollTpytEbobEo1KkfTyuiyhlXnHNvAyBnr/iN9ir8QJcHI9Q/d+IXGe2a LO8JVMPHnUiwPfsx9/vnBd4ypxeV6D0unMhKc4hgJgqairKcilsfcFqLjo9cSpnPobYV01cssXG 25zeAW9o3G8B2geGEBOCyRjKc2kYBF50qaW3fz5soOqs905+l8ItLUbQAy/cWY48krE3qy4XqND PLQfnOPuH5tYSbRjLyty/BfWCNWLI4kX9mRyWQ+poWIPz5K5brIK1uUf5M7bi4c2Z8840RDmdBy p9FV9nCSHVETJQZ6+34Xx1f4paHkux3LxO3Vsm3K62qM32hbHfav2HSnIA6K+sEZorXx0MavKY1 /FullhERpGFOnV8cO8XOfHy75Ff2tEy1mDGkOhI7JAj22vPgWrsTvJ+cBDDxZfiZC9JgrwRux5B 3XDhHQzntUpib6Q== 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-20240626_031006_882419_E68A9532 X-CRM114-Status: GOOD ( 14.65 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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. Reviewed-by: Conor Dooley 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. We need to cleanup intel's emails. Does this bounce? Cc: Rahul Tanwar Cc: Amireddy Mallikarjuna reddy Cc: "Zhu, Yi Xin" --- Documentation/devicetree/bindings/mfd/syscon.yaml | 1 - .../bindings/soc/intel/intel,lgm-syscon.yaml | 57 ++++++++++++++++++++++ 2 files changed, 57 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..6951d55356d5 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/intel/intel,lgm-syscon.yaml @@ -0,0 +1,57 @@ +# 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: + - Chuanhua Lei + - Rahul Tanwar + +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 Wed Jun 26 10:09:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13712524 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 6EE89C27C4F for ; Wed, 26 Jun 2024 10:10:35 +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=RawQ6scUbKbtIvAa/47pVXFp/s eElbR5THrBAifRC7qnr66M5D/HWnSuYurl9xP4K8dFifmd0cjoZCNUypjFQDy+MLw/zpv8xvtu+x2 1tWcJnOsUn4RW9q7w40fm9VN8iDx9eaEAZwrPEwSgq7iJ0NLA5gTxWl1v9QYc1zUNpG+M9Q5iq2Uu rve3ZAuTljg7giJD4HhEqRObDUHKqsiQpZ2toaDbpE492ef5CsSqWslSQr5GPwDlSXdZy5lJ1wn+h C7/Gb1JH8cHhQyiUvpRj94tr8kAMYjGkIufZAaMNCmfb4hJ7OJrE48ytHJn1R0/iC0aB7RuE02DJo +/1LluFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMPbm-00000006FcR-2cVM; Wed, 26 Jun 2024 10:10:34 +0000 Received: from mail-io1-xd2e.google.com ([2607:f8b0:4864:20::d2e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMPbK-00000006FJe-0KFy for linux-mediatek@lists.infradead.org; Wed, 26 Jun 2024 10:10:10 +0000 Received: by mail-io1-xd2e.google.com with SMTP id ca18e2360f4ac-7eb671a835fso378209939f.2 for ; Wed, 26 Jun 2024 03:09:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719396597; x=1720001397; 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=T9FoR1rOmK4TyTII+n7sFlbb7JxsQytkjCViad/vXfYnOlq+Z5Q7bSsj87ywlcwBUX 4xdz+LX5uGF27TlmnQqJyc8Cd3o3NUjqi8YSOmuo1XWZf0MpAl6Fq4t4KdDDVqV6DP9U UjMW3yVkrCQdgOIzAnCjtkkyQsDFIaxZaw4i2B3d3f79d4bsWnDPCqNocbOHxvaVYdSl m0cr2zfHKThOxbT01yiandJvTQkazvBXLU3hWMCM/JA8QLT0Hfp626XCFH0aBCa3x7ne a/9vkbOlCMQutdcpeN4kSRjpgyaA/CsxFJEVB5IhQyhWPKVPvduP5NyXYXxq9nMSMMg5 Bj6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719396597; x=1720001397; 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=UGQ8ouVnf8LnIXpd13cxh88sEs0r6V/5tNcx1cwr+oFmg+dL+DSZ7vxSCe7BSTUJNl 65S08O3q4ugqhJK0YLpOjrGotW9i+YPEqQaPEm1YUviTXwS/b+6R8qPlXTkmYRTzKKAF RTK/2JUVni9pakVZNFRNu20pQmJSm0DOBCaTFmKfAscyCctXSGQTXVbsZ3PozRpI5yFb Oori9poZCx3YKX9lsI+MdE5JdnkCHEk3zqVPS9vGn6qc2s47UNTKZUBXvWLXiLFsLCxU p2nOWcQYoIS+NDUrth1QGTvEQN9uAgN6HLiS03zVBrXHzhRS/5hfEhUrgfeZeVKelVF5 HHqw== X-Forwarded-Encrypted: i=1; AJvYcCVxEsaoG1995deMKwBjZvSBZEgqUa+E/GmSyctHRD4UwALgGD9C8gCooyihn77UhLtDyOYnaVpZeq9NhJnemjOGTAYnEnhIg1oQU6LVu3Ep3bbC X-Gm-Message-State: AOJu0YyDHlaJo5yuZXnJtBnA/PW6TOVEC5TZGRv1CiUxuuCmHYkQ8WtD sC2UYlwjKItVYZyVieD+wfLeDY0+hcDQGklyVQtcKKCwnlBLERnvMZV45qUAH74= X-Google-Smtp-Source: AGHT+IHI1wtegxgP3+6Da94JrIe1ZxojFMEUdsp5T+ZGQfCNxN4Ar0Gf4u6U3yfHQ3/tOnqVb8Y03g== X-Received: by 2002:a05:6602:6b10:b0:7f1:3ad1:234e with SMTP id ca18e2360f4ac-7f3a4e62794mr1343333539f.18.1719396596988; Wed, 26 Jun 2024 03:09:56 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4b9d121859csm3079108173.137.2024.06.26.03.09.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 03:09:56 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 26 Jun 2024 12:09:13 +0200 Subject: [PATCH v3 4/7] dt-bindings: soc: microchip: sparx5-cpu-syscon: Move to dedicated schema MIME-Version: 1.0 Message-Id: <20240626-dt-bindings-mfd-syscon-split-v3-4-3409903bb99b@linaro.org> References: <20240626-dt-bindings-mfd-syscon-split-v3-0-3409903bb99b@linaro.org> In-Reply-To: <20240626-dt-bindings-mfd-syscon-split-v3-0-3409903bb99b@linaro.org> To: Orson Zhai , Baolin Wang , Chunyan Zhang , Jacky Huang , Shan-Chun Hung , Khuong Dinh , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chuanhua Lei , Rahul Tanwar , 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.14.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/ZANAwAKAcE3ZuaGi4PXAcsmYgBme+jQVYvtx7mGIQPlwytJrS9d+PkZFNMW+2/a7 XEXUUXPRFOJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZnvo0AAKCRDBN2bmhouD 18d7D/9XW67fIBG54/dKruUXgjoUk97WDQY9GDGuvYHIdqvuAjQ9Pc12XOHfTt0vlJ5UphWrM2o NkIedVjvzsEkI8ncuFSfD1GvwypTgtYly9duJ6HOP+RC6QORcaPTlxfdFLEl3g23uio164nY65c vFDduNYvKbF/8WbwckF9aKGnvMq5K5jsIM3Sa8mVJT+L6sP5kLFXJX2xUFP3deBXqGEtYSrvru9 NTgJKckLWd+3vpuX+xy3tQ5b4qV/zm49RrmHepjUbPI1eR4+HnB+rWEtXMejx2fNBAAHRYUrEC8 OHbzg31wDfLAjOxdE4yiRqG+u46J+ASS+v6Q9Xt8gqYpC/Nxf1T0vLnoIQevZsDD4dvKNoG1F1n bLuXZqhp39cGJKoCUMcUd0pmePatEZK2w88cS1SMgWc1KTnI4lJrPkTPJaiL3zGGAtCeg4a/6AT ea4r98wjcLSWbZVv3agdaF27ioRsvZm1uAjLFGRRbPCI1BxPzPU/V0LXChNWEmPH4K7t7f1xHgZ 3n9qZ0C5+iicCfd3dIFklyFNjvBhIiwb59JJJqUC/0nRjqZB33lAGyKi0AYu3sFH1HhDOHWrZ/4 UjfSLHejQZVoc6B8o3LxEQkk9vI2IqfvQSQf5KpUSpRUK99JdVZXpIqaPPW5U9ZBmPSDkGQPtzA U5IRE1lCVUdhxbQ== 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-20240626_031006_651340_E632074D X-CRM114-Status: GOOD ( 14.65 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 Wed Jun 26 10:09:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13712525 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 82B9EC30659 for ; Wed, 26 Jun 2024 10:10:41 +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=gN4YNQW649i7CDH2s0zRmu/rU3 Ox1LJshLt5M42NN4u3sVyFnDnTlTTykmF0eMd/RV3eiBHJXIZdRmSTF91pP6up51LL8zZYtZqkCrc Mb45DaJYi53G6CA1Sy0q4pIbNO+nL0vTDrCxWFcu5ycYFNzNDTAfrNvfP+KdRrVNDE2KzDCTHajFF zcUHYuvVakMCltcP7X6a/KStBZUaHoYaS+YiuFg8AukDCWKmL/p+VGC5358bsg0bsYkDz2KY1uYGP JtuZVQTwln5hUepPbRRR7P+HfI7FRY2K0HXwFT9jj5a2xScDMoRZgV9d6RSB8QhJEIDaVeOuELtyG kghHsRrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMPbs-00000006Ffk-3o2x; Wed, 26 Jun 2024 10:10:40 +0000 Received: from mail-il1-x12c.google.com ([2607:f8b0:4864:20::12c]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMPbK-00000006FKB-0lxX for linux-mediatek@lists.infradead.org; Wed, 26 Jun 2024 10:10:12 +0000 Received: by mail-il1-x12c.google.com with SMTP id e9e14a558f8ab-376243a112cso25343425ab.3 for ; Wed, 26 Jun 2024 03:10:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719396603; x=1720001403; 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=K8WMp/VJftulpaDBq0CMiQsErgzG4lrfaALiuc1pES193Y5FZeadmqp7D1TOMhprBl RrNDOyTKYUt5v3xfbQ/mj4B/xKPWGsEljkVeeETHqoaKm6/eTYm5AwOrFWK/9yTibrRW y3aEWSJxP9Qq0wrggq7R7wMmpmr0KYHe8DA5/JgpOiHf3fZ8SlBv0jGFhyAGNlYDv7/U 8cOUJI91y46eA6fSz21UH6DTnCF7XiDfIpX8o/bMdA6Kv44hZQunP38qzoCG7TnJwzig qBk7RIZ8jc/Qna5iqq/PSoFOGp9nkYLvsUT9admdFeHBwGz0nt0DwfD+k8qVADHjpNtW MKDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719396603; x=1720001403; 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=ddFcj0SZOT9hiyJLtw4Fw3NnYetk+Cw++FCZSRpjzMShA8rKElTNK6bqJYWR1Q1vAV goaKnpjioP19Mdmu/mWY1KGF1g9Df4MmiPQB5qUWw1oUT6omVq92SDy8RjtHEJJ+yFVr Y0UVralEVB1B3bTdZrZCrHXp4tmYpCBR7J9NLKipwAufQQT3lIfNfKk5gJW1q7bTLLqs pSbYC5OYlx+dH0gvoPSAqknl4CSYhJGcJMrtvgGfpxogLUGmMMHmrk/wLWO0qPdHqf1a XVwctA5bTuV3Ymvw1X33uck5jPnRSzrfsMM4fm/E48fUkF5hwtFmIvCfL/b837OVnx6G luNw== X-Forwarded-Encrypted: i=1; AJvYcCVrg/KFJllzZCzyYvrqddePZ+9O6uO7cznOR9T1zphupXE8d1fKmKUiNfHynDad3OM9UQP6vAXCSU0rLnIJ6r2xjwXLMvozyBSKCCCDjqbBpX0+ X-Gm-Message-State: AOJu0Yy9lzEqda5uBvP3zo8nGVc7BQNpnBCKHv42GS9UgpYw3KjQCb3K PCzRvqbQ7Y34oaF2M6i2t9yKJ7zqYegCtHN5IpyWlKx6brRULS7j1jkHyhWm6zk= X-Google-Smtp-Source: AGHT+IFUZzMErxpLYVEJfjbPiqJyGKvbDtnALq/jGvRL0oxC3s7sFwdWv/jSN7Scrt6aDPMiIQgoiA== X-Received: by 2002:a05:6602:6427:b0:7eb:eeba:5e92 with SMTP id ca18e2360f4ac-7f3a4e4748emr1288982739f.13.1719396603486; Wed, 26 Jun 2024 03:10:03 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4b9d121859csm3079108173.137.2024.06.26.03.09.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 03:10:03 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 26 Jun 2024 12:09:14 +0200 Subject: [PATCH v3 5/7] dt-bindings: soc: ti: am654-serdes-ctrl: Move to dedicated schema MIME-Version: 1.0 Message-Id: <20240626-dt-bindings-mfd-syscon-split-v3-5-3409903bb99b@linaro.org> References: <20240626-dt-bindings-mfd-syscon-split-v3-0-3409903bb99b@linaro.org> In-Reply-To: <20240626-dt-bindings-mfd-syscon-split-v3-0-3409903bb99b@linaro.org> To: Orson Zhai , Baolin Wang , Chunyan Zhang , Jacky Huang , Shan-Chun Hung , Khuong Dinh , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chuanhua Lei , Rahul Tanwar , 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.14.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/ZANAwAKAcE3ZuaGi4PXAcsmYgBme+jRx0FlUKs9m7U74Cl3aRCoF9QLcGf9TXxW8 zEdB694ZDaJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZnvo0QAKCRDBN2bmhouD 17GeD/9ttG1wj0agCEdCp2J1UVba8gqRUHHk9HtrVHO0PJV3qgTr2zDrRQDq8umUBkbNKhvceRs j/B3B31vXhOrLr5Vxd0OEp9Y9rM+q89afgjdQysN1szBsGzd0465MObh6jRFyrVCuGINTxKpS8F yQE4dS6fgoIIJRfX5GoY/gGCk66GVE8mQiWj1E+ATc0tmGtw2Uz7pSUm+55Yu6cVqS4HLB7VwCX SFepNQvkCIYsxaacKdJNxkcDh8P2k5IcNgbEpCpe2s4eyZmcDYkcY3uP2PRzckYG9Svwwly2/VU sCCD5iiRyxY8M/waZoEHbcWfTYfiUCBcS88241a0t7MlKcYQq/FdVEGDX4H2KvpRDYJSonayugZ /3KR1xEfPG4UC6PizRklUScg5fP9voO/inXN4SiB8KQvqD7JaFpsRpn8SciEzcD3xniNHcqFMR7 Yu02tuZI38F65YkJrrGFL0bZLDcaUmRwfOo4d8LZNYC/qJGkmg9I4QIF+oDFtR4jIcZLl3aAC58 5kSdZ9qxXKHEE0zMQhK30NYVZSfSkBOsv3U53TXhjH9ibHu0uGIMif+QROwn2QukdH8wkXZeyd4 uWEwtdZ2VYO8Bzyx/9r4MNazK1IHpu9DPQ5lTl0ZBAjomrtvvTLe4V93mgQ02RhYKmSKbQBXHvG asVbvlvhTTM/b1w== 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-20240626_031007_005918_C2A4EBBD X-CRM114-Status: GOOD ( 14.49 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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 Wed Jun 26 10:09:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13712527 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 8C14BC30653 for ; Wed, 26 Jun 2024 10:10:50 +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=r8fRfkbK+gMpfQR+Bu9h7ebMrI6SjQ3OhlJvckbAVgQ=; b=B3rlcwrGSZKQ+bH8LGcqflhkCO 3H5mH+prw5FOO6NPy/L7RNZN9dG7p/506AEKShHLTcgQ+aO3AjkpwlPlpJhL7grd/YTAlXa6Aojjs +ssNyDLFF9JjMUFJw7IIwdMtTJjqtyu4da3hqDY2Wm4P4NCn2AoDLzkHmkCGLpQzqMjOD3UIVv2HB YwTCFoa5nG6RezkT2iJYwuuF4EBIVVndPQ0RE46rTvJhgXbuaxkWs52YSgxb2tBxw2J4AX5o500x/ NEEHgaY5mh+zSPtSfRXDEpE6ekmDPWsPXDRCpwcsUsMD5L+VnhnUKFVmrQ3aViOpqDYPUBHDJ1Itz rwyVP39w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMPc1-00000006Fmg-1sBv; Wed, 26 Jun 2024 10:10:49 +0000 Received: from mail-io1-xd2d.google.com ([2607:f8b0:4864:20::d2d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMPbP-00000006FQA-4B5E for linux-mediatek@lists.infradead.org; Wed, 26 Jun 2024 10:10:21 +0000 Received: by mail-io1-xd2d.google.com with SMTP id ca18e2360f4ac-7eee734a668so290817239f.3 for ; Wed, 26 Jun 2024 03:10:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719396611; x=1720001411; 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=r8fRfkbK+gMpfQR+Bu9h7ebMrI6SjQ3OhlJvckbAVgQ=; b=UJOB1V6vqDDRpMzPIF6WPgQyc6Mf6XH6B4zYtxDJ1L1gUTQrGGYOcxBYX2YrfJzqJH E4Yki7VCRJrmnygv7FNFjHkW63bpixzvk3wyofKQAiDajgjbxlOAFZ3UHQIZKjhfMeUu b2rbCsm12dPxjE5hY2UXf14IoWJoQLXOBaOvCd5ybNxeajgNsDsfXLL9bUBaOEMR5APt 0i7OdvL1psybNWOO+s3hN9oP9pQnVBK+DSw8qk99BW+/yLM8UFo/GLz6+PGt6BPQLqcA pgoWYc8s+cQM23Gqw/KWr12mux/VkMWYW0AQSyNiqgKDx1yLgH6S5XSbcbeMv2vAI3/v xBvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719396611; x=1720001411; 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=r8fRfkbK+gMpfQR+Bu9h7ebMrI6SjQ3OhlJvckbAVgQ=; b=qryCJA0TmetV0PZjptPbPUY6tWkkUexy78O+9awhO1FI7RG6NegZdS0bgVRl96edRF AE1Xl5BV6BVmhq2hzPT1dZ//Nt7rlM0MT3opzQy8kwnNfenYhJRBwQwd1Nx89Kl5FRPt yyOQ+DikHUCqVjQxRVMGKVnpG7+/WtpyszvUWfHQDdwFn72WW3Hph//g8Wz9jN/D1W+o xMAngoe0dh1/yJ9I21femW7eus/Ck9umhEG5J1yubLrndsL1I81pGu6RNnoO/PKTk0Uo Vd27OyFGLXW45CPklHOfMV3iJqd5VKkhuYEbpQizMHbJxbKiN+oiouqXQqvZLmqfiXXg 4PWQ== X-Forwarded-Encrypted: i=1; AJvYcCWDg/XWzsiuctcUtauNtKkQ38rK7vM615dlDNYDx29SaB5au7o3R+p6c9MDz6gRAI2zC+tL8EyQkgDieE4maCVhnHesPmRWY9v7T11yL85SV+HZ X-Gm-Message-State: AOJu0Yyre+GjMx9C+p5D9MyDL+urTvnXZFt8N6nSa51p4zbrpPOEBPIX h7q/q28vIhrkRyMuIwRjve1uyP6BknV7x09w7UfZTwilbl6uRgJVaWRPFRnxaU0= X-Google-Smtp-Source: AGHT+IHuvXo+RYs2Xkk+e4fqJBTU+2MN2962INVHaqRSAJWFi1uPZ2ur9QMwockXSIg8RhIqwjV9pQ== X-Received: by 2002:a05:6602:6c15:b0:7eb:7e53:6e0d with SMTP id ca18e2360f4ac-7f3a1539ddamr1327118139f.13.1719396610999; Wed, 26 Jun 2024 03:10:10 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4b9d121859csm3079108173.137.2024.06.26.03.10.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 03:10:10 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 26 Jun 2024 12:09:15 +0200 Subject: [PATCH v3 6/7] dt-bindings: mfd: syscon: Split and enforce documenting MFD children MIME-Version: 1.0 Message-Id: <20240626-dt-bindings-mfd-syscon-split-v3-6-3409903bb99b@linaro.org> References: <20240626-dt-bindings-mfd-syscon-split-v3-0-3409903bb99b@linaro.org> In-Reply-To: <20240626-dt-bindings-mfd-syscon-split-v3-0-3409903bb99b@linaro.org> To: Orson Zhai , Baolin Wang , Chunyan Zhang , Jacky Huang , Shan-Chun Hung , Khuong Dinh , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chuanhua Lei , Rahul Tanwar , 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, Conor Dooley , Krzysztof Kozlowski , Maxime Ripard X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=14955; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=rUuPQu2Jc4gyPXlsdebUXq4yKnnfYD1uvMadLkZtLXI=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBme+jSKePh2BhiqcF5OxhqkoaVNNH0GJp7OBDtH C3eUOx+QumJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZnvo0gAKCRDBN2bmhouD 16HBD/90aByLqkgJpkR2snpTGozsVta+46U717JamQdf98sbNHcrN5WcccNh4jEIzF4+mbcCXr6 XJtXrBh6+Nix4UBfj4CLaJog/VNZTYQVUby//xwIdf0nmR0ewGN3JLiHMPzOPF/L7jHOZC4UmTq aREMnCXlhA6l1tYzHCrad9ayRV0mq4P2spF+i7OQ46kB9tFaZcRZ70zZfZik89gWOWpJqE5KJSb fKwfI62v19liO7lrEl9kdPr5xTEYlJuNJ1USN5Lhs/E0GmIcPkUVezo/2pm9QgJ2j8jwLHtrYb+ qfpwr1iff73D2zWPU9Y58flN8YUqA808IfdWLdZJYt9tYzr9vAEKEgKGrFng7JMllQ+ZLD44Flr ++QZrRhiN5bGDdkomBRa7gO6ZfZcbkHwU+yEt8edVOQ4gcWfrTGfISaEUVQTQY1e3D3/iI7v3FU dpZ4Eov1X/xKhyXH7KaqWxiYlNryU5MTc0BzO/FRJNa+wdioCIyK0eJR1uynl/WuG/Jz/CvFOPK ESU39MTpVmauh6JIQz0elAeTW19EkM+reGZGETY4y0heRrhVpTdrodAy9BHWSbQI4NpQX5JN9Rk c36KIBOW9foN4dpxvm2CTQSe3Nar/BNF9dwTQHUere7bSeA6d9iHZ8qdna9420I511HU1y16vRi Bw9rM6p9tpI9YIg== 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-20240626_031019_183580_4465212F X-CRM114-Status: GOOD ( 16.42 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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!). Reviewed-by: Conor Dooley Reviewed-by: Rob Herring (Arm) Signed-off-by: Krzysztof Kozlowski --- Cc: Maxime Ripard 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 | 71 +++++ Documentation/devicetree/bindings/mfd/syscon.yaml | 294 +++++++++++++-------- 2 files changed, 250 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..451cbad467a3 --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/syscon-common.yaml @@ -0,0 +1,71 @@ +# 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: + const: 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 Wed Jun 26 10:09:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13712528 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 7F7D7C30653 for ; Wed, 26 Jun 2024 10:11: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=59XlO8N85CHKMZTE14dutfLqTOocIO6QaYNJIqLDR0E=; b=ZbGEbeQSn6NtoFc5nnhHk/NiDK cMwrcKvGBSPCj4NlS7EzEW/ZgPeaVSNRXp/anAC5+xQEHFWDrJRLZjcmB1SHzBKOxoCUCUOf0k3Hu ij7KON/InjKYJ65nHLc8ES52a9v+huFAae6HwLgNrMpddFW1AU1dMuUuNkaO6HtDvwxk+o2azfI3y 9rZB1Dzjn+5AMbUINaYUXGFhiqSvizMXYZ5hYDdKytcHJvhDNF/PphqPikKP2jvEazBBfiUe3A/6k IigSjvtE3caCJ9hG4DC3L9cd/hU+ek7FQ0Tv8Y7Pa/yf/AdSx1ZtD0xzED6hhhln/r7r0/+9tjnyw D0CsBcdQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMPcH-00000006FyP-1sgb; Wed, 26 Jun 2024 10:11:05 +0000 Received: from mail-io1-xd34.google.com ([2607:f8b0:4864:20::d34]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMPbX-00000006FQl-0uGZ for linux-mediatek@lists.infradead.org; Wed, 26 Jun 2024 10:10:23 +0000 Received: by mail-io1-xd34.google.com with SMTP id ca18e2360f4ac-7f3ca6869e8so40158139f.3 for ; Wed, 26 Jun 2024 03:10:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719396618; x=1720001418; 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=vI9sZxDlHH69V104EfGd9gFmYiL9GK0ljC7pkH65BLXOrr1naW+J9a9yxKMu/pWq0i Ezc6+a2Dwp45ZWwAjEEk5L4QqZM2vEo5UdhxFMsvOd8B1q1YjFQ4LPD2/doVS+5rrYOu 9DwH015HVrxSENFAj33/i+/wx0MvYtDmEIm6CjZCOxPSthY05H3VI8gXma3opIuHi7kp WQLt7Z2AFxU1JvPNCzL0jB0ueJ7QXgHxixDlxhHAB31yk3v1J2mfAHJnJzd1OLGqTGmJ OPNYs5YKgkekRIPtoxyY43ESgNzoy2DRaZFGClDwMWeE834ynGrnHyK+/ZjvePf/Inu3 CEgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719396618; x=1720001418; 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=D6HVjbn9kkxaSsNsij4hYKxbzpP+T7UREKnnRus1MFupK3A7qDPIvM3dhBNKF5zXib bLpJG4LRExQaIU564uwGYG0GCvoyLsX1rLprruR7WMpoavw2rG7v0dmAs+EJsrIYDf78 z/KFXWl6WBNpwd/0a7l82NtYO7vXr3g6KcLBz0OZY3Yt2mJCeAf4ZFcc0vEez5G2FtZe NoRbcYAW5bTjqWwZdFqOuw7cDlpklHGQWas8asryr/bDpc1DbStdFQ6SWNKoapTdSvcW TJJLjZzKEtOS1LEwPYjMwjt+PCO3NqSAfMDcpYPXcSz/nm4yeXClRAPHOTHmt0gJFUNj LqFw== X-Forwarded-Encrypted: i=1; AJvYcCVH8sq0JE8edlJ8fY4F1lxJrL776xuypAIwOCd9j+WQRI+lC7I6hEjg7OjLSQt+0QrSARBfdvsA0+cCWhs/4LBDzwnsY219WxEt0XHWmvJvCMxl X-Gm-Message-State: AOJu0YxRTztWKmsy3rHyh4anszgS26ek8oWz3deBBNpyTMY86uqPaodx 6yL0HqFNsEKCchKFmTkIYRFf0P9ZHghraTmdBXQ7lkISBMcWmEKlo6IrqArk35ANFLhdim/us0K A X-Google-Smtp-Source: AGHT+IH5jBZh+2gfhC53GuIZJ8jCOVDi3reMK55I7AmQ0e+4wBYPfNvgxYCPjk0H5YJl3LjlcD09vQ== X-Received: by 2002:a05:6602:1549:b0:7eb:776f:d970 with SMTP id ca18e2360f4ac-7f3a75d95e8mr1114379739f.14.1719396617514; Wed, 26 Jun 2024 03:10:17 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4b9d121859csm3079108173.137.2024.06.26.03.10.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jun 2024 03:10:17 -0700 (PDT) From: Krzysztof Kozlowski Date: Wed, 26 Jun 2024 12:09:16 +0200 Subject: [PATCH v3 7/7] dt-bindings: mfd: syscon: Add APM poweroff mailbox MIME-Version: 1.0 Message-Id: <20240626-dt-bindings-mfd-syscon-split-v3-7-3409903bb99b@linaro.org> References: <20240626-dt-bindings-mfd-syscon-split-v3-0-3409903bb99b@linaro.org> In-Reply-To: <20240626-dt-bindings-mfd-syscon-split-v3-0-3409903bb99b@linaro.org> To: Orson Zhai , Baolin Wang , Chunyan Zhang , Jacky Huang , Shan-Chun Hung , Khuong Dinh , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chuanhua Lei , Rahul Tanwar , 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.14.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/ZANAwAKAcE3ZuaGi4PXAcsmYgBme+jTtrYuM01hjhHqNdEtBumYFIQAj1hCW6QmI qkgn/4bVjuJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZnvo0wAKCRDBN2bmhouD 13oED/4w11Sz6XcfEYcb7aCh448tvr/mT1uzJWylaAQ7h0adW5pLvYy6V8VNcH50TcOFSNz8pKb mP+/8qYde/sPaCx26zuPBwf9DyMvVP20grTsTmieBrx8cBd7TaJxf8ZNnl8XOzIcdrqmhaPU+Pv MKiUdtVS6Vnj1c8jAj33lufxbePDWl8Ec2kE6cgwtSAj5f9p6cEgfVqA9LnXMpT3VLwt8hluNJ3 ji1uiFDP2y0D4g6B6arahRnZw+GbNbx8LnjhOs8MIx5OEHYjifdnUCmLL+vs8BQc8NmXNvFUR9a O+HUnsCoVL7GMidD69z8RjZ6whWaLHuAp39caMXOLCrE5lopNm5bW+QPpQA2RjVEPPV4waQvzvu pnnLbom9fpB8aHVH7zTTqw6AEKFK/uphsxA+9X9MkHAQrsIKPBlali7VxEMAxImoWa7ysFU3Js0 AsqI8MYxIjz1O5N8PugktWFU6vpSaRy8BvLkt9xlcux2+ln3EQHLzhBysHYX2vejfxON9tZVp/f SRV3pAPTp0rNPsfS0McAkplHYhkuDsiQJpL61gURK6MI7mMJCWFVMz7Kcrvk6/DhOH75asCYxdv WV8AqbpzacSECz3Vvdf2gb3rIEabhrJZVkJnCko5Qbl0IGYl0XiqRk/i2h1ubOh86X4ofL9PB9C Jy0rzXiiGk3H+HQ== 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-20240626_031019_557592_0B2892F4 X-CRM114-Status: UNSURE ( 7.92 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=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