Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp547725lqb; Wed, 17 Apr 2024 04:32:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXIN9EdOhJySo9+5ZwDqiCKCeg7C5yad8BDh2KyU5stjxmo4ltA687ibDJqysk4qSXuzGC7WXvwwE6uX8EOlR2sUov0r9GOUG0ZBDbPew== X-Google-Smtp-Source: AGHT+IHX7ePp65tum43DLgiYUudLcd9jlCS+QZC9eSYOC1VKKBD/2aZXQKVvPWQvY9gFzQMEy5Jb X-Received: by 2002:a05:6214:d66:b0:69b:798d:a67b with SMTP id 6-20020a0562140d6600b0069b798da67bmr10533508qvs.32.1713353537159; Wed, 17 Apr 2024 04:32:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713353537; cv=pass; d=google.com; s=arc-20160816; b=sZwTVn+FscUKtoUzMSV6zhFWr+5QJeDOVJJTb48nvVTtlr1tCjJYzv9wR3nhWYgWks nitqFlvayFSXJzHTMNSjofq72UwCDawT9+0nxAPMjHa9A6gHrywsWpN2WYgBL4Kl38Pw Or9+zDGxbHgj+nY1U5itm+whgSQZ2+vKDAkhUHwfYpay5xndw//vPrpeT0fKHs47x5K9 YqSSzA7EEemHcTc8SOTeDJSWm5qk/KmJ7yFnBn6zn16911mXmX0s/XwjVwJ5vjSHFHFQ VE5UHV7JwcHjo723NezC8jkhjgHrVrg5P1ZWv6OLBvobUkmy6eoGfVcZ+gF1QKjKkudY v87Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=4v6W4xRXl47pD7tcdIWVC0ohUwgC4w53EhK5/Us5XW8=; fh=62UWq1KDzZqi+K325PbS+ky1zRZ9l434Kew9HpH6Grc=; b=U03IpOSIujWFEC0rhU65GfqNmqFQZ5jqyTJzAnNWyrk+H4TGe50jskxS/B1+YMEQP0 8FtQ5ZW0KaAFfkPc7iSHhCBgwD+KE8Gw4XK7HGIYjOHJDyGeVdQtz+fg2HP2SNhtyHZP kj6hDPdMkJY8gAuGJhBOs3IkpDb+Spc/ekURWnW5RrNP7Gzmga+oaA71VeaALnPMjid6 Pj4Vedjf9HSPqySlv1kELIbA1WNGxPKDLW0wPlZqNZ61Ok5Squk9svBr3Nl+O8BlI1rI d1aZO+e46EWBFHsfOpjZiDP6DwGzzuv8zdTY9Cv+lbYiJlXK5qZKbIxwFzvgxeYb77rd 0TUg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CPdvH8+w; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-148408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148408-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id p1-20020ad451c1000000b0069b1cd7d957si201165qvq.120.2024.04.17.04.32.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 04:32:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-148408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CPdvH8+w; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-148408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-148408-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id CA4BD1C20BA7 for ; Wed, 17 Apr 2024 11:32:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 039A813C9B2; Wed, 17 Apr 2024 11:32:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="CPdvH8+w" Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com [209.85.219.182]) (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 79C6A13C90F for ; Wed, 17 Apr 2024 11:32:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713353530; cv=none; b=ldWF2aBI5I9ZlWDEcjZzyu3icM7INXRU7xmpuG/HavUySbgalvFOic88RYPR1I/WFh3rbZNh12ldIKExEhsABnszXLsYxYswBJ2ZymFCk1qg2cx/Ziwmal6TNBKErjUPnlU0HR5cRqPjiaxN4LvNVuPwKzz1iHgy8wNj1wzZ/I0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713353530; c=relaxed/simple; bh=nFgsoHDRyjy2pIUsSKGk1hmqklyXjtnFV+C3uDT2Vhs=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Ckef7g3bbrc6aCR7kr7sko148QqZaactO4wBiATPblnlFMO+tAbzQioe0m4XYjw0lkcaov0tz4+omEcwkM3HtpUTzy42LD5sNY4EoepWihRgLUMglpJmim1tEZNJEKBR7WtEd+7x3YsZMZUkNryk305DX1ug4ibKBUfnaNUJmmo= 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=CPdvH8+w; arc=none smtp.client-ip=209.85.219.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yb1-f182.google.com with SMTP id 3f1490d57ef6-de45385a1b4so237015276.3 for ; Wed, 17 Apr 2024 04:32:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713353527; x=1713958327; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=4v6W4xRXl47pD7tcdIWVC0ohUwgC4w53EhK5/Us5XW8=; b=CPdvH8+wJfhTlC/mHx8KvpLpc2b+sBGpjenoeruZjuBU2w13lQSTba3LURSWxTIgV7 eu8FHW1F49UiQmbwDE1Dkz0xL/MiEIUK7n50gAfWuQm1WeyngtAiN2+xDrkswQWbuduc d/iw0x5ObAaFDtP+d+cco/5pW8CkPN4Iq37ef6dTdHar7nM1t9xAVRtEhF37AJSj9e08 ZZLCuBPgN9CbspkjvHcLLklqlZm18Ie5E/QKfY0wVUw9OLqgSGAyWIJBAVpqZ34kcHZe sAHmyllcF8NPKp5nMyUwxwsB5ff9SZQDcdYawfGAKrkkvQyXtXO2pBrPcxIJNDnsfyPe 5/XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713353527; x=1713958327; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4v6W4xRXl47pD7tcdIWVC0ohUwgC4w53EhK5/Us5XW8=; b=uuIopq496ksJxrIGMYgMX7h6bD2kL+QxLjhOjrIe4DVzNNZcW+l9ttjerCsfU6e+7X +TlnurzslC0yQGJR+l/QJybNJX2aS028mDdpzAOT9PICS66R4zSLai0UaJ9Jfs/Uq7TJ HAxTapLM+68f6v7ybBSsZsgOkwAw2JTiZxxRqttl1ZuAq02xp8yrR7Gtz8IUk0BLg9W7 B14eNwuVilaRcQoX8xWjzdq9ao/5kNN+Z0vOBCr9nm+8582qpsHLtDMVqA/CfM0agL7c olBIp34QpkyArSpe2TtpW0C051kMTUkTev4Yz6fTWhRk3G1e9/3Utxjk72raRn3Tt7yF t3pA== X-Forwarded-Encrypted: i=1; AJvYcCXNfn3UPd3jU4y1E0QL8Yo0m9Xj8tRwZi4etwnDpSI1u9lvtv3HA5XtDhOGF+FTq4tj54zy6RZXA99DpL++8n4vtWuMQUOfJHsUXahT X-Gm-Message-State: AOJu0YyBS46NLL20w8/DZ5pKTlcDG48b03fijPQHNBTV5X4VVLWlP5tr yXlEZMqbphX1lCJ44bjCPZaXfFu8xG8rQ7a76Vzu7Qo+ZxonQo1BXxP5VuX6tRj8XH5MW9fwzM+ cofKzqrLQmQNktoc1K8Vtv+tT1gvBq/h4CNbNsA== X-Received: by 2002:a05:6902:545:b0:dc7:4ad4:c977 with SMTP id z5-20020a056902054500b00dc74ad4c977mr14666907ybs.25.1713353527377; Wed, 17 Apr 2024 04:32:07 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240417-msm8660-mmcc-v1-1-efc9e455268c@herrie.org> In-Reply-To: <20240417-msm8660-mmcc-v1-1-efc9e455268c@herrie.org> From: Dmitry Baryshkov Date: Wed, 17 Apr 2024 14:31:56 +0300 Message-ID: Subject: Re: [PATCH] dt-bindings: clock: Add qcom MSM8660 MMCC defines To: Herman van Hazendonk Cc: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, Linus Walleij Content-Type: text/plain; charset="UTF-8" On Wed, 17 Apr 2024 at 14:19, Herman van Hazendonk wrote: > > 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 Bindings don't make sense without a driver to back them. Otherwise they are just dead headers. > --- > 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 > > -- With best wishes Dmitry