Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp541563lqb; Wed, 17 Apr 2024 04:19:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVqiQXLiBrPms9G5f8kC8gybyl+GoFxbZ/Fv7E/hdRRYzF7UMk2y1+6VUydGrfF56MUy9VFlcedUM5RURWnzq0sf9jtRJ85aDwrBM6VkQ== X-Google-Smtp-Source: AGHT+IFzsCCQjm1nXV0VTsZ63/aNZWLUNCyyKzKlcrdPm81/PLTWJS4sy+p30rLQm9Erj7jMWgjD X-Received: by 2002:a05:6a20:6f96:b0:1a9:ff21:8862 with SMTP id gv22-20020a056a206f9600b001a9ff218862mr8710479pzb.60.1713352793519; Wed, 17 Apr 2024 04:19:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713352793; cv=pass; d=google.com; s=arc-20160816; b=RV8fZqZ6eJd8xzU0mfnwCp7/vC8NHA9OeYYBkHEz4W8j9l38rui2rqQN+DtAtdNTGf 8FI/hIuZIhg0vEDHyTXH+AACtf+RXEvGpJ7RVAsNKG+hAhm/OL8ruBes+14sftiVqWR6 LHM6aQA6XEAXLGbm0m+uZ88/3HkY6jXPyQmxtFT4XKB1wJzmg0PRayWFWdhutPyHvPMd JgUbS4W9sw0SitHA54MR4Kl3FCHwwr5Fh+fDPz9Tnyu7+8OC9TDnoms8uC8pl/daXEDb c5/1Yac4nuCYPgAuErUaK6VhG7z8jk4oofOWo36fGBYGB380j7kvWvsuAO3qu1Rct2M2 M6QA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=dkim-signature:cc:to:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from; bh=k5MCBAt95sqb7Q/nGRpmG6zmr6zKDTh/dFbuXAAMDQA=; fh=EH8Xn5gwDkhOrIeCvXzripzf+LrWtIkXLuwU5AoHKz8=; b=ZPsO/uxYhQTWMixVqVranfx4dcmRzKkkx6gWM7SWhfrCGMhcE+xtzvgB2T5rFNV5hr +1C6PKq5aLnQA+7uVj+YeDVkAsgLOmOGZk+grDuxuc4mQKndEMvp3MGGeNoDGcsT362J JY8fGgrNjNdKCvjg4PlbAaS5Y+G5e2O4wgNpv3rK5Z6/1JTxUwr+oWT1gKOSEnhwQscA /+p5jy819L7KB4wtajzoNTNrMtSgusUbLKTz9jLVAQ2tRwDhyxYsL+xqToFVV6+XySmb GafVwKW7tTV7k+1dggubLccBTYTY2RLQyF8VB2cbWwGxvu4oj+zNAvCmh2KFT5U+CcfP DXKw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@herrie.org header.s=transip-a header.b=fA+EkObP; arc=pass (i=1 spf=pass spfdomain=herrie.org dkim=pass dkdomain=herrie.org); spf=pass (google.com: domain of linux-kernel+bounces-148394-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148394-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id m14-20020a633f0e000000b005d81b96abb9si11223515pga.888.2024.04.17.04.19.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 04:19:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148394-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@herrie.org header.s=transip-a header.b=fA+EkObP; arc=pass (i=1 spf=pass spfdomain=herrie.org dkim=pass dkdomain=herrie.org); spf=pass (google.com: domain of linux-kernel+bounces-148394-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148394-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 030962829EC for ; Wed, 17 Apr 2024 11:19:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A2BC213CF85; Wed, 17 Apr 2024 11:19:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=herrie.org header.i=@herrie.org header.b="fA+EkObP" Received: from outbound9.mail.transip.nl (outbound9.mail.transip.nl [136.144.136.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DA6C813C8FD; Wed, 17 Apr 2024 11:19:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=136.144.136.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713352774; cv=none; b=ZSbS2L+WIwTW4A5r7HEZpEH0xEOjpNtZv+XmFkUcBBKDDxxBndkgE2cmMLgEv3qsWaZiST0xIBpbsOpngwe/U0vLOyunWEu7jIJ0CNxTO1psQxaQR89yiSN/lvkL3W/VbWGt6F5RjtIigXT98Ux/B0XdPRIJWonqn+d0rkk5kFs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713352774; c=relaxed/simple; bh=yTNIUVB4TH7/duE82fAx3t+Vra1GNIHORCwHrwOBX4E=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=fs5CLrrp59i+oRMSu3klHpDbnZYsSgaT1iUSWdTdJCfiW0ij1C79FrhITj4A+JUoKtb8UXAH1AbXCHLOqOflNY4gSTOxY/0b0KnOcAo7ukVKWhgjokkQu4zFWyqyWws1POZ4gvnsAhoGsHtF8nLJEwobBMhDljxTdFjubraLEUc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=herrie.org; spf=pass smtp.mailfrom=herrie.org; dkim=pass (2048-bit key) header.d=herrie.org header.i=@herrie.org header.b=fA+EkObP; arc=none smtp.client-ip=136.144.136.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=herrie.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=herrie.org Received: from submission7.mail.transip.nl (unknown [10.103.8.158]) by outbound9.mail.transip.nl (Postfix) with ESMTP id 4VKJMf3CJvzTPNc4; Wed, 17 Apr 2024 13:19:26 +0200 (CEST) Received: from [127.0.1.1] (110-31-146-85.ftth.glasoperator.nl [85.146.31.110]) by submission7.mail.transip.nl (Postfix) with ESMTPA id 4VKJMd3h2kz1Q6K0; Wed, 17 Apr 2024 13:19:25 +0200 (CEST) From: Herman van Hazendonk Date: Wed, 17 Apr 2024 13:19:23 +0200 Subject: [PATCH] dt-bindings: clock: Add qcom MSM8660 MMCC defines Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240417-msm8660-mmcc-v1-1-efc9e455268c@herrie.org> X-B4-Tracking: v=1; b=H4sIADqwH2YC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDE0Nz3dziXAszMwPd3NzkZF1Tw2TDFEMgPyU5SQmopaAoNS2zAmxcdGx tLQBvBt+iXgAAAA== To: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, Linus Walleij , Herman van Hazendonk X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713352765; l=4482; i=github.com@herrie.org; s=20240417; h=from:subject:message-id; bh=HF/J5A6L7bIeZSe/Xg1eXt7FFE66voPUQgLSljZ6GuI=; b=553DRHijzy8+1mjYTnwmiP91YFXUbh6exxnV8bomdpW9oxtWwR+iwMfRntnPSLwwWcmZfHK2I kLtfh8KCneFA08+DfjFUiXrGgu//1jaajGbL1soCZXIksynoNxvdXfD X-Developer-Key: i=github.com@herrie.org; a=ed25519; pk=YYxdq8fb5O9vhkW3n2dCH044FPZZO5718v/du7fRhFw= X-Scanned-By: ClueGetter at submission7.mail.transip.nl DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=transip-a; d=herrie.org; t=1713352765; h=from:subject:to:cc:date: mime-version:content-type; bh=k5MCBAt95sqb7Q/nGRpmG6zmr6zKDTh/dFbuXAAMDQA=; b=fA+EkObPnXvgConbVJSRUiYMkyT58b96UxcXbxBCPRlMfHLCt9U1uEW9lUAI4vRLurE2Zw rx6KRRtsrUJKjf5dIGL/saBfY0zdmrVssf8e0ZYqKIgu+Cmh3CIKwt37mWAJovnZJGBsCo FQszS87vb9CZVpb5IUUpHG+JnwTic5K4F2H/iQmzLbgi2rkuf1RcUF8qNyDdWI/hQOxsmj e6AUtL/FGvi6RU1vJK/fhiTBZ4FCQSnkksgJHEj+JqiC1GAFJyfNnrB+3d5KUVPuH8/lUe AYsIipoY8+hJodX3LhNyZhXLM69vLEjDq7MJ7O+XgmJGwMMtDOEt0KmjKKHLAg== X-Report-Abuse-To: abuse@transip.nl From: Linus Walleij The compatible binding for the MSM8660 MMCC already exist but the enumerator defines are missing. Add them. Signed-off-by: Linus Walleij Signed-off-by: Herman van Hazendonk --- include/dt-bindings/clock/qcom,mmcc-msm8660.h | 75 +++++++++++++++++++++++++++ include/dt-bindings/reset/qcom,mmcc-msm8660.h | 53 +++++++++++++++++++ 2 files changed, 128 insertions(+) diff --git a/include/dt-bindings/clock/qcom,mmcc-msm8660.h b/include/dt-bindings/clock/qcom,mmcc-msm8660.h new file mode 100644 index 000000000000..2c7a6a3ae328 --- /dev/null +++ b/include/dt-bindings/clock/qcom,mmcc-msm8660.h @@ -0,0 +1,75 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ +/* + * Copyright (c) 2013, The Linux Foundation. All rights reserved. + */ + +#ifndef _DT_BINDINGS_CLK_MSM_MMCC_8660_H +#define _DT_BINDINGS_CLK_MSM_MMCC_8660_H + +#define GMEM_AXI_CLK 0 +#define IJPEG_AXI_CLK 1 +#define IMEM_AXI_CLK 2 +#define JPEGD_AXI_CLK 3 +#define MDP_AXI_CLK 4 +#define VCODEC_AXI_CLK 5 +#define VFE_AXI_CLK 6 +#define ROT_AXI_CLK 7 +#define VPE_AXI_CLK 8 +#define SMI_2X_AXI_CLK 9 +#define AMP_AHB_CLK 10 +#define CSI0_AHB_CLK 11 +#define CSI1_AHB_CLK 12 +#define DSI_M_AHB_CLK 13 +#define DSI_S_AHB_CLK 14 +#define GFX2D0_AHB_CLK 15 +#define GFX2D1_AHB_CLK 16 +#define GFX3D_AHB_CLK 17 +#define HDMI_M_AHB_CLK 18 +#define HDMI_S_AHB_CLK 19 +#define IJPEG_AHB_CLK 20 +#define IMEM_AHB_CLK 21 +#define JPEGD_AHB_CLK 22 +#define MDP_AHB_CLK 23 +#define ROT_AHB_CLK 24 +#define SMMU_AHB_CLK 25 +#define TV_ENC_AHB_CLK 26 +#define VCODEC_AHB_CLK 27 +#define VFE_AHB_CLK 28 +#define VPE_AHB_CLK 29 +#define GFX3D_SRC 30 +#define GFX3D_CLK 31 +#define MDP_SRC 32 +#define MDP_CLK 33 +#define MDP_VSYNC_SRC 34 +#define MDP_VSYNC_CLK 35 +#define MDP_PIXEL_SRC 36 +#define MDP_PIXEL_CLK 37 +#define MDP_LCDC_CLK 38 +#define ROT_SRC 39 +#define ROT_CLK 40 +#define CAM_SRC 41 +#define CAM_CLK 42 +#define CSI_SRC 43 +#define CSI0_CLK 44 +#define CSI1_CLK 45 +#define DSI_BYTE_SRC 46 +#define DSI_BYTE_CLK 47 +#define DSI_ESC_CLK 48 +#define TV_SRC 49 +#define TV_ENC_CLK 50 +#define TV_DAC_CLK 51 +#define MDP_TV_CLK 52 +#define HDMI_TV_CLK 53 +#define HDMI_APP_CLK 54 +#define VCODEC_SRC 55 +#define VCODEC_CLK 56 +#define VPE_SRC 57 +#define VPE_CLK 58 +#define VFE_SRC 59 +#define VFE_CLK 60 +#define CSI0_VFE_CLK 61 +#define CSI1_VFE_CLK 62 +#define PLL2 63 +#define PLL3 64 + +#endif diff --git a/include/dt-bindings/reset/qcom,mmcc-msm8660.h b/include/dt-bindings/reset/qcom,mmcc-msm8660.h new file mode 100644 index 000000000000..c12156b3b8ac --- /dev/null +++ b/include/dt-bindings/reset/qcom,mmcc-msm8660.h @@ -0,0 +1,53 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ +/* + * Copyright (c) 2013, The Linux Foundation. All rights reserved. + */ + +#ifndef _DT_BINDINGS_RESET_MSM_MMCC_8660_H +#define _DT_BINDINGS_RESET_MSM_MMCC_8660_H + +#define IJPEG_AXI_RESET 0 +#define IMEM_AXI_RESET 1 +#define MDP_AXI_RESET 2 +#define VCODEC_AXI_RESET 3 +#define VFE_AXI_RESET 4 +#define ROT_AXI_RESET 5 +#define VPE_AXI_RESET 6 +#define AMP_AHB_RESET 7 +#define CSI0_AHB_RESET 8 +#define CSI1_AHB_RESET 9 +#define DSI_M_AHB_RESET 10 +#define DSI_S_AHB_RESET 11 +#define GFX2D0_AHB_RESET 12 +#define GFX2D1_AHB_RESET 13 +#define GFX3D_AHB_RESET 14 +#define HDMI_M_AHB_RESET 15 +#define HDMI_S_AHB_RESET 16 +#define IJPEG_AHB_RESET 17 +#define IMEM_AHB_RESET 18 +#define JPEGD_AHB_RESET 19 +#define MDP_AHB_RESET 20 +#define ROT_AHB_RESET 21 +#define TV_ENC_AHB_RESET 22 +#define VCODEC_AHB_RESET 23 +#define VFE_AHB_RESET 24 +#define VPE_AHB_RESET 25 +#define MDP_RESET 26 +#define MDP_VSYNC_RESET 27 +#define MDP_PIXEL_RESET 28 +#define ROT_RESET 29 +#define GFX3D_RESET 30 +#define CSI0_RESET 31 +#define CSI1_RESET 32 +#define DSI_BYTE_RESET 33 +#define TV_ENC_RESET 34 +#define MDP_TV_RESET 35 +#define HDMI_TV_RESET 36 +#define HDMI_APP_RESET 37 +#define VCODEC_RESET 38 +#define VPE_RESET 39 +#define VFE_RESET 40 +#define CSI0_VFE_RESET 41 +#define CSI1_VFE_RESET 42 + +#endif --- base-commit: 96fca68c4fbf77a8185eb10f7557e23352732ea2 change-id: 20240417-msm8660-mmcc-51c1d1866dcb Best regards, -- Herman van Hazendonk