Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1660107lqo; Sat, 18 May 2024 13:07:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXYJ+8noJ+GzhSwB1uJ52w6dZQV9YhhMRLBwWQUxZUilIOoK+pe8sCZ49Fb2Dnlh55TQBDGT4BgToNGwXsuV3ul+26qDj3ZUkWoq5zQ7A== X-Google-Smtp-Source: AGHT+IEwFHNulLI6nQhyqAlVsnDKRfXowzviYSCle+Y53QYt16Z+BtCOWZWRr0k7p++l/htFlcnr X-Received: by 2002:a05:6a20:7285:b0:1af:9ec6:afbd with SMTP id adf61e73a8af0-1afde0b5b41mr28009926637.11.1716062871054; Sat, 18 May 2024 13:07:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716062871; cv=pass; d=google.com; s=arc-20160816; b=ac31ivCHi9AGP36Nu15Ppj38mETYK96p7V81gZ91TrVL9W3hQ+MrEhxwk7/HS9/MKG qtFJrJHNSM77j18/CBOF83gz0G8dOBTsCw3YdqcaENSznuHiGht8YHcq4K0Yb+vlWXNE gACGoLWc/3OFeiCQpVUwOwBNFYq2bg79bJb3yb9UE0Ocd0w/uYUZwphKCZdZ4BEOazaE V1mtIuRkL3FvHgBk0sCB9gU00i/3ipQPFJ8dbTZ4Mh84AE52YL14rK1Dll1ZBjp2Vn9F glgkK7wSgwanJ34DVrkX0mN/OPBnRLAzGINud0zdcvZpKQjVVlVryKuJqMXDFaJOgXkj HpeA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=8r0qi9fgvEcatCTq39mBPtkcdMrmYE9qm2uVd5HyY2I=; fh=aTIZyJLo7KFJYAJbcuDj9jmvwfnRfUgdU8v8O1MYqA8=; b=Ouo+RYYOz7aVcx2GqdzKUKuGE3dTNTLNkfdd1/iBo+DPZnre0iyOFlu1wB2osyRIDl FCsFZbMN1paZFSsHptEFx6n3Kb1hHtssDfmNJenexg7C738OuBqy5Aea2P8BYOV6siXO nOt0zpRzo9P3KBYwyQijpaHfHfOsQgkjjHNhIe2RMq2zZe8vy34Gzxpk0xFzxWPkjh4/ RJktmRE/hYSqO5hnq4Ruwf5T0o11/bqMp2MeCn8fCED6gvx4ZcuGmr80kftH1eYZl340 2g34E919cqZyLD8aFKlpzoYFQ/NXH8PF7UMDAl588qn6suDiRTl9vVxETqdSsNnJAYHS 8MMA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xiKCOyZ4; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-182949-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182949-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f2f7e2de7csi3435745ad.256.2024.05.18.13.07.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 May 2024 13:07:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182949-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xiKCOyZ4; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-182949-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182949-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 62711281C62 for ; Sat, 18 May 2024 20:07:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8083B6A039; Sat, 18 May 2024 20:07:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="xiKCOyZ4" Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 44F8C54BEB for ; Sat, 18 May 2024 20:07:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716062852; cv=none; b=MSWfaLd9npDTPUkG/8N5wiDmu0I6xVYGN2+djz2K95zDvSp3lRBnp/8K+HU/1S7i5Kr08V0+d9pMR3K68Mel50PNwA+5rI88IbvOjAEoWxZ0E4fcjU6R6vjissJRxGphcBlXFlEOHuLabj50hsOjiJR5UAQHV+2QELkWNuZEZCw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716062852; c=relaxed/simple; bh=15jEglbukv2ugS4zICaV+xZ4WeKIM9pGcVmSwBDonSE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dC/JER9Vj5cccwsHaPi9VWEiLGIsgHVDTCqgGX1zvSBDA3JP57h47i1JRUTD1AVN32shUWeI1+DhB/nDbaJSzVoyahzmH2MqdqPglqVnNIR1Ub6ioSyUbi9u7MGQQsgHAONsGzczcIBVKo0tdCojSOShJ/cn657g+5/fT6lSXjk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=xiKCOyZ4; arc=none smtp.client-ip=209.85.218.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a59c0a6415fso617704266b.1 for ; Sat, 18 May 2024 13:07:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716062848; x=1716667648; darn=vger.kernel.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=8r0qi9fgvEcatCTq39mBPtkcdMrmYE9qm2uVd5HyY2I=; b=xiKCOyZ4k/6CLPGbBYvA4MFwU12NDw5B7EjMpTxn8ZxFr1TbPoU7ryeTlpl0rNnHVF 3/3XrSsvZg95BGqd1zwN4acqL8oF14mU6Ceu9P0A93I9LJJyUxWjY7cTeqv15EgUMVpV WaBkRIhcPV3OpW3tBHwxzph/Up9m2/xfRwBzc0r1WV4AsD1QtuWkM+niH9i9/miU6+Hg 2bjErQpZ0YAXfOr+0ZdWP9Mx4x17GBRCnTx8uxWJq62SGH0WO/OPr4/dkMpU4PtWpdup 2d/o9oFIDzrgK/mXnsZnBlh+0hSMsHzvpqZ4o4eudtf2Xiqns3Ls9TeZhfHMEXMhoTjg 2daQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716062848; x=1716667648; 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=8r0qi9fgvEcatCTq39mBPtkcdMrmYE9qm2uVd5HyY2I=; b=HfzKh+0+OlLeGXFO7S7IUDVT29uf9otXvzKfitTs1Y/cpRl0PVOuDuYyz94Y4dmiH8 x1Al+sKk20qT9y2BQPgTvo6T4JjxGru5hJighfXMllcJz9u+FpG7jFIVw/8pAW7XzxDl A+egiORAmmT3S387h2uvMQby6WrUEZt/sIHfbqmih6608wVvBRfzq7c5XSHoJsS+OiWX wDX4WWU+pjvmWcnpRkd/Dy4I32/Y+bPTk9D2lfUpKdCYMxQY4/uwAyu3+N3Blnzpzoij MeKDhQ8iE9exxbCvAJqKp3OA3kYej91K3CZDB/VLJy4YDlM3qsX/Wzuh5mTCzIUN7cb4 zj3Q== X-Forwarded-Encrypted: i=1; AJvYcCUsWSz6HgfEoyRdVON2bvactKOam99jxSwh34tTKOVG1TNOMIcYc1WPElBuv0+4f5ee09/LAL58/Ni6rqx8arejN2GSQ3VdN1XTeRaP X-Gm-Message-State: AOJu0YzFEYr3+LnP8VfDCD5NIfJKRWB/qpqRuWdew1iwIJYLplqdkE84 xHtm1g+cCXgx6brDQsptJmyvLhEo3/kzkcN/kQInt+syLQHwV66bexpCbu+8Eoc= X-Received: by 2002:a17:906:f296:b0:a59:c833:d272 with SMTP id a640c23a62f3a-a5a2d5356eamr1746724966b.13.1716062848416; Sat, 18 May 2024 13:07:28 -0700 (PDT) Received: from [127.0.1.1] ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a17b177desm1248364566b.207.2024.05.18.13.07.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 May 2024 13:07:27 -0700 (PDT) From: Krzysztof Kozlowski Date: Sat, 18 May 2024 22:07:16 +0200 Subject: [PATCH 1/5] dt-bindings: soc: ti: am62-system-controller: add AM62 syscon Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240518-dt-bindings-ti-soc-mfd-v1-1-b3952f104c9a@linaro.org> References: <20240518-dt-bindings-ti-soc-mfd-v1-0-b3952f104c9a@linaro.org> In-Reply-To: <20240518-dt-bindings-ti-soc-mfd-v1-0-b3952f104c9a@linaro.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kishon Vijay Abraham I , Roger Quadros , Nishanth Menon , Vignesh Raghavendra , Tero Kristo Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2432; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=15jEglbukv2ugS4zICaV+xZ4WeKIM9pGcVmSwBDonSE=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmSQp5hw6p1m7pWomaToge5nIi+Ug1KhR9WOA2h UZfcB8EesSJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZkkKeQAKCRDBN2bmhouD 183OD/0SrGw4HcmmjCKMp5SxWOAs4UO9Zbob0YY5sB/vdCccrQGo1JM9+dk3xfOSg2Nig4wGxPJ sYs7qxUt1FLNfHjp+d6W6dHvDLY4arH3NtRMG6eNZ2pSOUIVu72CV17ulvxMStmyujiYMURB7JY F4vqZOVZYZLP0sjd5s8ln8fjqPvLJeUyP7/+QpOfSYGc17KwSz7mgeqxi8gRCDS3Ffsb91edCLK UjTfgPzOYNyHt71iCB4aNoqv8jCq3ucZ0fdndynFuSQ8fy+cGh6Umidu2+f6nxKc8A2UgNUPQOt Fu1UXSYfZCdHwlKCR8EMbiPYNor+vus0DHXUu/Tm8DW6NTlL6//XVeRuQYtuzzRhvTiEcPH7GMa FS1qHlcqYYVQ4P3KQgCY14EKZJNoGpeOwFpKgk0xxF92DC17qoNE5WTzKmdFFbqUF9BSZ1l5Cuf z8cfKZPpILqsN3Aojl1rE2I22kh/Tpx50OAIR2PkGWItOiN9jGgg3oVd8WbJHoBAm5eINK28tif FelHsnjoc/4s78p0YmU+cqNEH5UXoZuceESe3owCejzKUjLhDOcN6SZZQboRz51KqJa7CEg6RLb ucp7sMl0oXfBdjfrlVS3NhBffRy+o4tu/2PUFPvCn3OsqcDt+7bXj0AfMflF6sKXLRQUsVHSElN 2AX6WUoWdUXWukQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Add dedicated binding for AM62 and AM62A wakeup system controller registers, already used in the DTS to properly describe their children. Signed-off-by: Krzysztof Kozlowski --- .../bindings/soc/ti/ti,am62-system-controller.yaml | 77 ++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/ti/ti,am62-system-controller.yaml b/Documentation/devicetree/bindings/soc/ti/ti,am62-system-controller.yaml new file mode 100644 index 000000000000..d3bd67717999 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/ti/ti,am62-system-controller.yaml @@ -0,0 +1,77 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/ti/ti,am62-system-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI AM62 System Controller Registers R/W + +maintainers: + - Kishon Vijay Abraham I + - Roger Quadros + +properties: + compatible: + items: + - enum: + - ti,am62-system-controller + - ti,am62a-system-controller + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + + ranges: true + +patternProperties: + "^chipid@[0-9a-f]+$": + type: object + $ref: /schemas/hwinfo/ti,k3-socinfo.yaml# + + "^syscon@[0-9a-f]+$": + type: object + $ref: /schemas/mfd/syscon.yaml# + unevaluatedProperties: false + properties: + compatible: + items: + - const: ti,am62-usb-phy-ctrl + - const: syscon + +required: + - compatible + - reg + - "#address-cells" + - "#size-cells" + - ranges + +additionalProperties: false + +examples: + - | + syscon@43000000 { + compatible = "ti,am62-system-controller", "syscon", "simple-mfd"; + reg = <0x43000000 0x20000>; + bootph-all; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x43000000 0x20000>; + + chipid@14 { + compatible = "ti,am654-chipid"; + reg = <0x14 0x4>; + bootph-all; + }; + + syscon@4008 { + compatible = "ti,am62-usb-phy-ctrl", "syscon"; + reg = <0x4008 0x4>; + }; + }; -- 2.43.0