From patchwork Fri May 31 13:52:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13681718 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 C573215AD93 for ; Fri, 31 May 2024 13:52:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163566; cv=none; b=S2K0z6dy8pViGWkc9VkMRLtY0GFlm0ujBAR/xSOCOMxAn+qvltIIDvCVfL/QDugDrmu/8+LW+8whFoLIxuqNz4Y0/pioEdC9O49CiF33wdsJcBkkiWXfNGgjJT9wtjOMPlvcrMhKPYyO8fxWguQjgXXnE7wg+kygeOoWF1FqNXw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163566; c=relaxed/simple; bh=Jj35C2gsmeAKqAGSxKwpsqLfwDT0T6WvwyZo1GypbPQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=sbc4OuRvEBAi30ppTaNkOhBoO0CycqDMdsAZm1IkncB5CcUlQGjqUc9G3co2KQF5EfZCS4vr4TsR17fUmM4weCmVIBmLlQnCxkyQUKgzov5TGuNby6+NLrAVokQhL4kkBeHFOyG2vmU0jekYlCtNBnRqnL271EjFF/1nTM1H52M= 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=eeoyGkDX; arc=none smtp.client-ip=209.85.128.41 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="eeoyGkDX" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-4201986d60aso19649045e9.3 for ; Fri, 31 May 2024 06:52:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717163563; x=1717768363; 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=ifHHoOAJfuCZtjnswpV2fZk0gvyupvUNPvgcYygKpcQ=; b=eeoyGkDXJPHkUta7VNGAIWWNVuLd1cnKf9zNyKzG4rm3WRG8VEPBljAQ/Xrg1xWKgs Ske6qPkTQ6xWRudU0Nguaqm+bHW2OZq7xuCGNWu5rlH/a9bUUVW2uqicV/z9zuufwtPk RRtm0kwMN4zQFRpPPMfJgz0QO9ayW4BZd3P6gRbWBRnsSFNbOwzdrjjXpY1UpSe6qoq2 aC2gi5W1JX7U+6T9tzKdSVkEM9rqmOCJFhuqaNjVtbWjR12hJw1ULZaTCsEYTK5RyIeI GT2SsPxd/0HEC92UvgaRoKzS8TcJ4b3Fqo++OmYSZmY0u/iAnYpubDSAav+NWULnV0SP +Fow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717163563; x=1717768363; 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=ifHHoOAJfuCZtjnswpV2fZk0gvyupvUNPvgcYygKpcQ=; b=sttxYmI/GU+Ag7ov8kXZ40P0zHZmHGKBrgBDBxIBItLWFj+APRBXtxduniKhOzqBcY 5hIqo6vjp3BbJ1fzvMEXUelVLQinuSDM7NKdGzVyM/MX4ZFl+IvTw1SsCcTY5GTXWWJj 1+IhGIHQZmIFHwA2tTOad8N+CobOfsBqaX7i32aHKcY7p22Cb49enKkYT7UJEFalHzsJ CZ4ELJj5mhRii0GLuXnk0nuUdPDe94cbehh68g01m0ZnWG4A6v6hyiJESlHllHwViStN qBDaV08naK1VJcBT863qRAyMmpJVuyXNcLOXZhJsBYSgkAYSK3hpkily5a5mmBNBWf+D /JIQ== X-Forwarded-Encrypted: i=1; AJvYcCWGQiy5Rlx/dwXq0dU7knM+WTFQgDenEgeQeYUzbOERNIo49YljLCB7rjztkg5ni/RoqEx5g0xiw5D3S4RJlDmm8gcf2qlWeKiw X-Gm-Message-State: AOJu0Yy+JFS3W8m9MBto6eZIdbD3rPMJ8bVVLrR1zNC+TWaxELuxpcEN c5ZrThaWoLovQxj6Mxvue5EfS12Fd9T71rmVpLvWnMwPWqb+WShGdssGsbTXLzE= X-Google-Smtp-Source: AGHT+IG6OcDaaKpgLQQXXWROr7G4bmEmk/pebfIMd87838Uu1cMe9qTFvZpP65S7U2/p4mJ8V0T8bg== X-Received: by 2002:a05:600c:3d91:b0:421:967:7488 with SMTP id 5b1f17b1804b1-4212e0c499fmr13280115e9.41.1717163563277; Fri, 31 May 2024 06:52:43 -0700 (PDT) Received: from [127.0.1.1] ([110.93.11.116]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4212b85ec87sm26762735e9.27.2024.05.31.06.52.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 06:52:40 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 31 May 2024 15:52:19 +0200 Subject: [PATCH 01/16] dt-bindings: clock: qcom,sm8450-videocc: reference qcom,gcc.yaml Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240531-dt-bindings-qcom-gcc-v1-1-b37d49fe1421@linaro.org> References: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> In-Reply-To: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Konrad Dybcio , Jonathan Marek , Del Regno , Loic Poulain , Dmitry Baryshkov , Neil Armstrong , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1497; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=Jj35C2gsmeAKqAGSxKwpsqLfwDT0T6WvwyZo1GypbPQ=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmWdYX/U9+dxgxWl6zpA8BmpOtGU9Vuo2Y8343C tsbOJwMD2WJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZlnWFwAKCRDBN2bmhouD 1//gD/9DaxbglP7VG8nH6mLPXXse+ttiRMGhfAt5W6y4leqH/Mf77uZ0r5SrreSTMK04eF+7A1Y vnfcTvTOL//4vY03xcgfhvoKidWHx05qAbEar83KCj2J2vCDh1xvyyEksNOl8LJO9HrrJioLKIl xPp8iXOqe5sE0BCYOuJAXtA4h0yw+orv9LvrQGWYJu24+2TJHEXE+mwnPQRpgDVhE897nCeSBlX p6EYFhBFy7AO6zh4e9IEIvZSnue6lVCX8wX2WGgvfyptiIaYtcvfJiFeboNh1PE/FB6jeZF5z+9 gRGlRNt0FizkJXgG9Rb1Y/3z5g/zeY2QkS2z0MNI5DQHqlXeDh9832RnY4tXfyksx34WAKmdpIP yxLnfpgv0fvN8Vlmi5OxmJFb1zyOdwG/xUty5aOczLEN31+oshly1Zzrp2kd6cWnl9rJkdtCzRt 0Eas3yN02AjwZtFkXlLPe7u0gcpII4+D3J7j9SR/Wm1bn+N9oYwgkHK9VmJDicL26F5WuSOM77M kUC0L13qArdsu1+1MfEJqHd/fck6MHe1XzW0ZHd4ufxFnNwqqy50evJCqWUW7EHSehPP+9namab mia8uS9yhypSiH4UDNle/cyUKZQ/NE+QOQJ0iqAny+Qla//zksmBBjd+e+SNzOliDVFwd36579l /sYdCmp+jgYkjdA== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Just like most of clock controllers, the SM8450 Video clock controller is also some variant of standard Qualcomm GCC, so reference common qcom,gcc.yaml schema to simplify the binding and unify it with others. Signed-off-by: Krzysztof Kozlowski --- .../bindings/clock/qcom,sm8450-videocc.yaml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml index bad8f019a8d3..74034e3f79b7 100644 --- a/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,sm8450-videocc.yaml @@ -21,9 +21,6 @@ properties: - qcom,sm8450-videocc - qcom,sm8550-videocc - reg: - maxItems: 1 - clocks: items: - description: Board XO source @@ -39,26 +36,17 @@ properties: description: A phandle to an OPP node describing required MMCX performance point. - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - required: - compatible - - reg - clocks - power-domains - required-opps - - '#clock-cells' - - '#reset-cells' - '#power-domain-cells' -additionalProperties: false +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false examples: - | From patchwork Fri May 31 13:52:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13681719 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (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 9D92915D5BB for ; Fri, 31 May 2024 13:52:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163569; cv=none; b=lP1sIeLMoriRb1PBiIzTxJRe7KA3p8Y1Ofhrzy5y9Ymvw33lwL1DkbKVqVx//lLTpf0UsEy9DwkOxTNSVG+N9Xo4dovGIHKm9kvSkz+UdbC75fypWbNDnAFyIU/HWcBMBhDcPleKIR3u0M7nBxk81H4joa1CPe2evTLUqk4AiEg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163569; c=relaxed/simple; bh=3zs1lGmZcJF0b6VAOMoxNDKqQmv5s7t7K3pfFZBn4jk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=bi0Trni2VpnNHJ41/HwN2HVeotgExyP1QGSNiebq1F9UyJfBHw/r4UzH3CD9EoP7L8lCdNMj+YAO98yW/uWQN273UVrVY6rrH/2k661TlCG57x0vV4lGlM+qdnBAwHAREDkbjcGI+/6rkGL4vDYY6sw764Vxf4whOpYu/DjlcU4= 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=ga3WzpqK; arc=none smtp.client-ip=209.85.128.54 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ga3WzpqK" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4202cea9a2fso19740485e9.3 for ; Fri, 31 May 2024 06:52:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717163566; x=1717768366; 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=ijiGVlDr80nRC6rrzLyIt/r2pvDOASHvmAApJ81k834=; b=ga3WzpqKeA/5NboXipM8ioENfpf40UNmTLAbcqOo47WNnDKblD0E5gNu3PR3wvJ5Y5 /sScb44wF5f7HeWtZDd+c+ajYuQyIPqfySPAiGBpEC78gsYnSvK1SCopNGqMLjWfbgc5 VE3jQ3PQ3CE0RGwHrzqNdxTMGghcqWm/Qkuea244u1J3GG0ZLQU+QK/22ckmugwA/aOv SsjgwyViTQu/VaOTnOGYX8o7yYNIyxPP0X4nIKKaZSypCbKfGhu9A1k7N9ulfQaJsvvE RQ3tSRZbnzIOkSRa+m9N7AEToBE2Fj8oFNjQV0wYKbLeqd20P/zcNc5/6Qsv7mgXUa1L SgNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717163566; x=1717768366; 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=ijiGVlDr80nRC6rrzLyIt/r2pvDOASHvmAApJ81k834=; b=JAM97RxbQXFwUnT+cEJ4nRBjId8GghoiBUfoUlBtG03lgRyB+gyaOps5EGeYHsrXlO KKoqZcn8zVZm4VWTWOvdsBxtZPv+haYc4hW+Z1asKWuoqv6gjZcHWxpmP6kwrZfIQbmz JDkbl0YpsXhh3EzFMu9aU+Yazu7ExOv2SLJARajrRewgA1SMzdg8YuVQNkI+HtrlUYIj pOZJWyV3QJ8PG+vTMw+o+1hwu3zU8cjRIMEri2+dIk6TgHvI1zoP3/e+C2hOv2mUgzvW hS4SejBobZOwrkXa6oGUFTiAgxiCi7HCJNg8um3bpfZY1jtYgEv9wocoWpO08SjYRUoU ZEDw== X-Forwarded-Encrypted: i=1; AJvYcCVGLplyXzWsI4q8RbL2F2IjjA85QC+ImSndePi+9jmdVUxTi2mRwcN34zzyHBdPdenQ741Wa3n+oNzvyA2BVpH7pSqng1AUKSyr X-Gm-Message-State: AOJu0Yz7Hno735KEJ9uIAZuhbfK7aLUvN+2jN0CThf1YVf1XFomgtJ7j EBsyZtw+B3CilObwkjxcpcHnzKMA4gjl9dMewaviOi0otbVVA14dpYuLfGgEmsA= X-Google-Smtp-Source: AGHT+IGHuPZcQox45SO6YW0nU0OgBU6JtzgVZ1Z/N0HWBTFEzUB3jb0cTJk2YrhvgT/ro/tkuMyRDw== X-Received: by 2002:a05:600c:1e27:b0:41b:de8d:dcd7 with SMTP id 5b1f17b1804b1-4212e05f21dmr15160815e9.20.1717163566030; Fri, 31 May 2024 06:52:46 -0700 (PDT) Received: from [127.0.1.1] ([110.93.11.116]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4212b85ec87sm26762735e9.27.2024.05.31.06.52.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 06:52:44 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 31 May 2024 15:52:20 +0200 Subject: [PATCH 02/16] dt-bindings: clock: qcom,videocc: reference qcom,gcc.yaml Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240531-dt-bindings-qcom-gcc-v1-2-b37d49fe1421@linaro.org> References: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> In-Reply-To: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Konrad Dybcio , Jonathan Marek , Del Regno , Loic Poulain , Dmitry Baryshkov , Neil Armstrong , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1557; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=3zs1lGmZcJF0b6VAOMoxNDKqQmv5s7t7K3pfFZBn4jk=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmWdYYmpKZgiX6UXrmB5BdrHvNqt03eTJ7gvwRX 130kNKWfsyJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZlnWGAAKCRDBN2bmhouD 1y2ZEACGaxYiMgKMHMxpBBsSc1+tDs3+lg5aJpjri8bt+MTszaXfezULwQE2uoFYa6IvtKRkAsl i3OGpr+BCE5WR1zjNOq0GrI0TW6/ZmXxkwLtI73kBXJ6aHYmX9fKHvcrMIZncmRQGwUnpr4z3FP KdYNXrJSTGCIG7PbFTg+w+5ZFDCdqGBsEC4+5p+S2gp8vTDnNuw5B9nEmtG2MQekATBUL44eR1Q 4z33vUw5T90ZHfePfTjjBJaWXGAAlCeJuT9cnqicLOUuKyJd2/+g+fAFxTPSU5Vslzt3DcikDge UuDUlyLCs9F8ghPTscxaH/zjzId1gt6qI2CKrqpWnsJH1CUJXMoWsJyh6xkrTU58/SNl9WqT4MF mvQ4jIM9h//TBNDnwk2bAHA0fKX20/znBmrCeLFGicl8HucJhQ39kC/L1skuDcvkBGa06WQB/E8 cCCKXAfbxFQDHNPHpM2ElTOgD0ub7pSZCx/YFd9473CxbkkcVUBvCQwanDmr33SP9AJYq2U8Qne 3b7igYQzL45Zqxt2LIKw9VfBsMNME3Gbwwok/dhejlSS3oAXlCeq5IpOf7OOgvh58r5q/cahlDS MEQ9PJ8sZbi/stQa4/RJ1n6wBOm6DMlCA6Yw5P7deUQ9bJgGPZL8Epw90Sac04/khqNNdAy3vvT mpezgpGeJpJTbHQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Just like most of clock controllers, the SC7180, SC7280, SDM845, SM8150 and SM8250 Video clock controllers are also some variant of standard Qualcomm GCC, so reference common qcom,gcc.yaml schema to simplify the binding and unify it with others. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/clock/qcom,videocc.yaml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,videocc.yaml b/Documentation/devicetree/bindings/clock/qcom,videocc.yaml index 6999e36ace1b..81c68039ac9e 100644 --- a/Documentation/devicetree/bindings/clock/qcom,videocc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,videocc.yaml @@ -37,18 +37,6 @@ properties: minItems: 1 maxItems: 3 - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - - reg: - maxItems: 1 - power-domains: description: A phandle and PM domain specifier for the MMCX power domain. @@ -61,14 +49,13 @@ properties: required: - compatible - - reg - clocks - clock-names - - '#clock-cells' - - '#reset-cells' - '#power-domain-cells' allOf: + - $ref: qcom,gcc.yaml# + - if: properties: compatible: @@ -119,7 +106,7 @@ allOf: - const: bi_tcxo - const: bi_tcxo_ao -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri May 31 13:52:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13681720 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 4E21516A360 for ; Fri, 31 May 2024 13:52:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163570; cv=none; b=H1RJDN6HnV0dxb9BP0Og18nrtN47YcPtRJjScW8wjMp5WXMrpXcHivvjU+vamVYB77AkmRVsJsCaEOM4p9iUOzEMA+JQ7LsGX6ioXCtNxfmREPoVej0aP1blyt864JlFWLbz2vtwuOGeA+bayR5s6huoLyLYznE5dDozR7zgiNs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163570; c=relaxed/simple; bh=G1mbxFDSj/Ucu6h1gu4swW6RlHFX5IaapGAaerzeETQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=a9Emgdr4cxkngF/IGDdcSns+L9x9Rd1r7DZgZfb5yODdLUE5DOiz/fR26yJ8PvSzFZ2muzqhfsVJtAgFU7mz5V/b+uLSatwlx6wGhMaFo+gWtd1i/N//45AeLm7gPbcOe6Sa48cVOyfR/Lf+Z5QvDcxSQ7G4PMzvI+rG5gdswr0= 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=bu//1GCU; arc=none smtp.client-ip=209.85.128.49 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="bu//1GCU" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-4210aa0154eso14206845e9.0 for ; Fri, 31 May 2024 06:52:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717163568; x=1717768368; 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=pXX5N6TMJTvJ8ql3IQZLlxHbkNQgw/Xjf4y9EU4Gv0M=; b=bu//1GCUesp4phPjgIn+9P+KM1iMYnPGTKigNQrsvhbzuhwBm2sthlstM/FZFBXRv6 fBDXMNfIFlnVesImKbIj16xhV83Ojidvw7/mlHqiZJ4v0MnsIF4QQ7TxJxLJBomEuf8i VehMYBKO+FO5OlSdFANmrTl9M5AYZ3rWBOIE36qL+2N2H8X55MNWzlkOWOpoWT9Cpgzj nZDyyN+bxtJg1OeMrVdrewLu2/ap0VLoADs6jmNhoCtMCj49AYyltPAbenFO2Na2n7SI v0SVwV5zNktmosflqkbug9KnX1nshLRSjMHcDeucNOxj5HomWglj1S5Ofw7S6zYaR+P9 9UAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717163568; x=1717768368; 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=pXX5N6TMJTvJ8ql3IQZLlxHbkNQgw/Xjf4y9EU4Gv0M=; b=oPBazTkkJ+zlVj7gm68Qu30wh5L7yzaDv2/vYZ54rmV64w0wq/07+WD5VZMANnjdO4 T6tBoxBeY1twH/4sjsNn8UqnszhgB69jey2tbKX9Q1efFHMNo+mx6yy8dfluwkcjnLGg J4S1axqSbycFSUl6cJ47feIT8kgY8CAxzVRUBsuSdsuq4+HxvT4ce4zDVJsMB9741F6W X0cG8MswVMEWMkdk2AVBY5lAtk54kmcwl0KBBIdqm01Ch4vdxWftQtcoMHTmyKmBaA2U a541688FKFLarPx5qe6BaYsbJBWRZJ2SYxc80p52rEVHor6DdyuGaB1PHbqHqF/O+qBL kLsA== X-Forwarded-Encrypted: i=1; AJvYcCXJpDyhztdAh3jS/p4JDfy8G94ANPMVfmJbprCNbCf4nut9lNItrApt4AMBSnfcw/46k0p2LONGb/+ath2tY6Gy7Kp1IdCbM5Ps X-Gm-Message-State: AOJu0YyZor836GazuwnOKKvK+2s7E/QsEqLBvzq1oT4tJU1Mvr8RwN55 WD2Yqm5EwA3gtAR2ZIjTczi+ofL7ocRRAaL3KJk+OONIlg0eEX8Vv8cz1j28svY= X-Google-Smtp-Source: AGHT+IHffNx5kVfMEeNSOU+JAQ54453j63jtHWt0wf7LJObWn7S33HMYPbgtUrCa1ATYzFyEv5TZkA== X-Received: by 2002:a05:600c:46d3:b0:41f:e4ad:9ae4 with SMTP id 5b1f17b1804b1-4212e076433mr14215585e9.23.1717163567792; Fri, 31 May 2024 06:52:47 -0700 (PDT) Received: from [127.0.1.1] ([110.93.11.116]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4212b85ec87sm26762735e9.27.2024.05.31.06.52.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 06:52:47 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 31 May 2024 15:52:21 +0200 Subject: [PATCH 03/16] dt-bindings: clock: qcom,dispcc-sc8280xp: reference qcom,gcc.yaml Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240531-dt-bindings-qcom-gcc-v1-3-b37d49fe1421@linaro.org> References: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> In-Reply-To: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Konrad Dybcio , Jonathan Marek , Del Regno , Loic Poulain , Dmitry Baryshkov , Neil Armstrong , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1375; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=G1mbxFDSj/Ucu6h1gu4swW6RlHFX5IaapGAaerzeETQ=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmWdYZE8X+2LvEgl9epBZFcuvaQNZRCUXHj9nXk M7CKRUxtWuJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZlnWGQAKCRDBN2bmhouD 1y0eD/4lWI9S06JmACZKT0wRL9qxzAeW57GP6J+XcpDrXhDEptRjGtaFgbgOUMEGuea07smU/6b Y9xjrLGHTErmNnVaVgiNP981ol2iQ1AA2fc21RBejpmiVnpXDa6x2YPLyObhroq9Gne7am6Evt5 9JHUIglsEJbM1wNo4rDpFpRHHe31vJtBG6knFdCSFgdKd319E8rybIxr6s7b/32RY8gGzLLUASC HJBx6z5/43N4MKUuPooDtUbMIFX3fVpkje5NcKqt8TRbD2WElEXR02Y+WwvyqWhw/lnYP06Quiw toHFi407viBhvUZLoFmWj2x3uqrKPeev/bCqiqvf7J4CfngBVQyTEE9Dcl8FwbPPt3EJRJYN2dE tcuJw0NXfHKuzQiLKT2goZdHhQ74zGIOuEy083m/xOc2Deqrz0AAXy55I6JLRDqvFSOCxWpoYi1 oj3UQTViwXZwzoVzK0aZWfg/0GsipWCg4KRRQYfO9CH+AnVkHhVd8SK0L96xA+h2zvWpigt7wrD CTquoBs4ynnSLm38u4OmWEHoZF2x2ZUP9feWY5SHsKmRI0dyFc591mTbwsn/odid8BvXulzU/43 BDUqFtTHbCUVasScISWXXhW9w48T1pcVhwnSC8FSQTV9y0r5aqf7o/sQoE6aMETcYtm5I92K36D mKDfJ/YblZMR+4g== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Just like most of clock controllers, the SC8280xp display clock controller is also some variant of standard Qualcomm GCC, so reference common qcom,gcc.yaml schema to simplify the binding and unify it with others. Signed-off-by: Krzysztof Kozlowski --- .../bindings/clock/qcom,dispcc-sc8280xp.yaml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,dispcc-sc8280xp.yaml b/Documentation/devicetree/bindings/clock/qcom,dispcc-sc8280xp.yaml index 3cb996b2c9d5..ffae037779a1 100644 --- a/Documentation/devicetree/bindings/clock/qcom,dispcc-sc8280xp.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,dispcc-sc8280xp.yaml @@ -40,31 +40,19 @@ properties: - description: DSI 1 PLL byte clock - description: DSI 1 PLL DSI clock - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - - reg: - maxItems: 1 - power-domains: items: - description: MMCX power domain required: - compatible - - reg - clocks - - '#clock-cells' - - '#reset-cells' - '#power-domain-cells' -additionalProperties: false +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false examples: - | From patchwork Fri May 31 13:52:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13681721 Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (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 5E221171E4D for ; Fri, 31 May 2024 13:52:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163573; cv=none; b=RMDe/8cXptpxOhqu1Zbs2KdQqMvTLFXtypnEcM5G9T8cagOw2qJp1eW4zl+0FwoswGPlPfHumNDjjvLENiHl04ldR3LULSyRw5wxnKczhIby2BVmZP8U2gl0sGDpFPdNn1vNIeJhz6jxDFFxEbj9mXtrOaUu+hJu6f4FIBW9i3o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163573; c=relaxed/simple; bh=vKewDKzem7j0L2j6vi2Hi9Jg8CLGOGeHVFNdAkbU4mQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ss5eIbHJ2LlYxQLNZgz/7kz+YcTSCDUu8O7XRVtM9ODK12JrAVavSsSa/jVAcEB6hgP/sjvq1udFFzpYaf1O66GmKo5oypvXyVoIQkf2l+1C+wHbYHE/KJ7k9uxvn7ODOgIed/n/Wvw7HJacuuX8pmyHl2Vr/naQY7o56l6OpPI= 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=wivfO/Ae; arc=none smtp.client-ip=209.85.208.173 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wivfO/Ae" Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2e78fe9fc2bso26972531fa.3 for ; Fri, 31 May 2024 06:52:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717163569; x=1717768369; 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=oxSE4Ip2VRrLAQNyBwtogt40s9zPtBzrtsuferIkfjQ=; b=wivfO/AesGgnSN1DuLEECcZDR4xc838aru0dvD7QN7c71HzW7OCzZowKWAP/yXcpkV 9qRTUEmEWSBYlrVijY5ME1Pj00MeBRhd6HiRd/+Z4PEcAo33S2kqmIi+ReDd7HoLv6kP KvGZvhfjs3ir60ItQOMDyxExnrQ82FU07EtRIT4jlDJpBrPZhJ1keG9mfbazvCimzaDM 4Q3wzY5ebk/0tgGK7Gs8Cz6scKCRalMg/Kg21JNaxbQauvh9kfPq6nz6tddeLWTcvDW2 ZSM07susLVtVmHhChVfpsZtd5W39pgYFKNZEZKh4ZT3kIkmxhoAeVfQaPTwVOGItspeu xdNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717163569; x=1717768369; 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=oxSE4Ip2VRrLAQNyBwtogt40s9zPtBzrtsuferIkfjQ=; b=wL+7PJBUzOaz7UDA3zMqRGi7J608aTRUXyB/IcggV/2ntVrKsqzTheWu7fTMX3+BlS vFq8efeP/My/9arc30m3a9ZCUO0TWUADhaHL4SPM/0jnHTDgMbINIJHiR4zPZVl4CIVl c5uMetZQ95pqwDlz5uhYpJCtnr+QdpsQGUGZWBpLvhIdWlVL2gy6+iiWSA6n8ZTxrE/f 955VI3ScRLQlGX5ycTYDKArMMtRyZho805Ciu+i1vjLvluN2BqSSbIo4c2aOXQ7HAnDI UzHmxVYo7Qjjlg/snXevqVWzBl4HgutO3eSPnqwCILiEfORX2bNBAjlwO64M0YRrdQAs MxUw== X-Forwarded-Encrypted: i=1; AJvYcCWVcSI5JAlDAxQ7kvksqWYZNcwedq8+kTa/jRxg4c4UcvjyzgBViLdeA/G4z4Bpdl+li+acvZv0dlAyfKQgHce0qgh3b/yVtPdE X-Gm-Message-State: AOJu0YyiYqwbWR2fHRyFWI8j0tj1odnrm4vsuxaq1R2k7YEnuR5HBO44 6gCtpU6EoeGg48s24F9XSCY13fogG04pD8f0yi9lnr55iQet+GoygipKyhUv8xs= X-Google-Smtp-Source: AGHT+IE6m1JsnXGdm4aoYVHty5PhDewhxB9FNgLv3mUGYQY9s+aI+Ocyh/Zah/zsLrEMiOgpppEKWQ== X-Received: by 2002:a2e:859:0:b0:2ea:7f57:5a74 with SMTP id 38308e7fff4ca-2ea951e4603mr12737701fa.42.1717163569562; Fri, 31 May 2024 06:52:49 -0700 (PDT) Received: from [127.0.1.1] ([110.93.11.116]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4212b85ec87sm26762735e9.27.2024.05.31.06.52.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 06:52:48 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 31 May 2024 15:52:22 +0200 Subject: [PATCH 04/16] dt-bindings: clock: qcom,dispcc-sm6350: reference qcom,gcc.yaml Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240531-dt-bindings-qcom-gcc-v1-4-b37d49fe1421@linaro.org> References: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> In-Reply-To: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Konrad Dybcio , Jonathan Marek , Del Regno , Loic Poulain , Dmitry Baryshkov , Neil Armstrong , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1296; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=vKewDKzem7j0L2j6vi2Hi9Jg8CLGOGeHVFNdAkbU4mQ=; b=kA0DAAoBwTdm5oaLg9cByyZiAGZZ1hqj9l+TESMNv8z3VgkxfnNuNYTVIo3Ev61JlwAJaM4YW 4kCMwQAAQoAHRYhBN3SYig9ERsjO264qME3ZuaGi4PXBQJmWdYaAAoJEME3ZuaGi4PXfV4P/idQ I29A/7stD1NZJ28Fwx2g9MVywTW6C8JwTIe26y5lPeZ4I91MrxhitN7X2QHdnnQiqu7p2lRiizm Wt2Tvt7f6FMWZurC0RRVH4rPibHDCqbaWqIHyStU2CUAgCAJ9LAHZ05a0KYomZYvyo4J6ud7pML gtgMnThUESrxXxdWYaT+99pHoMW+3eSWENVLpUjNCjjPn90wy7kFYqT28Ep8b4U9WmCI6X7eJLl L022lpg49EsY7F1TV/UTYx4AIlbdl2WvRToBRCr1Yyca84w8dcNYOLIMGaT63tMudoXVR5h32Fk MGrnKstBWRVX2WrU+SwBKgY7hdCFFp/YFm+X8gfa/SMRq3HWs8CdkpsIZjsw18VtYLN6n5JFmNs VnviOy1/BTd94B2jgRM4r+/VdOewXfCRAg2PmehbNydoEdVcCvS5vtLIF5yYodHDtylfqxDN1FA Wa4Cm/fjvRxFBhFBsXq/uHjVQh3IFM6sSaIU3x3y84XSzNM2hOIhNHbT/YUjGbVvmL7P2hdFFNT A1yktkzW0dBEyJ+WcjzVrVaWQIuepongWhNQAirngT/c5a1kLBmC3lWf2zjQC3+I/VWZGtk23H4 ns/PuhaKFE8SJ+0+pNexvmRCOMONlkAsD2+TuzwUz33QYXNhCTgSP7ZNdSMS9xknmkhyrRSWgnn T/+/a X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Just like most of clock controllers, the SM6350 display clock controller is also some variant of standard Qualcomm GCC, so reference common qcom,gcc.yaml schema to simplify the binding and unify it with others. Signed-off-by: Krzysztof Kozlowski --- .../bindings/clock/qcom,dispcc-sm6350.yaml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,dispcc-sm6350.yaml b/Documentation/devicetree/bindings/clock/qcom,dispcc-sm6350.yaml index 8efac3fb159f..a584b4953e68 100644 --- a/Documentation/devicetree/bindings/clock/qcom,dispcc-sm6350.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,dispcc-sm6350.yaml @@ -37,28 +37,16 @@ properties: - const: dp_phy_pll_link_clk - const: dp_phy_pll_vco_div_clk - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - - reg: - maxItems: 1 - required: - compatible - - reg - clocks - clock-names - - '#clock-cells' - - '#reset-cells' - '#power-domain-cells' -additionalProperties: false +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false examples: - | From patchwork Fri May 31 13:52:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13681722 Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (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 F3E6F176225 for ; Fri, 31 May 2024 13:52:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163574; cv=none; b=AGkepcwA13IJfBmbixPuCvqlVNZf/5vN0zE4bff7xBwEhNhrDPyziXJ880tUjeik5+9ZEyJlTt+Tffyx6xD4WSxPavILwHfPeLnX+iz0rN2tugFRe5EdDbXRQkhld0AMTa56aN9mK57qzyTzMsHgGLGy2Oau5gup4QrkIFT/yHo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163574; c=relaxed/simple; bh=UNKu3DIt1gZGv80xJuvgVBGGuUlUFj0kW0OgPa61sOI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=L/8CrGw/bBIyVdarnAJi44x+elBwQpN8GQzUcR1gZImYRhTncnyCQCdQ5QtY+LlhuH8AnV1iI2+Ig67JBjSL/vEMQvNAFhavMLTQcmQO7VfQPRdncP46KZI05ZDGeT4cdgLRrWGS7btNTyVOm8lktxiBfVXPTy0PfX3oA48m59w= 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=hID6YB4S; arc=none smtp.client-ip=209.85.208.177 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="hID6YB4S" Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-2e72224c395so18502251fa.3 for ; Fri, 31 May 2024 06:52:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717163571; x=1717768371; 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=u23uUMqdStYJwVaNGCuAcKhTTJXoHvb+6dE14ZkHq+U=; b=hID6YB4Stou0OPe7qaNZtCwWbX70sa1dwM9bBLJJyQI0VzMKpGTvom1ICL7E7ihGas QplTVXrjOaVI3oM8d30C9G9wM1jQdDWo8V2A33AOoGdpXatD2fmT9xHeoXAc1KfxWK6h i2tWgJpbq5SJeHsWXBK/d18KjU2e+zdMx6IoiyfCXVO/BLpzWyJizdVrDA1+ppiTA4ft lbsPagxgQsII/IL2tWeWpkYwF5PuwnuVWNXv1iSHbTEl8bR7meL3MjvnQkZ2usqlE5IV 6T06TLRmg2rGNI8l8OIxtUEeEuS8jOmrfX+yUsqprQOHYeuffxwTaJH81Ozfd/hFmwgH yNdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717163571; x=1717768371; 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=u23uUMqdStYJwVaNGCuAcKhTTJXoHvb+6dE14ZkHq+U=; b=MS4C3kmtIdq64Yx4aQ/boYtn5Pyqs+gTjt9JdGgrkPe1vhcNEaDcct38wYudG7B8EU 1quYRH64ttTcGXzXrO9xZY1zOKnsH6c3tE3eL6cKsOHDbOxq6rR2aOmTULHTexHMfpEs PgjhEedPPntXJCq2D+yNTo7Y3yzktyDvm1zj90Tgf9Y7793NOzeBEnP2nxIly2YCRpr2 T+QXPsICaWjWmNI0b9sOXJWYDKAVtsubG8izKZqKJLEAsWZuL/HHBMpO6A9QnGjarhc6 qiW1sI3U6qmQ8Gm8nLkY+RPdHjg9O3c7jF15OtU0X8BWsbz3OpzKku3Y62h8+FWUXqTj pH4A== X-Forwarded-Encrypted: i=1; AJvYcCWCYeaj5ozCntlAMxI2akFw6slmzWKCX7Wt+rM0zXvE2SWrPTk5cYTbNXSEKDejAg/zpyKK/TP8gJBVg95qXcUL3wANzIa1RVnZ X-Gm-Message-State: AOJu0YxN7d8X1dRXUEFBvmeF1cVHVl/o9PV06Xh0+0Sjw0sxhvB5n0rG uTnYwa/7tbj4aAfV+/NsMBPP/JIYhthC9n78hEOr5I0UtlAbjaFK45gsg9lzGTY= X-Google-Smtp-Source: AGHT+IEdQPHGJBhlO9jsDnIBJXGjWMxqUCXqEGIMwk/tJL+jzBzIN9NGR4VcC5F7PGGtUepc4TS3OA== X-Received: by 2002:a2e:838a:0:b0:2d9:eb66:6d39 with SMTP id 38308e7fff4ca-2ea950f66e8mr14582391fa.19.1717163571216; Fri, 31 May 2024 06:52:51 -0700 (PDT) Received: from [127.0.1.1] ([110.93.11.116]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4212b85ec87sm26762735e9.27.2024.05.31.06.52.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 06:52:50 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 31 May 2024 15:52:23 +0200 Subject: [PATCH 05/16] dt-bindings: clock: qcom,dispcc-sm8x50: reference qcom,gcc.yaml Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240531-dt-bindings-qcom-gcc-v1-5-b37d49fe1421@linaro.org> References: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> In-Reply-To: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Konrad Dybcio , Jonathan Marek , Del Regno , Loic Poulain , Dmitry Baryshkov , Neil Armstrong , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1577; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=UNKu3DIt1gZGv80xJuvgVBGGuUlUFj0kW0OgPa61sOI=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmWdYaCLShv4ukIl94Gb6tMudUcTmj7zD/7iX+3 OIEtlHFVBWJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZlnWGgAKCRDBN2bmhouD 11QUD/9n7p5x+BRQDmj6yY0J4Wknao4Ji0kwaRVbNgWTS/B2hrZaRVGYCFs0vpZAw89NJFFSVoP MwtnX+drlq8/sTd98r+N6nSxcyN1TEtJsj8MnW0lMDX9NULqxPhfLIfR31bDHFt7HLRw/yqzOgT uIVtY3NziVdW0DLePah7WkU2Ys3oZvNjy6+c9moVcl0Gv2uBEXzeZQ1wGLfo7PwRKu4MeKi1KQx HJJS6At/7a/QK/KSmrc6078cpsTsqFeUDboI907MAj3EWzQq8lFfrO2DjxHlzmRnWYI2+ADIJBW +nyroCpVngBFtlczQXsloDmG4bkgU2wog0lLi1+QS+UMwdfAm3AAMdlBxL+BT7iG7xZQqfwG6vK KET8uB7B4M5hampSv3gbaGuz81cq5YPjoWpP3brlJ1ApNnF4gvQrkHiBZywAvY9WbgFATChSSzu eEq9/64pmUS3oZO0KfgXQqhPA3StoPssM6RrRkbdZUTLBJrr+ufLTa1IbZKv9GNX5FEimVwmZx8 wbjOpCsuaGSsP5Cx9XY2pbx702mGZ7uiEa7jrfhOcWLqk2yxluwfItoSHvpXfgVQ9IxXU6ZaWf5 PrYRCYxsFEHXaBTAisbJciNbhegzuOcwIB7ap6LnIka5yj8vGsgMOGjqwGceemrXiMOHYqzmJSg 7aVyPXxVXhVviGQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Just like most of clock controllers, the SM8150 and others display clock controllers are also some variant of standard Qualcomm GCC, so reference common qcom,gcc.yaml schema to simplify the binding and unify it with others. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/clock/qcom,dispcc-sm8x50.yaml | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,dispcc-sm8x50.yaml b/Documentation/devicetree/bindings/clock/qcom,dispcc-sm8x50.yaml index 0d82521a5433..53a5ab319159 100644 --- a/Documentation/devicetree/bindings/clock/qcom,dispcc-sm8x50.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,dispcc-sm8x50.yaml @@ -60,18 +60,6 @@ properties: - const: dptx2_phy_pll_link_clk - const: dptx2_phy_pll_vco_div_clk - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - - reg: - maxItems: 1 - power-domains: description: A phandle and PM domain specifier for the MMCX power domain. @@ -84,14 +72,12 @@ properties: required: - compatible - - reg - clocks - clock-names - - '#clock-cells' - - '#reset-cells' - '#power-domain-cells' allOf: + - $ref: qcom,gcc.yaml# - if: not: properties: @@ -105,7 +91,7 @@ allOf: clock-names: maxItems: 7 -additionalProperties: false +unevaluatedProperties: false examples: - | From patchwork Fri May 31 13:52:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13681723 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.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 5CB7E176AD6 for ; Fri, 31 May 2024 13:52:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163576; cv=none; b=FRkLxMLvuLwSu/osQuskjXKWU6Lly8ZDZZ8Zkw7MvnHsquVelGtx41qa3nFKjSPxXVoX97+nMOQLum0+l4x+bG7kkxQGya6kTk4AfGsBERWAm79ylXMCmYmCp2O2Nn2aDeN9wsTdWMn4uc0F9pqYFGYagnnZMw31FA8zS/Is0Vg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163576; c=relaxed/simple; bh=bKL3yLbx6CN3YGxvLG+lPb0yuaG5yV6wutVHiqw4uS8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iUBTj0c2kYaE0sVefK59Nd9MFXlcZYmg7sSJkaI1w5AlpQhl2qq+/T14gBE+nmUABASYgC60FAafGcy19+ZeBhdX6bYX4x820B4N0THSeNSS7B2wKb3dVNeg/dVMbzZKDDWnYH9YxrodOSBnjzngrmjKZGv/mUTu6XunuqhMtnQ= 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=B937YYo9; arc=none smtp.client-ip=209.85.128.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="B937YYo9" Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-4202c1d19d5so19499995e9.2 for ; Fri, 31 May 2024 06:52:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717163573; x=1717768373; 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=ZIggALpf9dLz2cqwINxnQ7JP4h9D1sdReZbSpLb/ibg=; b=B937YYo9i1BBsLqkiJCLu5uoCjyxmShAyVGcsDuBojZEL0wipo20PodBCR1vhuaFAZ KkcjsuKKfhemdNJ58yRkDokDxdgALkKyCYlJFHX2QrrakEazM/A+HrRvUa40WXsJRRVN 2hP8n1DjD48m9b73W+v1NSGPeUIFBOEiCy4l6+81acDzsi7Y7oA2LgsSHlVRc7k3qZZK AHdiKL9/WZKACtNnL2qDvE3G+ViVKxKmpmeva4kM/DgRGk6zWdeBta6nsHamJG26V9Xi gvIq8jZp7FTFiELDsjnUcbBTkw75wKDAvJuPfOxLBglOsF9H3asEmKyycBtOqGts1Jkm FN0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717163573; x=1717768373; 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=ZIggALpf9dLz2cqwINxnQ7JP4h9D1sdReZbSpLb/ibg=; b=FQPn0tYNZT3PRwq1OclNB35sqbtsRiOtXJHJrIajGuMDaLvfSTjz+FaGz2mB3SG+/e MiJMbtbuGGFYXiIwqZIBqfrFflddjpWUPZtBxyq1yK4dYg7lURcoukPTjzyW8VufsZJb HXt3vnBbbK3R7pfiF1ULNl5y33foWFpfXfrxZ79p6+iNm2oW2FD/KfiKmw63PGZGTg0I rDl1XqoCbBx0lBQaZjwDTY4xQa1lkLqZy181+lKZKI0Gk6s8FF1XDMqMm7uuZmtROsuQ ycdts5rdkuNMLrdK1VS4Kcq616kwLaCkGenNq0qEpubdIbqVZJF1EdQr4Ohtfa5p0g0o nHAw== X-Forwarded-Encrypted: i=1; AJvYcCWWc501X8Tuvct+c8cAoasCySP/hJb0tGjwY/AZ3RB5ijd+jd6RalJy2DtzioJjAnbvU3vmw2rpsM2JyWaevhe6PCHCjfwNnw+x X-Gm-Message-State: AOJu0YxOhb9wNwOr8eHh/xjjT/uiI2sLNfR+EUXdl9gOlrhDTddr7icl JAZoWXtMZSTFea+E521o+UNHUjsfKJRWe5IWPNgys/MPgzKQqYnTRooObosRzog= X-Google-Smtp-Source: AGHT+IHGtsSoxweOp9jwPnQb4Utnr7hRZcQqkF6t4oFoHL01Y4Y1FjWqSv7NUf4HvzRIUnhyB2Q7ng== X-Received: by 2002:a05:600c:4f82:b0:41a:821b:37f7 with SMTP id 5b1f17b1804b1-4212e0a52f5mr15721145e9.27.1717163572897; Fri, 31 May 2024 06:52:52 -0700 (PDT) Received: from [127.0.1.1] ([110.93.11.116]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4212b85ec87sm26762735e9.27.2024.05.31.06.52.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 06:52:52 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 31 May 2024 15:52:24 +0200 Subject: [PATCH 06/16] dt-bindings: clock: qcom,gpucc-sdm660: reference qcom,gcc.yaml Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240531-dt-bindings-qcom-gcc-v1-6-b37d49fe1421@linaro.org> References: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> In-Reply-To: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Konrad Dybcio , Jonathan Marek , Del Regno , Loic Poulain , Dmitry Baryshkov , Neil Armstrong , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1285; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=bKL3yLbx6CN3YGxvLG+lPb0yuaG5yV6wutVHiqw4uS8=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmWdYbaw8SK12r8CbGh98O5JS+CHQRZsuGqXK9+ 6mGmDkssuqJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZlnWGwAKCRDBN2bmhouD 196oD/9pADUg5MpczssSGklLzL0R8muAgmgijp0U1Kz8W0BsMZNIrx4xOHZEvMmvzRAEb4NHH+3 c7fBqg2HNWyCiI/kXAuBsO2wod5CBQVvicCcQvIipGVx6h+oZdzUEXp4V7y9sK72cHGBTaesHzb WLD7Yo2CmkJZTKlqPy+A+MO6ZRJvjLJ6N1vQj+1vXtH53S00pwkBEAfNKVIbQ/8vTKGIX1yZmiO 0T6UFXfF6MPKKGwemWFimCEq1130SmhJ9PAZi5GisMLDa6ppVQ5DAb8PgJr9+uUblz8LWoTSyEK eHYZR//SOAHjlXX+lhSiCSfTtzM6BcIgEieWYhoLFkqH5+9OoWlpLKMxZkXQqa9FGMCaEnpvnZh JAI/jkOuZ6SLJpVHZ4xecXM7MG7OLEsdRCTZuT72gAUyjwJExOGxQP2atzMCNQrayR3ai8e02hi WhfVU2ns22Ax+x9gHNkgZlaSzxPTnXTkjKtPXjHYts176B+EqOO4BH1ERLNnexFCn/I+kCaCC5r CHkvCrvNclpeotUsVeEHm+/Lbhpg29dOABKuosx2ktozEtOoR/Qd7KYHxP09HWEaLN/hG2Vg8WQ ZuTi5CzjOxE3tzFHU6n5BlgmquuY07P8/1HaWJsSR4QaDNAamh0VEnVu7WLXBsFAhoB1fWMaLdH /w7983gF4JCstwg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Just like most of clock controllers, the SDM660 GPU clock controller is also some variant of standard Qualcomm GCC, so reference common qcom,gcc.yaml schema to simplify the binding and unify it with others. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/clock/qcom,gpucc-sdm660.yaml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,gpucc-sdm660.yaml b/Documentation/devicetree/bindings/clock/qcom,gpucc-sdm660.yaml index 0518ea963cdd..79bb90dbe4c1 100644 --- a/Documentation/devicetree/bindings/clock/qcom,gpucc-sdm660.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,gpucc-sdm660.yaml @@ -33,28 +33,16 @@ properties: - const: gcc_gpu_gpll0_clk - const: gcc_gpu_gpll0_div_clk - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - - reg: - maxItems: 1 - required: - compatible - - reg - clocks - clock-names - - '#clock-cells' - - '#reset-cells' - '#power-domain-cells' -additionalProperties: false +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false examples: - | From patchwork Fri May 31 13:52:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13681724 Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (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 2605E17C7D9 for ; Fri, 31 May 2024 13:52:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163577; cv=none; b=B3/L6dYI7GyqWIUArS2u9xJP6pMgr5YuyYi801vNKRyPNsDji/W0kkSlp4xxNgv/x5c83RZa2g5J8xTBQaUZrX2GI7KpCgFbxwGlYOTt9TSgGomREgPR639Yl2wM+z8Wp7o47P8XbLucef3/MUKTy6s74IEiTD/YgrESa6yumLM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163577; c=relaxed/simple; bh=Vfvm+u4fvg+iw8i2GnUcIDJyAUHsHEkvgi7QuRpdSjI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dr7wArYh9zhxmp+KgKkbDxAXPuNL6YQYwV37wvkVGdeKk//7aJGqHq4ZDHzXnh5gU29+lDRF3SoiBaKz3C7yFBbzdHdtq76asXyW/xlxzzEzwKAQCjgLFffvtruTRb9Atffk/YKHuLfX0YbMq5o5sygkRtVAOcs0Ym5qqCuM3QM= 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=wVf3OcQU; arc=none smtp.client-ip=209.85.208.178 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wVf3OcQU" Received: by mail-lj1-f178.google.com with SMTP id 38308e7fff4ca-2ea829329c7so11536281fa.2 for ; Fri, 31 May 2024 06:52:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717163574; x=1717768374; 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=8n/jTL+LmHdAYlGgXlxxyFJOJwKdK3jauSwSYZvCZqE=; b=wVf3OcQUYRE+TRnQchCx7ETaRiUtSNU9TjxiS4YtiD9+OD5NCvP0c6UjIE9/6kuF2+ 4tgvOODoXhIKRit7LGjm1AFtdLWhUX/4NTTNkZG4IumkigTXGOrtnseQ9VHCy2/Ueyfh 5agAU59mfOdNN11x5/06LlnNdWjiItTzMRWqAUb737gGEbjf1kIdYpL2VBmiDsG23uCE aZu0Zf++mJ5U9uTfvMJ+R0PTDFq2xLsn+1liwapX86fZHDRjydb++tFhnS1NvvGzMNF+ I6G0G9uzZeB0nD0yX1aCe3mxDTU2gGsQobJeCiv8YWrvEx3NzR2U7WlX3jU5BMWSV/fP q5/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717163574; x=1717768374; 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=8n/jTL+LmHdAYlGgXlxxyFJOJwKdK3jauSwSYZvCZqE=; b=YwogU9H/VKlB3gMf1Tr1pXwKdldTxkAZD5cvfau55rar/ohZvLbjKzY9CgNaVFJJ55 r/TqywkmAsF8f7JksbRU9NUNU26fCADJlHP9OqKOdXvl5YVuXLUb8WJ8OoNUw6XiC2Ob rOtgiZMMF9GQ2J1mobHqyqa6gHIQ8XhxJ/1iIPxH34srKqsnqAZjRRcYMHLrCu230Oq3 oioCG8YfOtPTXKF5YC8nKlWPoHOuggf3DyiJuODunvqc6/O9YnO09R+5op0h1pT65PVU 2yhZULb0pDdbGYdxRDsyhQxMsoKw4EEr7blsKSKMFpg/1X8Sp3ecqo/1xyZqACNmecg9 Urkg== X-Forwarded-Encrypted: i=1; AJvYcCVXnmsAvCGjh9C6jblc9XMJYQ/sm2qet/SGNbFIFPz6A10EtoiZ20lz+bJXw8C4riO60JrqYa1xMywozq1/oAsTYCBgo1JyRaLD X-Gm-Message-State: AOJu0YzcreBk1WrZCCltvwGL/YuE1Eh/bAiOtaYQA/Ms4dxfA00iUuG1 mxWIgT2QL7EVvEpctjPN3Ud69uP+TE5Ya0joyS4XF0WkuApfk2sye4iBT/37TtQ= X-Google-Smtp-Source: AGHT+IFWLW3O/JdqTmbPA3g3aW6gRBJrnE7c5Iv8Xr9ShVYjF3EAZktdHQLo5Pq/+gYNIjfbHCwlog== X-Received: by 2002:a05:651c:14c:b0:2ea:8125:604 with SMTP id 38308e7fff4ca-2ea950af013mr14357891fa.4.1717163574563; Fri, 31 May 2024 06:52:54 -0700 (PDT) Received: from [127.0.1.1] ([110.93.11.116]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4212b85ec87sm26762735e9.27.2024.05.31.06.52.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 06:52:53 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 31 May 2024 15:52:25 +0200 Subject: [PATCH 07/16] dt-bindings: clock: qcom,gpucc: reference qcom,gcc.yaml Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240531-dt-bindings-qcom-gcc-v1-7-b37d49fe1421@linaro.org> References: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> In-Reply-To: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Konrad Dybcio , Jonathan Marek , Del Regno , Loic Poulain , Dmitry Baryshkov , Neil Armstrong , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1425; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=Vfvm+u4fvg+iw8i2GnUcIDJyAUHsHEkvgi7QuRpdSjI=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmWdYcOIMbR1GOog8+d9B+GKxE1eUuatlyl6Nbm PJgaEL3R5+JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZlnWHAAKCRDBN2bmhouD 1x8OD/4ydcEWWBvDYBh5NQigqFRUX3wKeSwjmVij9WJm0TmBXNusA9xbLXZUJ/kcq92kj7smF3Q H7Sq4vujrzOicY2UwygNYs4RCjieZqWgkN5pRe6nXKRa3jKADVM/Epb5CGfe0IFlD7yS5VquBRY sVBTtxLdnifwOOeqd/Vgd5YpLdWv7+Z6CTIxLU+OwL5QpQNTAif2jmAefxKGJyNd8X0rA7kN72F 3Tv/p7mn3J63LpInmoYaa7uKbT/yhnWJisP2frrnCmVt2yFLcav8YYZYPoU+DcPE6y8bqpwCuVY lm3crh+0JdrJYTvZhY5LK0C7o8SgIaLuGCKhV08wTlP8MStlp1y/quvFi6jCt2Lfxj6JeXnEXuK +PNwMzQecFokEA+GjhZ8pN+etDhdG9X+3/8jlaUXMx+U348aDHRBd6rSgMspW088jVYbcnOzr5K dhEYIvQIxXEe4vp9rRUAAnZ1AKVpA+srSP//BNGHKBkouFg5/in5nzXKx7nPX/5+khumdt8nRzW axBBeRFU5szkq8XmtLZ4y/N3xRIOUgrkk5mYugMuejlKPEXU/w/2khJl0+K6bWdnOVE1mfJ2/QB cX/8T0tn4vleW3LClxbsXJBeBfpDzT6a17Ixj4PUfg40uIZd/y2dwmVfW7PUpGGDzZ/1CwKPSNU N0kaosUF6py2Jsw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Just like most of clock controllers, the SDM845, SM8150 and other GPU clock controllers are also some variant of standard Qualcomm GCC, so reference common qcom,gcc.yaml schema to simplify the binding and unify it with others. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/clock/qcom,gpucc.yaml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,gpucc.yaml b/Documentation/devicetree/bindings/clock/qcom,gpucc.yaml index f57aceddac6b..0858fd635282 100644 --- a/Documentation/devicetree/bindings/clock/qcom,gpucc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,gpucc.yaml @@ -56,25 +56,10 @@ properties: vdd-gfx-supply: description: Regulator supply for the VDD_GFX pads - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - - reg: - maxItems: 1 - required: - compatible - - reg - clocks - clock-names - - '#clock-cells' - - '#reset-cells' - '#power-domain-cells' # Require that power-domains and vdd-gfx-supply are not both present @@ -83,7 +68,10 @@ not: - power-domains - vdd-gfx-supply -additionalProperties: false +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false examples: - | From patchwork Fri May 31 13:52:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13681725 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.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 A27CA17CA00 for ; Fri, 31 May 2024 13:52:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163580; cv=none; b=LiZj7HwaeO3S9YWo29EFyDzWV6KPrj/C3Cej4eaZRIMlTYMmhG9XqygErp9PFUk84Q1p5816nd8569L5OGWZUDuHduW8mU7PafqbF9uiYrxF9n4FNBqu5GEgoXHXoJzaY/ZvT5FaLphpD9AxY/YiaIm1MlDaIhxYwtMvevh/EHs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163580; c=relaxed/simple; bh=1azua4kGeU/+HHhN4dSXelf6hIt41nJJA8JGWRnUTaE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JxATEYhOahL6VP8QSUpEWB6feqxtvYB6dXLJsZODefbct8C2rgpJn8GaZmVscc6oiAfUOUPz9rTjT1qnV6un/k8EM95y0o32LJCwmVunS9rYRn0y+LCo5OhhGUajqssub05Qu6kiKEwvwg7bTou9R3IJOrIigmaR0WzTg9jdVfI= 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=qpukVY+0; arc=none smtp.client-ip=209.85.128.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="qpukVY+0" Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-420180b5922so26189905e9.2 for ; Fri, 31 May 2024 06:52:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717163577; x=1717768377; 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=Xxm8Vxw4tCw0GlQ/dnU6gG3Z/463+BJOjiGsiCHJ0EM=; b=qpukVY+0h/ngRyFUeefD/63hQLm0gXLedLI5cCNbMqz2zCirjckrlIMI+x8mORTOYM UA6clFYiJOjuYfpzoAsrySqIOolaY5VIfLvnFSUfsIJ0K/DgQIg0WK3xXNkyjV88fGpM WmTFBJ2pRtUYinx1cpF8F7yiazcvbswgDSZBUw3P9ddgx3WDhWsuglX62/R28D6Rz8Qw LSSj6EPxXsit8MzxWiFVFFtYjuPvV9GB5lZuPmUy4FGr2d6FcCEbRgXl6hlaHzU+zsTX 7OxvfMzrNECPSKPUmH31OIpL8iwIJLWpfbFSd47z9qKLA7UJJIcpcAW+iJyJi9UQ5ohb Jzxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717163577; x=1717768377; 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=Xxm8Vxw4tCw0GlQ/dnU6gG3Z/463+BJOjiGsiCHJ0EM=; b=t5N/1m1DXuJtWqmz59kjZtgP5yJeq59K5s8kGgK3wtD4aRVHn/DahG8kL376NZCfB3 tDYP9YCYqf3MSsrAJvVf+gq4j4wg7hUKfOzDkKzsBSDXks7WEItG/65pADDKK9n8zIKG 4dc9zeKzmtajUTz3xp2N1yyShKFaoCW33SIMSGU/9dUlkWJdq3WQwsz5oVJYpo9llAiQ FzwagU6FSKYxe1LoAqIbxrQEoaDlZ6BYhb751UPBD0AZFFv5XpSX3Lw/FvrMhDly9Ukj d7bKSUBpB19hl9P/JWIRlnj9hMAxz7IbpYeI8IkOoxxZAiSJ5Eop14tKlI5CMbxzG4n+ QNEQ== X-Forwarded-Encrypted: i=1; AJvYcCUamcBG8MYFo9NtV6KS0uGsS1TP6TYM1+UepS1JinZ2+9WU7GqqBP864cWJnS13ljpOVcCKXTRAIOnxUOkyOHTTbeNsYmg/cejp X-Gm-Message-State: AOJu0YyN4ZOOuJL6D9EIu0qFemy3a/JEgmHLGv4dIeb0Yg3rNDzK6bJ0 mPxhQlD5YodWmqu0ilKXeipZtuiP4cOtpbkhfngbXMjECQ0P2s8Leh9LBHHF+/s= X-Google-Smtp-Source: AGHT+IFgb2o74CXzT1MtmrfykQ4/i2AJtVMDX71IdlMTBxLIaNCfPr5sFGhsNdLtRdZVJpyFNWx/TQ== X-Received: by 2002:a05:600c:45d2:b0:421:2429:7e46 with SMTP id 5b1f17b1804b1-4212e05019amr23247655e9.13.1717163577078; Fri, 31 May 2024 06:52:57 -0700 (PDT) Received: from [127.0.1.1] ([110.93.11.116]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4212b85ec87sm26762735e9.27.2024.05.31.06.52.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 06:52:56 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 31 May 2024 15:52:26 +0200 Subject: [PATCH 08/16] dt-bindings: clock: qcom,msm8998-gpucc: reference qcom,gcc.yaml Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240531-dt-bindings-qcom-gcc-v1-8-b37d49fe1421@linaro.org> References: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> In-Reply-To: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Konrad Dybcio , Jonathan Marek , Del Regno , Loic Poulain , Dmitry Baryshkov , Neil Armstrong , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1259; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=1azua4kGeU/+HHhN4dSXelf6hIt41nJJA8JGWRnUTaE=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmWdYdbnMgN/4r+s7a4Sac4o6T0Q5FeMFok7xY8 jViacz3ZKyJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZlnWHQAKCRDBN2bmhouD 14xpD/wKCL6CwRsu9pWHrxGxZPNiR+RbdKu6ovyWSsMPZ2tWQnfR8Riwa+UaKE16axuuFFbyPPs VNoHCpoRzvKexZI4C+ZArBt3gmLiP8PkvygYUt80NH4P10GFy7/8lEEUnChsltxztnUQvqv+t6s y5xaYYGyfnEglAF2rDdlopEmH+dmTqIHn5KxZPIWKcz0LCbV24Xchpys9KA7C7MdXps0nAaqseZ YBYwVYLlTI6+TKAy38xRIOhbYdwEcjsrs1G7BX4isPCtiFk/+yXxMaDFYhBwlVrr0VY5z0JxfSv c8KQ/wjFtx7y4PFox+/UjaKOuIeOd8GZhswjeUcAn3tlttUoE7DYdxbqWIGEKIL91yT4a5uNAJZ jZpV8W1qk8AahrgIUj13wjBcNrKM55h1ffmwjcZsumDei+Kqkik/pxL5WRezIoALzbQ9amXOhqd ifD802TQYHtRQrQkRsyF84798+u7zKNT26tL0LUU2mwNZSiTPMijKPWOholYARr62RHA8TcjD4I OEg6FcNuNCkwVqEx4rG9TZeAL0W+YTkdPPA88Z89EWpGPVdA8mHbpT1LEUMs/SlHe2/VO2aVHy+ JRbbStDSbaPtwwgIiQNwzCFVuQT6taEEyVUUI7d9VuOrxfOG+YSGw70o3LfXJteYVo4VqzUKKNi 7XtTTTwKv4gtK+A== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Just like most of clock controllers, the MSM8998 GPU clock controller is also some variant of standard Qualcomm GCC, so reference common qcom,gcc.yaml schema to simplify the binding and unify it with others. Signed-off-by: Krzysztof Kozlowski --- .../bindings/clock/qcom,msm8998-gpucc.yaml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,msm8998-gpucc.yaml b/Documentation/devicetree/bindings/clock/qcom,msm8998-gpucc.yaml index 7b271ae210a3..b9b218ef9b68 100644 --- a/Documentation/devicetree/bindings/clock/qcom,msm8998-gpucc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,msm8998-gpucc.yaml @@ -29,28 +29,16 @@ properties: - const: xo - const: gpll0 - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - - reg: - maxItems: 1 - required: - compatible - - reg - clocks - clock-names - - '#clock-cells' - - '#reset-cells' - '#power-domain-cells' -additionalProperties: false +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false examples: - | From patchwork Fri May 31 13:52:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13681726 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 5C7D51761BE for ; Fri, 31 May 2024 13:53:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163581; cv=none; b=aPPwsfwX46W/6XLviaYQuoAt6MGyXZBdsaVa+Lb51YwteEpUY/OrC/ZixwV4tX1N7omQwMoF48bhwY73hzikJzWvx880Dgzkvpuzr8Ht1M/JOrPiq+PwNe6LShw8vHMKVZR4kxz/O7UWhmr7N6pKU5WL6lNYwj9jnXqrcOsxaZ4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163581; c=relaxed/simple; bh=5BeSec7v1AMmHJLUmsh4VrTtxC8xluSUQXjLGhBn7JY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MdposKbqP6PHQxNBCguola/MBcv9u7uC5qYLq97R5Af8pJt5b0QXUO07rM37gdfbDm0XlEjQN/dPVUH5Kx7m5VcNkKcpqqc+wbn1rdSg83fI0qurTOavUXjIZmQENaRCxG24qKbI8YQUPIoJAqtOJWjkNM6TybqSZvbc8kXrPvo= 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=O2ih0J4G; arc=none smtp.client-ip=209.85.128.47 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="O2ih0J4G" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-4211249fdf4so21356625e9.3 for ; Fri, 31 May 2024 06:53:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717163579; x=1717768379; 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=6Kp3FlZL3vpl8RQdH6FMVgYMrc5D3pZNNwarcB18kV8=; b=O2ih0J4G16T1ztqKxegE/b4l8S6cRI0NANM66Hfu4i1+tmfA+509QNuzCiLK768eKp KwsPIFestU5g8vfpy6zzl8gT0yZPSUGrdJTCIj9u8EeptVfwdVhyHKKQ/Dg2snmDYFRX Ml2g7nAQFe/16uGIwByjlkXcKYUrb04v4TbOixWjLB+taNf38hdA1tMzpIjrt4dTleQA H8QVBU2s91sYN9QRSVE5My4ayreC4QWuXz/7rNOizYibxTPnPEvSGM80JY7auvMXul5L nPxZTbDlrvjNVXWEGIMObHPkO4NxdppPPWGbQlqZ3kNSC5YPRGrj+l6S9ZwmbzDdilDD huRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717163579; x=1717768379; 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=6Kp3FlZL3vpl8RQdH6FMVgYMrc5D3pZNNwarcB18kV8=; b=dl2JU7g0C5r9OG5dQsRkHzLRZDB6k5bUIiLjQE8sJrgIHV+Ywc5AZnsPRTdExGIda/ fg5ns+madkgbzbQkjTgJ15nlPMXiGXmfaNyTJqIqXulQv1M3gO9g+GPEAJNyTbmKn7FQ kRTXsQcEgKxvOWq9C0L1o9X+y/kqZ/KGZOxU3BpruTIBZ7IOE7eSRsk09EHj7zB9bXD9 E+IOA5rdLu6waStcPgCRkecOvf8BmM7SZKSBnp4P41kVTdPwtjGeKcHDY2tF1QwfnQS7 +3qwMDgBf7LsqRo/oSa02GTViijUFf/e3zXyo+okCDPDDxzS/i2GofTcdM0S/6Op3Fgg iuUQ== X-Forwarded-Encrypted: i=1; AJvYcCWuD9oJZoIp6qGd7FIFatx3AFntiIUzPMfJvjSbpRyY2fB8YxW9CrkaT1SOJ+zwA4jsLHcXJ31N6ft8f6NAv8g87yQypBP93bez X-Gm-Message-State: AOJu0YxfvxGASr6GZyjNAe3W4nAKM8iJosSelC2lbhxe3AgwRLmlut/W SuFtGStQmmZ2eKDNL17a4AfyK/KZ01bGVL5FP7E77LyUXJoNlBWXgUxi068NwBA= X-Google-Smtp-Source: AGHT+IFhbxFrTxcXw01ChCjyphZ7CDGcjK1s33QeGmXcDWQv/pSQHjDZTPJf2ilHOsyhzJmx6hxlyg== X-Received: by 2002:a05:600c:4eca:b0:41b:ca45:8263 with SMTP id 5b1f17b1804b1-4212e049f20mr17762725e9.12.1717163578888; Fri, 31 May 2024 06:52:58 -0700 (PDT) Received: from [127.0.1.1] ([110.93.11.116]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4212b85ec87sm26762735e9.27.2024.05.31.06.52.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 06:52:58 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 31 May 2024 15:52:27 +0200 Subject: [PATCH 09/16] dt-bindings: clock: qcom,qcm2290-dispcc: reference qcom,gcc.yaml Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240531-dt-bindings-qcom-gcc-v1-9-b37d49fe1421@linaro.org> References: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> In-Reply-To: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Konrad Dybcio , Jonathan Marek , Del Regno , Loic Poulain , Dmitry Baryshkov , Neil Armstrong , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1308; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=5BeSec7v1AMmHJLUmsh4VrTtxC8xluSUQXjLGhBn7JY=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmWdYeyye6EFnWtGQHltgbK1S1pyh5H6awgyeEc cP+6jo9QTKJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZlnWHgAKCRDBN2bmhouD 1+yGEACFz3LEw79i465InaFZ8RCwsxuKDhiIVtZRdfL1T6ZqTbw+Nx5+p5DdN2+d1KVMsJXm2Ld 5vlF0YrK2dWrCbPLtgqCtXUbryj608qcPWHVIru3Mlektbj7OadMWLzyBAXsZl/kxasX4nii6mM c9uQLw+H3pyjbSVlZznhAu3kVhwHpJPSTt9bX4w2QI4gQZvb7W505WHG4fXwD4movcwL1d0fRur mRJhBit3tzc0stQ4Fp6AN9bl4vLn0PlTgWiedSjlKZlYZ22y6oGoYqSP/769TYLmJfHr2zwe8nQ IOwvLcNS/DM/nlliFJFIgnRbGtIpFI8x2C7Gd2KD13p60uSOjREJj7uXwkFKFU9+X3Qjdw06zPh NJZ79R3voXuyP38zGwO7cxthm88ofpshAvKwuoBv1E41m1ZM2SLJlUa1thjUBbSbOuAkP+F06Ym XOvy71Rg7VSUlCWYm5MbECpb4YNIcV3hpijo4JhYatTQIkPQIIoRSxzTEAvn3SkDstfDkIAjjD1 Q5SSKtgXYQF3yKkEK1z2nrbBIXuRmPiQflAPjiRnsABZVqtBWia3mFvJJ9KJCnemZSZn3raIvUN eVUexsjvRaa1ZIjv3+9Mrf8B5c/uCApOGkj23hxF17FrcnZL44J6frWZSPUGJ/uloBF5yRm09IJ oX7y7eXanpTzA/w== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Just like most of clock controllers, the QCM2290 Display clock controller is also some variant of standard Qualcomm GCC, so reference common qcom,gcc.yaml schema to simplify the binding and unify it with others. Signed-off-by: Krzysztof Kozlowski --- .../bindings/clock/qcom,qcm2290-dispcc.yaml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,qcm2290-dispcc.yaml b/Documentation/devicetree/bindings/clock/qcom,qcm2290-dispcc.yaml index 4a00f2d41684..243be4f76db3 100644 --- a/Documentation/devicetree/bindings/clock/qcom,qcm2290-dispcc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,qcm2290-dispcc.yaml @@ -37,28 +37,16 @@ properties: - const: dsi0_phy_pll_out_byteclk - const: dsi0_phy_pll_out_dsiclk - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - - reg: - maxItems: 1 - required: - compatible - - reg - clocks - clock-names - - '#clock-cells' - - '#reset-cells' - '#power-domain-cells' -additionalProperties: false +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false examples: - | From patchwork Fri May 31 13:52:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13681727 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (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 41CFF17E460 for ; Fri, 31 May 2024 13:53:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163583; cv=none; b=QnQEGYuxInesirDRZtuT9xd3WuNmK4WZS8R4i620mbqtlctnas+3XlY2QRq9M6OY9HUGog3ZPNt0RKmzZ1qLvKdhj94ndFAEQLfIsIONwFXW7P2ncAcwOowy+63uBkEPn9/OYfFB+i+Fs3X4QAPaUVCeB3dRHXXj/RXe6yqY4cQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163583; c=relaxed/simple; bh=3ORNC5FiUzzBbxJxApm6hBE/+x/nUPeOAvit+aoeyho=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=BW4UbourqJdtg7lqAEeQh7vTyJhyHdty0LSMAvPuvGIehdbGt5LV7FzAXefpcAC1tK9R/gpj8jvUHuQ0aeUJdRkCFE9FLnNIBl5+6TcPcdoPVBQQleIWp34P4jmHgxKgq9OJNxxgI1yu95AT0xAmvhqkL2bPIhiKDdVcEK84JYs= 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=DQ3VSxcC; arc=none smtp.client-ip=209.85.128.48 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DQ3VSxcC" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-4210aa00c94so19785375e9.1 for ; Fri, 31 May 2024 06:53:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717163581; x=1717768381; 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=9Ov5sxw3rhPai6FMP4JukcZ0OC7y9cIlsN8cynVejVo=; b=DQ3VSxcCBFzat6X5rh2riBvBA881jEGroBAOAlpZYLOmAOo3pAJC13WYixQKi6rh5U PIIH4f9HwPKkfre0cMna8JtxI2cApPZtDb02Y1Ti3/IyqWMmY6vbPJKwMmsjoxihH6XG 589K0u/CSBpZTzrjTvV/WIh91IYznLjlSPmY/6lQIR9pgwPs3sPO9TUb4K2yd1vXMJ4B 0N7fyd2cfN7Rcmu90StXZcJ8s2Mr2gCBidENICW49aKuBQEo944UmwqYd6ZKBpL8ot/U tAN0p7cqrwhHs9mYLqi6WJxNVoMlfIkfezqzz9lols/Z5OG27KkuXEdqjrpkMEdXOK2e RIoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717163581; x=1717768381; 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=9Ov5sxw3rhPai6FMP4JukcZ0OC7y9cIlsN8cynVejVo=; b=Pz05aSbmihj5wzYTJyU+z8KhEYApEpAP39wokl7p35Lwy1JCxnpUftp7B/big+/QFm z2kX3lpYcSNoNcyRU49TV8lvM9KSTI8Ty4w3y7kfRlYRnPUDBgIr6ZHJ0GdWIQrmw+pI slBMVq7GPnhhkfILxoGA3KAXV20u7KTD4D1LQTGYhu/iEdmi5I7gY2DDGXHl/HbDdlZe LePjtJK6ik5JdPboZS6uElOmucf8XH6Q2zKntmYaqhy2f65LMZLR2g0ViWlvqXeyZ+mB fZhTRUtGIsQxcGX34ADWp5jod68+J0L2VoJGtCii+N8YyPSpQiSuPUMy3pbq3JaIHPG6 tBQQ== X-Forwarded-Encrypted: i=1; AJvYcCW1V/YoiT0vbxeMDtCdPht69Wt0vGGS6XXNqsGcqHkcMNf0rYRedtMsJ/lTUwaGNcmPvPMBF+03qwZ8X1/ZI+catv/Uvv9GL01P X-Gm-Message-State: AOJu0YwK+nwAQ9gHmb6EUS8PyqjGonO+O0ZfOkTBJuoAl8nWUMiyoN3u qpl++mDMe1IbnMnm5NXoAZJcBFmcbhLU0T/PRuJQpuhjBz+RJOFmVGA7YGUYcs4= X-Google-Smtp-Source: AGHT+IHLmUnbJcy/tI/aT7k7nBc6TnOBcV2ilW6TEfhYRlR16vQM9PGZwyWxFp6zfG/a60HuszQyNg== X-Received: by 2002:a05:600c:4eca:b0:41b:dabe:8633 with SMTP id 5b1f17b1804b1-4212e07576fmr14940735e9.21.1717163580792; Fri, 31 May 2024 06:53:00 -0700 (PDT) Received: from [127.0.1.1] ([110.93.11.116]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4212b85ec87sm26762735e9.27.2024.05.31.06.52.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 06:52:59 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 31 May 2024 15:52:28 +0200 Subject: [PATCH 10/16] dt-bindings: clock: qcom,sc7180-dispcc: reference qcom,gcc.yaml Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240531-dt-bindings-qcom-gcc-v1-10-b37d49fe1421@linaro.org> References: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> In-Reply-To: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Konrad Dybcio , Jonathan Marek , Del Regno , Loic Poulain , Dmitry Baryshkov , Neil Armstrong , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1296; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=3ORNC5FiUzzBbxJxApm6hBE/+x/nUPeOAvit+aoeyho=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmWdYfSz6eqWW1CA/IJHmrRjl4xF9UaV9GNRl4I l23Ch0JQryJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZlnWHwAKCRDBN2bmhouD 10j0D/0XqoC4tAKR6RTXc0Wxd7rTaiRs2rJESEi6CGYKpx4oj0gK+p+7i23eyHrzp2bp4f/ok5s Knxk6juIAsp+UHTXUSFUqMKd91iLnKH8tkYqQx73/CFcInaespLFvgXt4EFFJ0vIIPHw+Cga1mL Vj/BCLyFmuqli/z/asvYGcORPaS1leXikuDtf3/9tlGxya+2cG39mew/y++tYwzgaFi4ZlPfpQo zAueUAJdTuraNb+GBzvONJBVLs943kAVMrIEXM/6Kgo/A2QIStdstkdgjMNrsaF8F1CEYRnazpE R+G+VakoNjhizom6fuSNs9fFXpTikehXCWbV1PU1cydtBbzkqKgA8z5w/jN6zxqlXyUQYeTjGOw H+6wQlj3YUThI/GJ2ZdMI06ikpSw5ycjlub+5YL0z19aN2qwWTvDyA6W8qDbUv86ZtdvNRVShDv YGpJI8XYSXi4pZZp1IEOIrREh5cUABP//Tro47zeRrlGOsLsr0E32mXx7rAY7Zy+TQoR+O0yqEG OaH5j2yrn2qGZSVByj1hZXglmfYWHPJ5OaqzY724MRMjNLwhnRBe/iL2SqD9dFnfCK6fPiQ6TQj 0AZz0T4xcXgKwP+JSzSd92rMMPvkUW28TTEbsfF4HTMWlOYTt48HJ4N+rzaKwzL///tVkJBd2VA EgmC0PtggbVYYPg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Just like most of clock controllers, the SC7180 Display clock controller is also some variant of standard Qualcomm GCC, so reference common qcom,gcc.yaml schema to simplify the binding and unify it with others. Signed-off-by: Krzysztof Kozlowski --- .../bindings/clock/qcom,sc7180-dispcc.yaml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,sc7180-dispcc.yaml b/Documentation/devicetree/bindings/clock/qcom,sc7180-dispcc.yaml index 1c9ce300a435..0d8ea44d8141 100644 --- a/Documentation/devicetree/bindings/clock/qcom,sc7180-dispcc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,sc7180-dispcc.yaml @@ -37,28 +37,16 @@ properties: - const: dp_phy_pll_link_clk - const: dp_phy_pll_vco_div_clk - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - - reg: - maxItems: 1 - required: - compatible - - reg - clocks - clock-names - - '#clock-cells' - - '#reset-cells' - '#power-domain-cells' -additionalProperties: false +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false examples: - | From patchwork Fri May 31 13:52:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13681728 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.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 146AD17F4E9 for ; Fri, 31 May 2024 13:53:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163585; cv=none; b=ly1msxFOOWeCFRKbaSaidTCDBWEx71dfASq0kniip6Sn+54aIAFfeb6vrmbPjpYHKf+3TjtBZNN5r4Re2xIjoAfVj3SYQThssY9q8EoGboMaWnY5R7aleHli42BEvVqz1pZ9dxAwfEURxA97EdmkZgBWS675XQg0i443DkaHCdE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163585; c=relaxed/simple; bh=DOva5o7JruofS1G3C6j0Cce4E+7zctrv58XU401pM5A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Gn3EhNOijDqHcQULHgSgP70DlnAz91t8piF/1n9Q2aoLKZWyIGsVkKRRiMRtCgopaXz08YnFOH9XoS+yqP13vcv2gTgP/J1PajbXgDBKELwfG+khhf4xIr0DFVh/nEbo3y55vf9wJ5zlqhHa4Xv7V6yRb12Bfe97q4GZRYZp4Gg= 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=jdCjW17i; arc=none smtp.client-ip=209.85.128.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jdCjW17i" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-4211249fbafso19504275e9.3 for ; Fri, 31 May 2024 06:53:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717163582; x=1717768382; 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=AAqQPVNrdpwDzzvtCH3SxU93oCP7Rm/0w5IHgGKsNHc=; b=jdCjW17iJh71J3E0H+6N0C244NsxzTcu8wgsA/4vkOq7THZ8FhouEbU/F5PrnL5K7I a9iQKtZnt29/EksYjG3oB1WIQzY+QB1RdmKgSS0gUXCvSCYz5J1NTDlI9tXIzAtfD8w9 2EjzKN884v6gFarq/mXbHPRf36ZPJcXE7YgRsn0kFZNZEwg70LoJL52Y5Q4gwc4uNPpk 83TBahpeRMA+MoVdIbgeAP44RhNhbDzmEODIbt1iEfMiavwo0KFnneIgpEZLfjCj4Vh/ hq9UwPBH1q9SV9+ho+mgYspUqatQ1hcR4nEGXCV5MGQxprFbcttHGnVA94LC1averqoN mF1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717163582; x=1717768382; 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=AAqQPVNrdpwDzzvtCH3SxU93oCP7Rm/0w5IHgGKsNHc=; b=OJKqy63IhyRBUoyfFQY8A2mlJ1ndiKHBCkvl9X3VzcD4pP+MKgafEjGwZ8ONUWPCL8 qRj6+DY1gQnL5ZT5RWwnauEJVbi+QX7URmDHWPBfvNL17INREVW06E2G4rpAUQbP9GqG h6/uwM0uxwCqD9kljJYHfobbxyrszhSV+i+PGhrS1RaepImVUoLtbR/WlCFJK5ZiQBn5 xlBnums/FbZxqlZc5n71YUTYPjkUqy8iQkI+ymFNvgAhE1DLiYMCtV0gO0u+xrlOkmp0 PrAnK/PZ1JkL3tKSQ1Cs/rrw8y7xfHNhYOez3RXJQLtVWREu3z3OsChsvjqZ3USNQ4F5 o9lQ== X-Forwarded-Encrypted: i=1; AJvYcCWJtB9Xa3rIGkaylZdVHfY0jpUTmDeoI5g6OIfSXwYcU3aloyLK2Mbo4u5HswrM4x6nW80OMt3h9+k4C21e0+5gWITfj5ivQ44w X-Gm-Message-State: AOJu0YyxrnuVZk+UcDpkvRjTyUPVCbq7uiEoA/PxAfJM/ZNILIA2hOp2 94O9mJEJK+aiApSZUoOvvPb/p8UVVMg7/QsWhRic1dKdTiPtXL3c24ZD2Vhw1OY= X-Google-Smtp-Source: AGHT+IFgbRm/VHmhf7+BsyCQ5aIYScMJirfjEBdXWGHX4d8/k+V6Cu5nT5ku8wjKUfJ7G+rKdvLOOA== X-Received: by 2002:a05:600c:a04:b0:419:f9ae:e50 with SMTP id 5b1f17b1804b1-4212e0c146bmr16144195e9.37.1717163582463; Fri, 31 May 2024 06:53:02 -0700 (PDT) Received: from [127.0.1.1] ([110.93.11.116]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4212b85ec87sm26762735e9.27.2024.05.31.06.53.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 06:53:01 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 31 May 2024 15:52:29 +0200 Subject: [PATCH 11/16] dt-bindings: clock: qcom,sc7280-dispcc: reference qcom,gcc.yaml Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240531-dt-bindings-qcom-gcc-v1-11-b37d49fe1421@linaro.org> References: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> In-Reply-To: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Konrad Dybcio , Jonathan Marek , Del Regno , Loic Poulain , Dmitry Baryshkov , Neil Armstrong , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1298; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=DOva5o7JruofS1G3C6j0Cce4E+7zctrv58XU401pM5A=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmWdYgI/RTfRaXgWAfSs4mq2OQHkEnrHgYOCCqR DcKNRZ/aN2JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZlnWIAAKCRDBN2bmhouD 1/LIEACMGXSjmPLVVhHb+A6FXn/1sWJMV/2TN7n29dlpoZaLBn15Tsbf5+lroA+EsxormidFH6a i1CVL1ElhLNFCIdo+MsDmm3232uRokqnFY/yIQT+Q2QBWTW2oeogLvOB78M4P8gpZJRc6SyrwZ9 ZitSMV0dETCKyuZPXR/U/r29IShxRcM6n3MVcm4+VJuNJ01MS88mWQKAP98M+m6zsyS12jP54l1 2BLTEpHLiD+Jo6srjyMD1/7CbNWsqcRQneE14oAblC8CGkBDsE0bnwDTwrFrUxFseX9NJnjuCy5 bsBWcBdufDjG4Bl+OdWZXN7+eXZAXpEw4kqPAMD8zzPtaq5uyhbPZ1DHRgz8w6QFEMjY4/MdkIP wGRvmoh5EcTmau5+1Fa/0lCz0U9WF3D69HLLWVZDlW/C3i1ZW2QIWDK6/wR17OAEgY1J7sbCMNh 3dQLUjmsXrqzrnZesWRl6N1NeHHrNePQMqrNe9pF6l57a/UfFKTIReYPuf+IkVr6Uv7ER0/8fDf cBQ9LT5WWLvS1YFlodbqyWHEXRBMMT4H6yhpg9ytlJ9zvNGzUcHUb0AdaUt0RKcibBui8pEEqNY 0H8oItPihF2wQBYbpPKulPIAGWNxJR45Ni5c9O4s4k6Mxa8Gx9gu2cilWtZ1+QNCzM95gGzDJxt 9pE5tJD1CU//R/g== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Just like most of clock controllers, the SC7280 Display clock controller is also some variant of standard Qualcomm GCC, so reference common qcom,gcc.yaml schema to simplify the binding and unify it with others. Signed-off-by: Krzysztof Kozlowski --- .../bindings/clock/qcom,sc7280-dispcc.yaml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,sc7280-dispcc.yaml b/Documentation/devicetree/bindings/clock/qcom,sc7280-dispcc.yaml index c42b0ef61385..23177661be40 100644 --- a/Documentation/devicetree/bindings/clock/qcom,sc7280-dispcc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,sc7280-dispcc.yaml @@ -41,28 +41,16 @@ properties: - const: edp_phy_pll_link_clk - const: edp_phy_pll_vco_div_clk - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - - reg: - maxItems: 1 - required: - compatible - - reg - clocks - clock-names - - '#clock-cells' - - '#reset-cells' - '#power-domain-cells' -additionalProperties: false +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false examples: - | From patchwork Fri May 31 13:52:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13681729 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 7BC7417F514 for ; Fri, 31 May 2024 13:53:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163587; cv=none; b=tLU3HZy4gBtHZcQipdiT5GVcmGfd1fc3fj+LTx07uW064hhB28ygR7YHiyH6LO8U984MtcRt61OCTcoTAO+/62y9ciIMIwqmdVsJxfzWPQ++xMw82xrxOlminIsSC3PJf0fXiNAbr3EEDfQjVgZp9jf4TIgN/GTGP/23c2tRRb0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163587; c=relaxed/simple; bh=a3nkquIZAm40X7UDSijQ6XrUV8CJyLgnduP72STm2fE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qzm3Qb1k15R1hKJxiAVv2Ka7rEoUdOkfV324xRzTxepOwJ7aAAazItQl+z3mLHcdzseuBoYyWwgOfAdzbwN3Hvgcsi1Z5LOWb/hnhRNgqDFAZw4sbWXkFtqmbJGuIUWaF/qobRTnq4ciOuSe8syf141niREJsP83xsoRHdy8JU4= 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=TqREZSQd; arc=none smtp.client-ip=209.85.128.52 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="TqREZSQd" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-42101a2ac2cso10502615e9.0 for ; Fri, 31 May 2024 06:53:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717163584; x=1717768384; 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=3bj22JrOnCdnGkODtMpzRDOSnPS87N7HbJkievoZB3w=; b=TqREZSQdrPYlqWpfspqg3zNuffU5Pq7IZDlcObH1ApT1WNFNxAEyF82FK6Q7eMZAmQ 0VoaNscfz2OtK4MnpB06xZBSSLGOz/Lqi7tqrgP1A24Ikul43CWytmkhho/P3TJEuhWp thulBk8V9S1gcuoNiiGP0d5Kjj+mFAkuIK2xeYi/GATRrFFoLDs/5eYX+hzXHhrUgATp Gom1GJ1/yy4MlSYrt+LB7S1UtHOoetBqrrD0P5uPeXI9MCPgL5HhJgamihtnfSCadW1Y XpzH2VSBC1r0ctGOECI/nGJ4kGWuMBNXdzrXBggy4jB2Ig2GGNswr0O/PGqFmjkxOTg7 /Z+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717163584; x=1717768384; 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=3bj22JrOnCdnGkODtMpzRDOSnPS87N7HbJkievoZB3w=; b=tNjUr+nLdPy7kv4Zcksm/unnvLtJNHZahzWTuKTlJm7QGhLjTUHHySOUGnr0L30kax fuzrxDjd6n1BGT2gdYKYKDbG/+QjbB94lrTM/1fWx6Ue4krW3I52gVwJPgkIO7ssouoq lWhdjx+NYWCYdxuzZ5E2y8Ei4jlx2ubH1snsVWLj6n2bg62SavtB0ubFh4w/Q1P+DDfK eMHtOM/8+WAjLyoPz38ajpLSwcYd+kmQKyYKNr17gT7oSqmS7uvLAwOn2glzdzGd+4xL EZkdvTVW/dP34Qecuc93r5gwtNppzF+maWy1zZsCVxNcfd4m88oNxmSdkkuxUb8ijChT fp1Q== X-Forwarded-Encrypted: i=1; AJvYcCVoUNNrMgCflQviaYUoKrH9bGVIdaoOohonLyxEfSJGl25Ty074oZRat2nxmqSY82nCCCijdmFnUCJJD8nyX8eC9iq6o0OglkQb X-Gm-Message-State: AOJu0YyUNGlKZAV6OQrGYxqp1MteHdv/NqpiIPvfKFsP34mnP+rllPA+ 1yw3OzXlchFcrkAoXmAODxbwxqtTPt04g6H+FOpkl04r8bc4p0+5sPfPguhdRTk= X-Google-Smtp-Source: AGHT+IFkCT/EKJa/5F/9lJasokBUiOUQnSYtMv9keliTt8A5deI+h2o5cnpOEViqmf9aqVw4kU4CYw== X-Received: by 2002:a05:600c:5254:b0:420:1db0:53c1 with SMTP id 5b1f17b1804b1-4212e0d3f13mr14180435e9.41.1717163584031; Fri, 31 May 2024 06:53:04 -0700 (PDT) Received: from [127.0.1.1] ([110.93.11.116]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4212b85ec87sm26762735e9.27.2024.05.31.06.53.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 06:53:03 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 31 May 2024 15:52:30 +0200 Subject: [PATCH 12/16] dt-bindings: clock: qcom,sdm845-dispcc: reference qcom,gcc.yaml Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240531-dt-bindings-qcom-gcc-v1-12-b37d49fe1421@linaro.org> References: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> In-Reply-To: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Konrad Dybcio , Jonathan Marek , Del Regno , Loic Poulain , Dmitry Baryshkov , Neil Armstrong , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1303; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=a3nkquIZAm40X7UDSijQ6XrUV8CJyLgnduP72STm2fE=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmWdYhWRVPziUKMDji4XXqawmnVnzfA/zp9B12F u4FF6jTK0OJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZlnWIQAKCRDBN2bmhouD 19HYD/9WP+/1E/zQ1lat3JD1ORhlMFyQtKDlAauw4JHHGXuBnG9COSb82lH6HhnO0/RsfSx8FJO 6ixFEOGtFCtMkSOfil/dOTqA58qJc3xEFfvWkz/X2QDHaZj/2kygRyCxcFsE7N1RkBwgit/VIKb AY6sEZRV158fCHaz3H18n/5RrMErUNcHPRzsoyV4fOihvvsGvnJ21NuTwE3SO5VCZtjEHm+Oki8 ZQrbUNsu4MQYvlYilOLbNenIuwwyryR13BPU6bw6Xf2REecEk0I3AlZN8MsDYyCDWStVkS+T7N2 fGHRJi+V2f9tN5WoJbCLWjoo8GMo/jNLFd8omXJVR27y+kydKO1r0HvRAWDl5eSm5uwzAvt3/cx /Aaa7zAVg8DmlLt3KDIWKZsC9iCna0/jeN92E7K+2G82Elm2jOib/T8r3bAJDbBfbQCsZ/bFQhc 5lA2WZbW/MdVZoFSq9JFJrjO6xqrjyvVT7EBA0RfpAdpXmZj6kKFjK49pXO+dMSCD4S7EYDVO1e r8p2I7oW5YApE1AnejIoOsU/AvA7dadOXb+al6auaw/DwE8aL/zduZa8FTrmHqwbxmPawYqU/bS xS7A/+ctohRpZgxF5lymWC7S4eMYhR/gsVXdRXp3qXzVDi7fWLoK6H+ou///O/18a+nxq2qbF6P 4Sz7+fIopGcBoSw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Just like most of clock controllers, the SDM845 Display clock controller is also some variant of standard Qualcomm GCC, so reference common qcom,gcc.yaml schema to simplify the binding and unify it with others. Signed-off-by: Krzysztof Kozlowski --- .../bindings/clock/qcom,sdm845-dispcc.yaml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,sdm845-dispcc.yaml b/Documentation/devicetree/bindings/clock/qcom,sdm845-dispcc.yaml index 719844d7ea11..220f4004f7fd 100644 --- a/Documentation/devicetree/bindings/clock/qcom,sdm845-dispcc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,sdm845-dispcc.yaml @@ -46,28 +46,16 @@ properties: - const: dp_link_clk_divsel_ten - const: dp_vco_divided_clk_src_mux - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - - reg: - maxItems: 1 - required: - compatible - - reg - clocks - clock-names - - '#clock-cells' - - '#reset-cells' - '#power-domain-cells' -additionalProperties: false +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false examples: - | From patchwork Fri May 31 13:52:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13681730 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 BE86515D5A6 for ; Fri, 31 May 2024 13:53:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163589; cv=none; b=s/af/pZneF9xgO0N8RwU/+f2S6KHlMnwkpm/fwHV6vynVeQLWW5iOUBoLSPEg2nNcUKoGE7xXbFbDsWSsMcKAbzk2UiL5IyIM/h4/fwfHMxp45jhfzhMZ3TFbjhUCLvC+4nJ0wm2EA57rpVfFrQl1kWQWomg3/gB/QMtclgHQrc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163589; c=relaxed/simple; bh=cfew2uqiue8pFNos13CpGlclgzzZCODLpxXTLnBo56Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=T0a2pSCBErNS7wZYeeoJlj77fzIkPLS2gU2EDHW7ZpBGZC7mGFizvRiMZiRIYnB5XBD7IqrszIHRn4sQcplL/pnoPSqkS6a51zaePzNrX8Z9xgcqI1wHY6uxnBuXykQCSRJxcfmhF1XgjOFK29tzYtkc8ILJ0UCoZGPzjpYgnAE= 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=tDwoKNCQ; arc=none smtp.client-ip=209.85.128.52 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="tDwoKNCQ" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-42120fc8d1dso21385125e9.2 for ; Fri, 31 May 2024 06:53:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717163586; x=1717768386; 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=lITNrKf/D32zEwqFmpHWncROEACnXldi0tQCFUizILk=; b=tDwoKNCQzbXGPP+Rh6Sk6RV5XCoOmosdTkvJwn4T/OJqA4fXQiSYknVrJW2VvcWGSp VcnCOS3/qpWLhzkBWYNoikkILBhi5T79WkuiKA2Ia8auPdqUg91vjxaEUfsZ1Gtf77RU UypYH6PjhHP95hlN6uR8TbK5TqTuJT1ogrS7jD5Hyc9lln9O956s+M56coM1l+sQ3nk9 fWsxo9A/CRRc69MF94NNCk/57mG8gEmvlR4OpD3pEU+HcVjo/5QNXwMBS71cKHh9thAa 0LmL0+EkopDWS54eujj1EWGulhbp9bJZb9YVsbYWN22ugHrZNfx5YnEaG57Q3HhOL6/e TARQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717163586; x=1717768386; 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=lITNrKf/D32zEwqFmpHWncROEACnXldi0tQCFUizILk=; b=GAUwUroKlGT6v47fnDhYV3LFzBJn+j1PZn1OxrPnxCwERFV0gqYgD8KY3urEMwV2iO CmED6i1OYMfhOgvZRm0RARQD2kyHgogffAJSGmYxqiNuqbLABKvVTIJ2FRySB3MpQGgc jKKHQVSNj8S8yXHqcRyJr3WRrxWtnseMmv8/boH1Uq2XxP8qnWLcAaemXZWSk5MQaCTa RMBX/F1KF0JHRXMnnxjzO48Ksalopp8vPofIg/aCgFNrm+JMVLF2akPx8SHHBF9EV0PC GAFHjLebSlzkbBaPgEdr4PuGYr2WGTkFXsLcFISXDhP8/c8OY+YuCYfM6Me774hASZsS xe+Q== X-Forwarded-Encrypted: i=1; AJvYcCX1mQKANyJvt/q85ABKyI2O2dAlbmKJ48JOkb2sTAZx5RNM1n5/wemcWL6VXBbRZBNa/cGCYZ33qck/O2GQrJMYQiZa2ilNBGlX X-Gm-Message-State: AOJu0Yw8KhqjM+OhksFNIcelYpHTudZoiEfnOGLZMR2090i3wSJzzSsl SHzrqSBKto7zWJyZXbXJCef5/ezCxvcHlQTRjR49Qavgo36Vf/sSLXmL7n9DEuA= X-Google-Smtp-Source: AGHT+IGXriIxT5GCBQqSd4h7yTp4WjIT8oD0lZlD8uG+O6i3amcCrreGx65ovgudImDbX2rjxycHIQ== X-Received: by 2002:a05:600c:4eca:b0:41b:ca45:8263 with SMTP id 5b1f17b1804b1-4212e049f20mr17765825e9.12.1717163586231; Fri, 31 May 2024 06:53:06 -0700 (PDT) Received: from [127.0.1.1] ([110.93.11.116]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4212b85ec87sm26762735e9.27.2024.05.31.06.53.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 06:53:05 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 31 May 2024 15:52:31 +0200 Subject: [PATCH 13/16] dt-bindings: clock: qcom,sm6115-dispcc: reference qcom,gcc.yaml Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240531-dt-bindings-qcom-gcc-v1-13-b37d49fe1421@linaro.org> References: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> In-Reply-To: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Konrad Dybcio , Jonathan Marek , Del Regno , Loic Poulain , Dmitry Baryshkov , Neil Armstrong , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1303; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=cfew2uqiue8pFNos13CpGlclgzzZCODLpxXTLnBo56Q=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmWdYifcwUaQQHdugSVV3jvneyfkdccaC62mxeu KeNXoOPz5mJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZlnWIgAKCRDBN2bmhouD 19aqD/4i3BWxzlgKR1h61UuulCx2uBbANkRukf0/zXhLreF8+PEFSUllA/UxyEu7fyDOCz0A9my OJcv0mbUrHyo50qjx6pwVpizmc9OPncQ8Zid7/VazMCPGjgoR5n22VQK7O675idFZQjcxwcBG7z 0yqc6TD5dy72Mj4EJ3NgbqcjAYJXrz6ON1g/o5YDW8uUG4DxhD2wKju0QqwVVNp0m8UP/tMSXyO Ha6DLvV4uGwSGlqvPcTVFkVfR3ehugPZMy1CcZac5vDyfjWtTn+KrNkCIAgJNIbUvl/sgRYn2Bn UN2jBHYwZt0rIOU4ue0iqZcg/OX4XTHBRdP90b+WuAHPAa0YnZ2N0R+PUC/+IZ/P57TL5pVBF0b KGniNNzhWdNh9thHjQdIDxLXhBKcfU9oMCWyG2CBbgNY9w7UHPk5LsatDpTExNFhUFeQAWPU1R8 OpEtg0SZZ27pH8gpoy23xdDhyXtd+EqIm/ZtuFb2opkcgVeds364v2eJ7PIpROiFHiPrUlCPlrN lrSvPJFr5ff/yXZMFYMzM1EMvK5FoU214TQXVxFJIwC9DhX/hibYNB1goPCreeojVbKi8xawFCJ clTmpW7xCsCs/uMrH+yfkyVnsBxqSZp0al+4fomea4ZePJ1UgVXrUtFJmXLQ+hZWeTOq5lkDfIk pGXrYb+SzcdJmzQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Just like most of clock controllers, the SM6115 Display clock controller is also some variant of standard Qualcomm GCC, so reference common qcom,gcc.yaml schema to simplify the binding and unify it with others. Signed-off-by: Krzysztof Kozlowski --- .../bindings/clock/qcom,sm6115-dispcc.yaml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,sm6115-dispcc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm6115-dispcc.yaml index f802a2e7f818..00be36683eb5 100644 --- a/Documentation/devicetree/bindings/clock/qcom,sm6115-dispcc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,sm6115-dispcc.yaml @@ -28,27 +28,15 @@ properties: - description: Pixel clock from DSI PHY0 - description: GPLL0 DISP DIV clock from GCC - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - - reg: - maxItems: 1 - required: - compatible - - reg - clocks - - '#clock-cells' - - '#reset-cells' - '#power-domain-cells' -additionalProperties: false +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false examples: - | From patchwork Fri May 31 13:52:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13681731 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 5C4E81822F4 for ; Fri, 31 May 2024 13:53:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163591; cv=none; b=VicL1oobAw5O9Rj78F3ouGB6ZfI3c/uvWObI4vEZ+/+AwN3bM/BeoHrJTMJCs9DwTHzZqlBxSa50f2PKP9MSBnKeHzyphnDuA7vIVWCEypv5lrY19DXfhQBOnpqjXNatrxiSh7uyIoNZjr/AMJSZOlJHnUNvjacmeTwT8BjC/ow= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163591; c=relaxed/simple; bh=ksw1dGtcuFGYmqV0VwqlYR5ZUezhxW3IRe2STnM77yY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JdhEsEC4oG2JL89d0z7foS55lM4wibzXv96xp0SK9lz0U7fsZH7eGdrFIYM9EQLEb55o6ayuzYkhJPeCGs4/RFExCBxCFg6sr9/RkHSglFSRhysTxQOTFuN9gjwF0yh5/HGqPfXLEG0fCzDXX8qdm8p6ocwRl8qq4y1EkdSyzn0= 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=GZPeN7KX; arc=none smtp.client-ip=209.85.128.49 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="GZPeN7KX" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-4210aa0154eso14209985e9.0 for ; Fri, 31 May 2024 06:53:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717163588; x=1717768388; 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=su/OgBx6YfPX3DIZ95pqxfeUtNbtsthTdIU3wY/p9Xw=; b=GZPeN7KXahZhEesHIUZOg3tNu5ZXcCVAktXl9156zCNdEZZD76tulXJaNMHVeZLgP4 b8+NGc36f6dSVInbF/v7ASj3vYLEoIBtVakOacs7tx5LzqjS84HQRjbUZaZOmKvB1Its tZbyLOUqHV4ocm9tk8t1duAtn3VBgjU6x8LCUP4MYTwh1Y5WtUJBKflKvApn4lQ0pLEj qVjY0/xTFxGKEdoHCF2YqU6YfQDOt0iC54k3G2VELx15/h3m60EcYnfQRv+2JohLTnhm KZf+P6+xBGJnVEhNizWeqwm9hrtIBJRoF7bJwQNuIoad+Aa8fW0KaVhZs0U77AmnwYsb zHTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717163588; x=1717768388; 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=su/OgBx6YfPX3DIZ95pqxfeUtNbtsthTdIU3wY/p9Xw=; b=SGNVZoQefXAUgNmjXzmS6ZfuSPZ9XGPZ0ugrspeUb3E5BfMDRf8melpYiBnTtL1yJV T+yHzTzKg9Z5ZH9BMbWWJe/EaxRUUlNGTy4woWDVL2lJJ8diT2wxZwy8ZAw5nz8bz9vb zji4y2JHMBkuhQqBuAgw58k/6osiFETJQLsR7xNxppCaGNw+gmY/yd4xvBOK6UOQCkiX zxllI8yI9oojfFmuU8pAaoEtpJT4HrHpH0oMRZHNVFWV2rCXV1FoKs5JiLsMVWwgvGmI CvwCgCooS9qupIVIM+e9qEhyDjlAwZSwHlB8nmYA811ySjP9+ZPAwCTcp8kkxGwe+GE+ jrqg== X-Forwarded-Encrypted: i=1; AJvYcCXGBPVAvsLTm/6pOGAHNQyCU95Rp33MBayNX5/sxcZpMR4YmYMEQHYxgdC8loMdPaBUzUgcEBS3vBr5q7OfT5qsUyyO9+KlKCkz X-Gm-Message-State: AOJu0YxKT6XApGvCs44aI3ja4n09FVk7PPCk0eQxAeBkVz1tYGLAp+U4 pNzuL2j+eUWyTM95XWiQ7ZyDYAgZMrlNNYPL3GbeNagxN5KJ9Xs5XAIxocDQJbA= X-Google-Smtp-Source: AGHT+IH5YfFRUYxD/8yJ2A9rKYJFA5nkcR8Qt3qr75QsVnAa8JdDuC+ghCwHgluvg2pVqFBPMNHcxQ== X-Received: by 2002:a05:600c:1552:b0:420:1aba:5030 with SMTP id 5b1f17b1804b1-4212e0cbc4fmr13903845e9.41.1717163588028; Fri, 31 May 2024 06:53:08 -0700 (PDT) Received: from [127.0.1.1] ([110.93.11.116]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4212b85ec87sm26762735e9.27.2024.05.31.06.53.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 06:53:07 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 31 May 2024 15:52:32 +0200 Subject: [PATCH 14/16] dt-bindings: clock: qcom,sm8450-dispcc: reference qcom,gcc.yaml Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240531-dt-bindings-qcom-gcc-v1-14-b37d49fe1421@linaro.org> References: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> In-Reply-To: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Konrad Dybcio , Jonathan Marek , Del Regno , Loic Poulain , Dmitry Baryshkov , Neil Armstrong , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1440; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=ksw1dGtcuFGYmqV0VwqlYR5ZUezhxW3IRe2STnM77yY=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmWdYirH2g+dMm4KrBh7mmI5pPI8qw/09KYdDw3 AEUwaNMKpyJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZlnWIgAKCRDBN2bmhouD 17rdD/905nupPjJ4kEUvXUaeqglhRKD2NU8HNzuO4eIz9/aS8UT0l10yIE9lHgOoXMMnln7hkjL FpEhEK13TAZaaRCgu+9AMIQAf5TmUSs8L5dPP532NF2mWHbjyLy8oxWah/8WWq3lroFE2k7X9CF jZFHO2QhkZmN0qHlyx0rEByp3ee+xg6C7Uu9WDIYFWRyXUHZvwH2WCQaouJuFgvLFaDVYrJcBZL jkXB2YUBBo0VK3aOOmz/XB3519TKwjBSSjtnokfCmqujCjO4LvbWJSFXW5GeTQK7rT8Uxk3oryX P09Mz/R5DTKtwYfAeznVRGMBMK8jH6acR5uukv5Gwc0AnrAGYTM17a/hlri/2IwdnPtbVZmwduo Noob1bNeTwP1GQllOG0dG2znjNgPg3SyZlA1gR8YnViZ3HDhPjW2wWbEuw3jWgk5FVDjo59eE3L 2cIhoWwbMgvphIZ1LAlxg/BCNgVCZEuwLRloYo7czyc8hOjUdZquBDRvD7bktvqbHwDnztPZbot dHy7cEVsqivw1OQ5So0VdtUBSAvVmMnAI6yZqBCMRiSfagAip6CxOj8dVVfswzSpsAI6jwGOhpb xxTWLm9vnoeO7siEwpnGwbz5MUSFBBgb6TKnnIxhhUpsfcSytyiTIUIgXi/9HKdpPQMj10lPSlS Rk7NSshb9Hi7Wqg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Just like most of clock controllers, the SM8450 Display clock controller is also some variant of standard Qualcomm GCC, so reference common qcom,gcc.yaml schema to simplify the binding and unify it with others. Signed-off-by: Krzysztof Kozlowski --- .../bindings/clock/qcom,sm8450-dispcc.yaml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8450-dispcc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm8450-dispcc.yaml index 2f22310b08a9..4794c53793a8 100644 --- a/Documentation/devicetree/bindings/clock/qcom,sm8450-dispcc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,sm8450-dispcc.yaml @@ -40,18 +40,6 @@ properties: - description: Link clock from DP PHY3 - description: VCO DIV clock from DP PHY3 - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - - reg: - maxItems: 1 - power-domains: description: A phandle and PM domain specifier for the MMCX power domain. @@ -64,13 +52,13 @@ properties: required: - compatible - - reg - clocks - - '#clock-cells' - - '#reset-cells' - '#power-domain-cells' -additionalProperties: false +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false examples: - | From patchwork Fri May 31 13:52:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13681732 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (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 5431618308D for ; Fri, 31 May 2024 13:53:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163593; cv=none; b=CU2B2Z/3coeucmHajZIfJnHxf/iIfRNArH5y/eaqZG+CQdmdJDzI/6NXgWPszvp8hKvRmB6duAEqs1dBXKE+234B2Zv6dVXCPiPDiRKNW1ctIfCsfVXDUpt8mfKBH2coEUbnoODsISOLug1SrQn0YZqnozq0XnJYh9xJbQpETik= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163593; c=relaxed/simple; bh=MIaxzgtf3EYIItNiY++ERQ6Pd4LPhtKrW4IMau7KU2U=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fUbQifKPDgON2aGMq0Jn94wpDdt4cSgluisdVZsLngmYAWAq/ti7aA6iHYTqiaDLMPxgEgNe4HZm8akqIHKuyZnaD3/C59+rcjb99x9fBivS62d6Qv+VqfVP5wPlcRL3AjXTN/kI8DvwpuTfu0f/G5KtSvAC0ZNpC5mD8GQdmKk= 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=PgqTbEZL; arc=none smtp.client-ip=209.85.128.53 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="PgqTbEZL" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-42011507a54so11807205e9.0 for ; Fri, 31 May 2024 06:53:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717163590; x=1717768390; 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=5OXVcp0wB8GuWTPIzgNl5UAtIeDHTf4posfRNOxK/eI=; b=PgqTbEZLUZ/02/7K1zXF8+JzKkZYBjAj5+/K+u1n2EgOj3NlrHGSqCcEkilKXA61lm e8bd4gGFMiPnbI27PHlqoTajCeQHW0yVfYkIVAVNmuWwQCFB3dYISCoiGufbGLJFEA0Q jsG1RxO9KNxPdYPEIZbGPCg7OP9x4E0deH/85SYIVZoWWzqAO2s9OAwF9Ma6vNKid4XG 4z+MOijnaxSd5IWv2OE/NtfQcEpTCEPwxFnL4NVyig2KhBTKWJDTrzNTOXFZfJB+R8i9 APACu/aGKjGRRfT+vyxNr6p27ldhVK5XOHsEXvIDg9ZG2PhK6/smtrrsDYqLunkOAspG v3yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717163590; x=1717768390; 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=5OXVcp0wB8GuWTPIzgNl5UAtIeDHTf4posfRNOxK/eI=; b=UODLPtyXOdc2lmzlHzF/EeiZ1tbpTRzU+XLo9yB6j7Q/J+TvlPa6I2d1Yg8FVYUgNo BEVT5hxp+zvGBPeFivH9ZPTcUNogq9JDURsdZ3xnZP1EN7YJsRP1aKJEZh+dBkqn5yIr vd8YI4ofVs1yfISwWoD4fiFJrhRq+okhFC/3iVeWO0n2V57XbjYIV9j2bAcOG1t34YKP mFOvtS16gLMTrQH3lpM9Yo9l+3ZpqS/UnIqfZ3gdXXab26WCBlYJR2RYn7koRPu0dW+6 /4LJpgpkyXqEQqdH8KyZRu/4ujzVs/743lJTcuL3vZMV8ZU9s5CTIqD1/6CH8L9BEuQy voJA== X-Forwarded-Encrypted: i=1; AJvYcCXKJU+gKKKUP2GcsfKAlpP9r5v6AOIJOWn+ZmLwm3kMTqeOLgmGow2yPKw71KB6f2Okp3G0C5TXmvEkfCBGRIVqpoqODB7cjlBv X-Gm-Message-State: AOJu0YwByDbaoydE6WjSuoVDjmbOdezG3nUbq2k8nRIA27+eLkbJeXLG fKm82UlBX235lp0llxlCo/p1529KRGpibfawaOjRPNgSLS7r2d5sLEmGotwO4BU= X-Google-Smtp-Source: AGHT+IEFUMyN6QnsSdxOLQTAWiOYAhwbJdYs6BUJf71ZhRK/cAwHXwfgq8MV+YaHx/u1MUfZL0frQQ== X-Received: by 2002:a05:600c:444e:b0:421:29c0:b6c9 with SMTP id 5b1f17b1804b1-42129c0b9bbmr37121455e9.12.1717163589843; Fri, 31 May 2024 06:53:09 -0700 (PDT) Received: from [127.0.1.1] ([110.93.11.116]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4212b85ec87sm26762735e9.27.2024.05.31.06.53.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 06:53:08 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 31 May 2024 15:52:33 +0200 Subject: [PATCH 15/16] dt-bindings: clock: qcom,sm8550-dispcc: reference qcom,gcc.yaml Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240531-dt-bindings-qcom-gcc-v1-15-b37d49fe1421@linaro.org> References: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> In-Reply-To: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Konrad Dybcio , Jonathan Marek , Del Regno , Loic Poulain , Dmitry Baryshkov , Neil Armstrong , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1440; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=MIaxzgtf3EYIItNiY++ERQ6Pd4LPhtKrW4IMau7KU2U=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmWdYjLRTjpbRhTM/J+VWoCZm7uBcNd3YjNEWMR aOUdfWirrmJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZlnWIwAKCRDBN2bmhouD 15cGD/oClJnVvKMmuIaJtu0zDlkhQtVHYYxNJoXu50LnXorj5v3P7P0rLPo+7lUi4YkkXhcYk46 mHuP5gi68RiBmJHYBKOUqgVmjmD7oz0B347urQSXWh539AEAOVn38Uanxpge+jL+r1nVcC+AuUP 21MFdjMfo5ZfSntlEvizLJirnA/Q91BmFa6htIhiHXlkbUKbEOniVsrTLrG0Tf/nLdbOk+7sGcS kqSk/p/LDZ6GQpmsdRz8+eESPpkhw3SC7DXOBibfOfX9RvkouhWHN2F+YCBcLH+4iJ5QarKTTav eeDowAYLnp5n9Mcx6QVeJsb0MmBhYmjgNq9N0ka37VVmjrxaUes4FQleds895FAJf8uY+VS8tOj JRWxsqFQ04U4VzV9Y+wU7QZzY615VMWWSoriQw8Fpd74Y4Y3KDrn6JQr/FzFc3rDiL22SytJcA3 POQA9F+oyJZopadugK1LmJ6KxuRjLp2aWkaDyqnKkWSDifeMlheU3S9K3F5yLA2av6eDk5UK6id q7PRnQya9BaFABrgg4aos8S5l3BAkPU7rLijJ/8dKZdqoBHiGsagQ84L5M0W+Ibtd8Z9MlITfA4 yXaFlZAFN283w/OsfzvfaKpIblXwy+d/zU3pgcwqksHXk+Q5mloSqkDOlRVvG52rhdqs1JPJw3d AT491BaxB9g644w== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Just like most of clock controllers, the SM8550 Display clock controller is also some variant of standard Qualcomm GCC, so reference common qcom,gcc.yaml schema to simplify the binding and unify it with others. Signed-off-by: Krzysztof Kozlowski --- .../bindings/clock/qcom,sm8550-dispcc.yaml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8550-dispcc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm8550-dispcc.yaml index bad0260764d4..c17035a180db 100644 --- a/Documentation/devicetree/bindings/clock/qcom,sm8550-dispcc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,sm8550-dispcc.yaml @@ -45,18 +45,6 @@ properties: - description: Link clock from DP PHY3 - description: VCO DIV clock from DP PHY3 - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - - reg: - maxItems: 1 - power-domains: description: A phandle and PM domain specifier for the MMCX power domain. @@ -69,13 +57,13 @@ properties: required: - compatible - - reg - clocks - - '#clock-cells' - - '#reset-cells' - '#power-domain-cells' -additionalProperties: false +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false examples: - | From patchwork Fri May 31 13:52:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13681733 Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) (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 6B1B3183A7F for ; Fri, 31 May 2024 13:53:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163595; cv=none; b=DfQCgzJcFswCR2mg4DeGU7fWrjyNLiHqVELZUX9xMvm5Tdlls+rVygR8ZoOcRFRsihckepyuvZ3ya9gMB83DCBKOhWIda4bX5UcijbP1pDPvJXc9GwOZpH2byI/AAsmoAaZFUY8JyNKWdIU0eisn4vj+ruz43BqZOVr71KLZ59o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717163595; c=relaxed/simple; bh=jPElexRLbwYi326AHGI8G3yBsY+3/avTUM0IA19IieA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=I3CSP35EduWCYNv79s0YZd0+Ylyi4HNGxJL4DkdNASZbd7J726+ZESILmaJS3WmS9G+jKkjb8UKmpeZBLy3jrNuPFkffYHLbeZ4tyNwcwCFGwZzdJDv3GVvAtmJheWAMhRzRUYcNxbe/rUydbsbxVlS4uCrryi4+/j0vMeuGXMU= 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=oZRgm6IQ; arc=none smtp.client-ip=209.85.208.170 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="oZRgm6IQ" Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2e78fe9fc2bso26978581fa.3 for ; Fri, 31 May 2024 06:53:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717163591; x=1717768391; 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=kO0h5DfS/tOmjTv2xa37X8/SeND3LWeqqvy20iP9u78=; b=oZRgm6IQc6JGukg1AsTon6/drIZQ9JPU8IKnLme9ECHFwZzQswXdnGCI23/+wkN7Gu fGaFphUnBwz/mxHyasA4z1XnV69cPSQkaqxLlGnQH2EtzEER0g8+8TUDwJHef40YhLld LTJNlMqfoywhh9mgaNzpXbpTYaTrgzGUngtyoGyltHREkm9IE57UA8ocdWxvK4XMLnjF 2z305mH9ffYVnQ3wYOD2eRFh3KdEvbWtEnCQz4j5FfTYdaE5AvpNW8jE1bF26s58Por2 yiBHgLHruSeMWCl4PWHWTfD1e1c+du2JRlxYZ0Q+nIhuN8CMGt6ldAtKZV/qPbWMEyL7 /VNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717163591; x=1717768391; 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=kO0h5DfS/tOmjTv2xa37X8/SeND3LWeqqvy20iP9u78=; b=ktXYWJ+QLtueOwfHGZpaZhPZsyfQaI0Tg8bvuJElTC0jY/RkdkTHrXfHiWXX4Tvdqt Lm5aOjXlTneIBeFvly766EgTW4gu46nT0M2ed1l1iYVzsUYdxY+XUobpZ7U4g7/k5KKY xDegGVP0+VsVJHupO+dohvIHGrR2XVywntdVV6sEpXjs4bzMB4okHeHk41/VIrWXQW4O XtRY6hIBfe+a83GRxN2QMpShEuuIksMd1zfrRZYPUWvEsxCrxFb340BBdbWGtCRPAX/L gu/8JDk1agyILbptyLGECM/DNkAU3VwJrAldegLXof91gWNmn9uvkYnEzRBrOxh0GmGP 0UzQ== X-Forwarded-Encrypted: i=1; AJvYcCWQ9FyxgsPmVOLDYzZ2jilgPFaUqW0XUFNssIqbhxm5C1AA9nah/Q8+it7EF13XAtXUq3KBQ6QX/5Zkj2Y1yfTbqx/vG/GsY397 X-Gm-Message-State: AOJu0YxQ5uDpLRXkE7likUWwgZRYIS4d1gBnUdUMSkqlm0QZmUNSzf2R nEbOq7hqKnSf4V8T7OZlyOlOqdlDvQLoYmyU7KvCPkmYRpEZYv9oWzH1l0K7pEU= X-Google-Smtp-Source: AGHT+IHTDMz6XNfpTi+LmtTKAIY5g94GE7WhSFqjW195a2/9eQ7mQPF5ElSN/faA+zRYLtVot+5Jxg== X-Received: by 2002:a2e:9b56:0:b0:2df:97b1:d4f4 with SMTP id 38308e7fff4ca-2ea951dfaf6mr11700491fa.33.1717163591661; Fri, 31 May 2024 06:53:11 -0700 (PDT) Received: from [127.0.1.1] ([110.93.11.116]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4212b85ec87sm26762735e9.27.2024.05.31.06.53.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 06:53:10 -0700 (PDT) From: Krzysztof Kozlowski Date: Fri, 31 May 2024 15:52:34 +0200 Subject: [PATCH 16/16] dt-bindings: clock: qcom,sm8450-gpucc: reference qcom,gcc.yaml Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240531-dt-bindings-qcom-gcc-v1-16-b37d49fe1421@linaro.org> References: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> In-Reply-To: <20240531-dt-bindings-qcom-gcc-v1-0-b37d49fe1421@linaro.org> To: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Konrad Dybcio , Jonathan Marek , Del Regno , Loic Poulain , Dmitry Baryshkov , Neil Armstrong , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1288; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=jPElexRLbwYi326AHGI8G3yBsY+3/avTUM0IA19IieA=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmWdYk/G1ReuN9dxfhXHg56tRK9Pz0Eern7567T RBFD1MBAMuJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZlnWJAAKCRDBN2bmhouD 16EUEACYkVjbL+jap8zdZYYVcEZTIC8H8YqKHT+6pko5DI9y7GfwORvU+lBl8IrZMqaULD5EHf4 M7+UZ2LFOfSnsT3v5fYDsM9LJ+pO/gzIrkI7SbuqcR4B0HnUlHudvGj5bxSqfB4X39My8ZbPVjk rkueUXEgezMc6S8aRLyhUQ65LmHrZZMPLxoe26PZzO8wgMMDAy6mDMp9bV9kz9T6LmcAEJM7Fk2 QF2+k9dbICjYGrn3vqHgflPeUuAgvUBVKQmDBUgI6OOj+PuaXskLTJDvdTgAAXF5ncb1Zwpjjor 57Xdi6bJkp/fjVoNhIfz3tMjgzKsk6Qxzt+9QiHYwHD/raoS2Eu6v5FiMtc8Hry/3Lah4jJ0t/Q qBATFkBAsbq6au5E+3VjzKMezb0POot5H3i6o6KSg3aF7RafT5NflHK43BtK7vE3Y7FykSuLC80 cZqNfFV9mXcIJAqrD3DOepPmb9p11uXsmoxtAdHLeSh7k8QmABrmU0gzv8Uq+QPCMRUQiIHmlN1 oQP6tj6vuQXevHAq3YzL5P7L4d0xjp0nKJOEcjPOYVGtCMQAbdp6uINZ0TKel+F3t3cwFC8op+S pa46itnpfD6ysQp+7elVcxUcjXXlTSm/xAJrWwL76c0yeLhBPYH6s0dF5GhBYE0a0ER5xpKgtj0 LWtSKeHOGXdxtRg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Just like most of clock controllers, the SM8450 GPU clock controller is also some variant of standard Qualcomm GCC, so reference common qcom,gcc.yaml schema to simplify the binding and unify it with others. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/clock/qcom,sm8450-gpucc.yaml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,sm8450-gpucc.yaml b/Documentation/devicetree/bindings/clock/qcom,sm8450-gpucc.yaml index 36974309cf69..3c2cac14e6c3 100644 --- a/Documentation/devicetree/bindings/clock/qcom,sm8450-gpucc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,sm8450-gpucc.yaml @@ -34,27 +34,15 @@ properties: - description: GPLL0 main branch source - description: GPLL0 div branch source - '#clock-cells': - const: 1 - - '#reset-cells': - const: 1 - - '#power-domain-cells': - const: 1 - - reg: - maxItems: 1 - required: - compatible - - reg - clocks - - '#clock-cells' - - '#reset-cells' - '#power-domain-cells' -additionalProperties: false +allOf: + - $ref: qcom,gcc.yaml# + +unevaluatedProperties: false examples: - |