Received: by 2002:a89:b8d:0:b0:1ff:3fb7:5d92 with SMTP id br13csp11642lqb; Sun, 16 Jun 2024 06:20:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUfkk9UW68iQrAgxqWpl8hD0B2Y9fr0X6/oQseaLWlWJPV1E911p/YH+eTimV5Jlyl+RaBnUp97b4KligZZ5lqIBuiMFFX5STcXxucQvQ== X-Google-Smtp-Source: AGHT+IEv2xvKVCi1pKq9bD69n1P3RNEJA4McAwr8ReeoGvU1jBzBKNKj8H6HwCE5mlTfUEqZR2aj X-Received: by 2002:a62:b40e:0:b0:704:2f65:4996 with SMTP id d2e1a72fcca58-705d715523cmr7356967b3a.11.1718544033285; Sun, 16 Jun 2024 06:20:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718544033; cv=pass; d=google.com; s=arc-20160816; b=LPSXObdBIWrNUwnpEh840hZ9xdc4Bcx2ttecJvTBALqbH41GbzECblMSjgsrRiclQR npg+XFDR3I4z53pIRYvCqVCSQLCXrqQ6PmaIadFkfCyaFiS9XbOyfMza3p7u5ON01QHB hrMv2vfeDJhiS3zIKb4jDj3l6aZ9wWUcGnGWo1Nq1pVojVUNb9moqJb3vaWFZ10tZLOc EfJ75ZNWbWw50or7YEYkW1MURtuOaDMCNkrxUeC940kI+LTHaXAYO+Nj9tLOiCmkNRmd zC7Q7Qid7Tet3fsemRqR55uNZWM6nllD4XQzX1wNaz9FagHlb9/0OCNdS5v2C71hvFp4 RjfA== 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=mInVLHOlqqVVQJezxSVPVAQ/ObgVPbGWs0w1ykk8K+4=; fh=mbgbn2ZmQuPd5V0dlqYPc8kV01hmAWKi3aFgnrcrzjQ=; b=acuwOKyqv2L4QY2FGXubB3RRh+TRA38qC142jZAlODUEbDBRkZaNtawIipNejwSubv HZnpSE6vR58hyY0GJjL3g+0Nwnw8/c+xVPzd8+h6q1LtHNso/K4h29EVQH2T+H9zq1cF VE+DMKmxkYmo5X+7YyxO2qQdrRpZx9gMfo7jwIW2jIad+SACdthv+PjNqdm2iFNonwZF suK/eWpljdJIuFP1bltemzXsUc647c69FvRm9wqp+o0bJSuwjMeOeYO+4f8x0GBPtnYi DI6LCUJgq+NmMGc+ICbzrylfC+2j6/PZjT4LsubbdFGdp2/ZzG08w+aykmZ8jjDI16yM dALA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="sVGcm/js"; 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-216299-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-216299-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6fedd5e8cf7si7602381a12.105.2024.06.16.06.20.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Jun 2024 06:20:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-216299-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="sVGcm/js"; 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-216299-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-216299-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 854FCB21165 for ; Sun, 16 Jun 2024 13:20:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D8AA118F2E4; Sun, 16 Jun 2024 13:19:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="sVGcm/js" Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (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 11F7A18C32D for ; Sun, 16 Jun 2024 13:19:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718543982; cv=none; b=PmJw5TtuyhIb5Btc9wOHeuEfFv9RpW4Fw9W7KGGrPJ2Z0/ND514575RiKbQVV8Dy3UUd+0boK6J4hmS6LEUpwlOS74iPfipoecuG+ZqFv8AuQAD5Dp/kq8k65Lm6QEIgYPGuGwulwe49/tQziORfI85rPYWYSB752QPnZA5PUl0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718543982; c=relaxed/simple; bh=U6AmwKP+N/F9FNv1bT3SMtoH8ZjiVmeYNelKJnyt4oU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=cHQ6W/ygklBA+qMNnDq5ebclzMDaGJSNZDo/x0LAIAheBj0XOw9F8Hkud7lQO3Fr7iV0Th8VF0DkQ3ou3xvB1G57cwrmaxWOJgT62xtpl3cSEzQdStDvURafJ6tkHD0Wrcbhux+4x1RIrv5sP8SPZrLFaMYDvZH8NN8mJQS8FHY= 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=sVGcm/js; arc=none smtp.client-ip=209.85.208.51 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-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-57cc30eaf0aso1211396a12.2 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=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=mInVLHOlqqVVQJezxSVPVAQ/ObgVPbGWs0w1ykk8K+4=; b=sVGcm/jstel936faEAOperrHnZ2LbIAPNZPtDqC4n7roSr7BPsgSJ1xMKeNxLB9Aj3 HICy1SWj9YsurgCR7hzjA4IOvTNhZzcmQExbCMiFIlVYtfds520sN+aC+YVCVgKfF3Ly 5hMNirOmC5jxAYF2xzj9l6aqs8WIOKL25P40/KNtXeg/pjhR5rKTJskTs1XyoMIpvBqt q2IYKZsDbCrUnvtCHhojeQUJQ21ZNadzOZy2boNvhCR6/6kDzRrpqOj6I2kHSvcW6omE Nhg5SjsPAMyUZMg+/izpeDPXlVzWHx7FrZM0TEaO7gFDCdTcU33QZy/8hmhqhPd3Q9+Y jNCw== 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=rP7fWuyqq42tMsfnPFIRWPexFxiwGkBryMIoJb7222xOhdTflYpl4luqSTJRccmlj4 VSVXbsi5iEe7newgY2AyYw8heP0Tb9vr8GtpoYKphlmD7CsWLoQWcPKSzE1g7awAuxrK 2EolRnOuTt3cgh3F+s8Gw0HmHolI/RHyhbopwptheZz4fLiPcnqvxRflrO75bldghmA3 QV+RvPKHHiptuujk2wHYI2DJil5gVac7BipggrTfZmRjycxP4pLmNS1N74K0FWZiCG0J ZJ1lOWpCblBu6dG7YOMpBhpLOETA4pZStdm5brszmNO0hR4Sxnzrk8ceg/8o1XzWmcI4 LVmw== X-Forwarded-Encrypted: i=1; AJvYcCWmUZI4N1kyHBeGe57fhlrP6cMPs4eLdRsBxBpD1lccR+3RQV29jBMpfZY77iYNYY9B4fPkNFWgyrvF0omNlbS57dS5alEhG7qBNOGo X-Gm-Message-State: AOJu0Yzjsig7AHl+xNiSynea8lMmqiesOBqSMo7eZLa53bJ8SNDxGwpM u3Nb5+/vcJv62omBxvRw/X4aRu+aZZJNdHWzGzOT/NhTxsL/H/4jkOPi+XQkUlg= 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 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: <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 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 --- 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>; + }; + }; -- 2.43.0