Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp233128lqb; Tue, 28 May 2024 14:03:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUjy+QH/MqatKTC8DEp3IyzIte6os+0JkVrgxK9zYgLRNyToAcEi1T0eUAiFlPLwlXRV4aS6YT158Woa6078YdIAIfGJSEJpLmEQILH5w== X-Google-Smtp-Source: AGHT+IE+6LtBmmbIxZE+t7YkjgwwfxbVYWCVo0sf6yzSpSfCCBh9XojgKVaOlfA+qxacM7iPqtvr X-Received: by 2002:a17:90b:368e:b0:2c0:1fe6:b10f with SMTP id 98e67ed59e1d1-2c01fe6b875mr1964939a91.7.1716930187211; Tue, 28 May 2024 14:03:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716930187; cv=pass; d=google.com; s=arc-20160816; b=GkuCZg5crHGQFA5LW5769D8tAApel01HyaB1jMVFu3sQThZaOV6k9MlWGeNixAAJby rLqWgvPtk6PKGtz1v6RFITxJ498b0iWvpEXE5tDldS6cwTrzLLQLYofck/UDiKOYUW0M WoA0elO/tAy1IGUtnzQIPhackM2YMbz86kcj/PiNAqlc873BL6VkWuR6xxYZywYeWYtR ab+AVNjsidxnKp1rlxHW7KkUih2VYRlMsscoaiATQ7EjrleoOlRhxBWOkOc0C/bUyW4s P6FuEIPTkpWY38L0wdL91DbLPsVypbGIHIy7fOG1meFGgTqr6N8T+GGSLBuEsp4K8wRA p3TQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=s+CsOJCVlsOTrjqdtpqHMF6zfHlzSSq4GbM8W7t/KeU=; fh=ejoX9w6CL6Hlz1vLWePr5VcsPMeIYSBg4b/nH7XXuzE=; b=0mep+S+0r8BrOwTeVRLwvOW1nv5+cOY/8TxUZPr+AKNWaK4KFwQg7ElypDffJuDEWX vEaCBqtZOLR7pcDzKBykQyj1qBsA1DPVaztNMnIwkPd+d1XHtP1soccQNFiY9CLbZXDl gkN6/FQbxHEpk+Ol7LZzcaEJBqeI4iAmGxeu9dK5dIccE1bWtlGO6hNck3qmeG9dtDtb k9CnZKI8DKcELnm7BlKkGZyYAOgjS4QiQM8PBJ5JYldzbhzqxKJGyWn+a41Q9grWprsO /6SGAIdm3VPzpotvxzSQzfQVGJqApQDfLBTp1rXXBIXPlSkWKrVjVygjG2k2lex+vc5q V3Qw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EbhlOrNy; 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-193049-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193049-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 98e67ed59e1d1-2bfdca8ce16si3764766a91.174.2024.05.28.14.03.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 14:03:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193049-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=EbhlOrNy; 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-193049-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193049-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 086A928EA61 for ; Tue, 28 May 2024 20:43:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AC2B217921D; Tue, 28 May 2024 20:43:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="EbhlOrNy" Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (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 1C2F4179650 for ; Tue, 28 May 2024 20:43:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716929018; cv=none; b=GbzHXyjdnBInMMt4/EsWZno0q0JxTIUtQtZNoagY5OuQPvH9XHa07YHUr6en6gBUgJPsg7I2jGm3SYfrpPMrI1zGyf7Us04lyFHwhhr1l2gyqVG2L3lXrMhKq6WnhtpflM5/dO2kwDBQec4snTsSgOhskma6YZsQPTb51d5IC6A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716929018; c=relaxed/simple; bh=KdOLoaqqPKKq6B+kbVp/zzlHPVbPXlpj0ygf6uQcA/g=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=Ee3hM3T5g3E3mC1JF6nv+omjOnzHWgPCuSCEYlT5eZNauKv2oBkQY5T1W2kwwxuN8EI8vzN3Q4RyFDIFbCpRqt2rN4ub1/LJ8TIIGfWEhClX5c/wl3quzeRll6S5wVOIUh/hdDTzrmM78mjL0I7nNVxjLwNBuoPof3NkcYQkA+o= 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=EbhlOrNy; arc=none smtp.client-ip=209.85.167.43 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-lf1-f43.google.com with SMTP id 2adb3069b0e04-52ab1d7243fso60491e87.1 for ; Tue, 28 May 2024 13:43:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716929015; x=1717533815; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=s+CsOJCVlsOTrjqdtpqHMF6zfHlzSSq4GbM8W7t/KeU=; b=EbhlOrNyNzLAm7kebFSFGtpuJvpeL+8sSM0oOKrWgclqHyjovsnRm0BmVmjcvVZyb1 xpM4EHenoQ7F7QzzsLPI2PH2wV8YNA5mvq2U2Q/lUpRzCMGy7X/oZ7DfunQqQ2U0t+ro C6nPa5Id76sA4gtlANmQ9qqxeKrQigE1TEPAiXOOam7hBNS7IVBVPhTxMe1yimpsE98m laUiDRr9q0aRuBghtl/ZeNSU6g9hBbszyM3AkLBptEHm5tF9LL22IqfId4b2a3+uJHXb QKxfzyM46YVhyMGvFHKz5tcWPUbTWEaPWZZKNLBE2rHVCvYYI1sP5rR7ZjnpJx+6ZhCr QEEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716929015; x=1717533815; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=s+CsOJCVlsOTrjqdtpqHMF6zfHlzSSq4GbM8W7t/KeU=; b=EKEE0AdBmM+iZkRVn9RcFWopAlQDBDM3b7mRWZz/H8mUdHmxWH3dSs87HNIsKjI7Da CD74xfBtcPUehbplpFtJuNAKHAPJU2xTDzwKaWr6+TNrp1AsJKToQ9xtZlngPbF7Gkfv 59iUi5iP5z132+Z9iBQ/N7aGlMgTNxry5kpnDpR6FDLU/TVnrPavRLA6IMHAnHUE/zvI YvYlqdJ9DB4dj4xvZbPdZhSlxDvWfCynrD0rbkpoBkGXGwC+Z45C03XQ0E7fd62pZ5rX PkfU1CtUul6dyQ3dmCwONTOjhsz6xeIoXsa+CNbSOsSPnTF/FOX1S150ZuPZkF1tf38/ 1u9Q== X-Forwarded-Encrypted: i=1; AJvYcCXkA/Eov5eG24OVZLWqVS8nqodss0SdlV9SEwBdQYHYkPB1hywxIZ0gvl+3cPNpDwTDxVHmJnLUBqKtrDEOUDtWlEaeMo8u6koVOsgq X-Gm-Message-State: AOJu0Yzp46WWsCKlubYCacA+btiyTpbqXMRTJ1V5j1oOFVSok7b7Lw4p K4vyXUDfEpOLgWJ5UEcv80iaiztap0Dw32yB0m6fEA1VftntGOVNjA6Y0jNrWwM= X-Received: by 2002:ac2:52b4:0:b0:51f:601f:cbae with SMTP id 2adb3069b0e04-52966e9a44dmr8266092e87.56.1716929015036; Tue, 28 May 2024 13:43:35 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5297066b885sm1095493e87.127.2024.05.28.13.43.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 13:43:34 -0700 (PDT) From: Dmitry Baryshkov Subject: [PATCH 00/10] dt-bindings: clock: qcom,gcc: handle the controllers without power domains Date: Tue, 28 May 2024 23:43:18 +0300 Message-Id: <20240528-qcom-gdscs-v1-0-03cf1b102a4f@linaro.org> 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 X-B4-Tracking: v=1; b=H4sIAOZBVmYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDUyML3cLk/Fzd9JTi5GLdJNNUs+TEtJTEJMsUJaCGgqLUtMwKsGHRsbW 1APWqsyNcAAAA To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Robert Marko , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2208; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=KdOLoaqqPKKq6B+kbVp/zzlHPVbPXlpj0ygf6uQcA/g=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmVkH0W8HCtV9FkP0Fi5jHzl6dxsTXhxkBImCsS aBIyGEyz42JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZlZB9AAKCRCLPIo+Aiko 1Yk0B/4wRvE52sN2pOvvOSYjNFMz4MlTqAh8kJsoYWyP+Wn0qe6qheHvtmhVV4qilV5a16iAE/d Onu9bkxcdaOROBgOgZ3VyagFbGEE+8zHXHTSBNaXcaeGOjsk2/6mSVy+m4ZRvLq6er1p0zEax2Z fTJ7vP01NGZZNKqWK5KhwSifUtKEs0Y5fljV1t4eWJFlTdxKyJwhDzahSc8G+bzQQU8HPA9DeIn dkLySM/gEkcNKwKSRuyxNcWHL8h7RPJxr8+yNoZNyOOiXz4rz0EyJ04kCYdegzOSrxjf2NDDos0 hwlQ23DBMqV8Sn9eIPSJg3DRa2IcdYx1p4nsTUfKPe1T1t9X X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A On some of the Qualcomm platforms the Global Clock Controller doesn't provide power domains to the platform. However the existing qcom,gcc.yaml common schema requires the '#power-domain-cells' property. This results either in a platforms having incorrect property or in DT validation errors. Fix this by splitting the qcom,gcc-nopd.yaml schema, which doesn't define the offensive property and use it for such platforms. Also, while we are at it, fix GCC node name for two platforms and enforce node name in the DT schema. Signed-off-by: Dmitry Baryshkov --- Dmitry Baryshkov (10): dt-bindings: clock: qcom: split the non-PD schema for GCC dt-bindings: clock: qcom,gcc-apq8064: use non-power-domain version of GCC schema dt-bindings: clock: qcom,gcc-msm8660: use non-power-domain version of GCC schema dt-bindings: clock: qcom,gcc-ipq6018: use non-power-domain version of GCC schema dt-bindings: clock: qcom,gcc-nopd.yaml: force node name ARM: dts: qcom: apq8064: drop #power-domain-cells property of GCC ARM: dts: qcom: msm8660: drop #power-domain-cells property of GCC ARM: dts: qcom: msm8960: drop #power-domain-cells property of GCC arm64: dts: qcom: ipq6018: fix GCC node name arm64: dts: qcom: ipq8074: fix GCC node name .../bindings/clock/qcom,gcc-apq8064.yaml | 2 +- .../bindings/clock/qcom,gcc-ipq6018.yaml | 2 +- .../bindings/clock/qcom,gcc-msm8660.yaml | 2 +- .../devicetree/bindings/clock/qcom,gcc-nopd.yaml | 43 ++++++++++++++++++++++ .../devicetree/bindings/clock/qcom,gcc.yaml | 19 ++-------- arch/arm/boot/dts/qcom/qcom-apq8064.dtsi | 1 - arch/arm/boot/dts/qcom/qcom-msm8660.dtsi | 1 - arch/arm/boot/dts/qcom/qcom-msm8960.dtsi | 1 - arch/arm64/boot/dts/qcom/ipq6018.dtsi | 2 +- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 2 +- 10 files changed, 51 insertions(+), 24 deletions(-) --- base-commit: ee3122766a21b81f4014bf7888dee5b9c5af15fa change-id: 20240528-qcom-gdscs-b5e6cafdab9d Best regards, -- Dmitry Baryshkov