Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1391209pxj; Fri, 21 May 2021 13:05:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbmOy1V3/6bniqn+O6S4QwsmrK4wNX554a9iFkQrRvNwS/LWZ7BHb1KfzshmFXdicGEXAc X-Received: by 2002:a92:d48e:: with SMTP id p14mr515260ilg.33.1621627532792; Fri, 21 May 2021 13:05:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621627532; cv=none; d=google.com; s=arc-20160816; b=qOJr7ZXWOXr67S4RCxMPKbiQWvoYPlBFhtobCJhsputghY/8E0acq29+vSBDBzdrFg EZy1HUqrYP/oCZFPFf0vuPrVxg84wz49V2+3kyXyKF7nQUfOsuoeBXtNJ8CdnXXVdDCl DWnAH+kRQTKdL9gSmCANW87HLpbmahgzI2FB8U0l6Zdk0sX1c2nbKWeeixBIaHvxP09y eHUJjmwKomxdam2cULsjXjZXCFWqTA+HfXamoRp00vXeHU3RHs2vxxEW4DvKSSyjLF59 G37O/+fbIMNldBRwTgp3USyUOt1DTR9eRkmXXnue8lBVTOP42ZYPipH45Qe8g1JqKz1m q5ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=k4KWGlvK3qGaxYX6Np3iLLA0ulq4Lc64J8obvuCRFos=; b=DyZ4L93UdCLtDDlXgXiuKE1OWznTujP295YSH3IFIFEyjC+n1730cNC8w7cdQZcbCO kF96WZ/57IelrsnSNOnZY7ZsRw6amStTcB7o9mZ4mROyNZ7vK/sIZNhgYewsHxY4ZVXy ANTAKtbR8/T6G/pk2+GzYmEMtutCNk0ZnAqLdrxLi0smH7hMtp4HUTGD3OqAzxyKns/z BXpG9x7BUvYnWY8rZ3vcxjbwtEIt0aoPtc2+qeuNY/+1V/Sp9tg1fgL5MeICHF6BQFiF lj9tIPyrG6nh8w+9fvWynVdY6GG1zj0LG4tFOUW71kS266QJPjAw1UcY2xg6RStlQ9wo ApGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m25si6224594ioo.79.2021.05.21.13.05.20; Fri, 21 May 2021 13:05:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236667AbhEUBXs (ORCPT + 99 others); Thu, 20 May 2021 21:23:48 -0400 Received: from mail-oi1-f174.google.com ([209.85.167.174]:43684 "EHLO mail-oi1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236106AbhEUBXr (ORCPT ); Thu, 20 May 2021 21:23:47 -0400 Received: by mail-oi1-f174.google.com with SMTP id j75so18175507oih.10; Thu, 20 May 2021 18:22:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=k4KWGlvK3qGaxYX6Np3iLLA0ulq4Lc64J8obvuCRFos=; b=jWAVLfBmhX6ThekBj9xd7TMnxW4eStR8T0RI4CsDJbeeiS6zEeGNInMmiRKMIvCCHx 67j1fd/Q0sFRVzJupf6fpbH21ECwREqWkEmMToMNnj8uaQwfTsyVrbwgGa3wnlbVuNva VDcUOVe31Xt2DMo/F581sed3doUi7nJMi/hl7v6bKr6vl7vK3YaCChSuTJaqgGc6UgOi VFg6liVDzxo4w8/YBS/c4dGvXUyuGP3jMn5yZeJWIHxyn5GReh9egsPI1YCVJNHEL8le URTwvgYsYnRpDRS+EW6HtN5Av34bn2xsyGz2caAX259BdqxTPDrLa7mjmIiZMGvJ5Bsg Gd0Q== X-Gm-Message-State: AOAM532VNkJjriL0CbZ6B+Iq73xj9zhxO3wX81FzX7E9RXYR+DMkIhMx 1fGFJsp3+VaKfXbj0sy91g== X-Received: by 2002:aca:dd86:: with SMTP id u128mr214796oig.155.1621560144175; Thu, 20 May 2021 18:22:24 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id f2sm960015otp.77.2021.05.20.18.22.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 18:22:23 -0700 (PDT) Received: (nullmailer pid 2428345 invoked by uid 1000); Fri, 21 May 2021 01:22:22 -0000 Date: Thu, 20 May 2021 20:22:22 -0500 From: Rob Herring To: Fabien Parent Cc: Matthias Brugger , Weiyi Lu , mkorpershoek@baylibre.com, Matthias Brugger , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH 1/2] dt-bindings: power: Add MT8365 power domains Message-ID: <20210521012222.GA2426808@robh.at.kernel.org> References: <20210518194008.2921469-1-fparent@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210518194008.2921469-1-fparent@baylibre.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 18, 2021 at 09:40:07PM +0200, Fabien Parent wrote: > Add power domains dt-bindings for MT8365. > > Signed-off-by: Fabien Parent > --- > .../power/mediatek,power-controller.yaml | 2 ++ > include/dt-bindings/power/mt8365-power.h | 20 +++++++++++++++++++ > 2 files changed, 22 insertions(+) > create mode 100644 include/dt-bindings/power/mt8365-power.h > > diff --git a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml > index f234a756c193..9a26a2cee7fb 100644 > --- a/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml > +++ b/Documentation/devicetree/bindings/power/mediatek,power-controller.yaml > @@ -27,6 +27,7 @@ properties: > - mediatek,mt8173-power-controller > - mediatek,mt8183-power-controller > - mediatek,mt8192-power-controller > + - mediatek,mt8365-power-controller > > '#power-domain-cells': > const: 1 > @@ -64,6 +65,7 @@ patternProperties: > "include/dt-bindings/power/mt8173-power.h" - for MT8173 type power domain. > "include/dt-bindings/power/mt8183-power.h" - for MT8183 type power domain. > "include/dt-bindings/power/mt8192-power.h" - for MT8192 type power domain. > + "include/dt-bindings/power/mt8365-power.h" - for MT8365 type power domain. > maxItems: 1 > > clocks: > diff --git a/include/dt-bindings/power/mt8365-power.h b/include/dt-bindings/power/mt8365-power.h > new file mode 100644 > index 000000000000..352440c4b5dd > --- /dev/null > +++ b/include/dt-bindings/power/mt8365-power.h > @@ -0,0 +1,20 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ What about non-GPL users of DT? Dual license please. > +/* > + * Copyright (c) 2021 MediaTek Inc. > + */ > + > +#ifndef _DT_BINDINGS_POWER_MT8365_POWER_H > +#define _DT_BINDINGS_POWER_MT8365_POWER_H > + > +#define MT8365_POWER_DOMAIN_DISP 0 > +#define MT8365_POWER_DOMAIN_CONN 1 > +#define MT8365_POWER_DOMAIN_MFG 2 > +#define MT8365_POWER_DOMAIN_AUDIO 3 > +#define MT8365_POWER_DOMAIN_CAM 4 > +#define MT8365_POWER_DOMAIN_DSP 5 > +#define MT8365_POWER_DOMAIN_VDEC 6 > +#define MT8365_POWER_DOMAIN_VENC 7 > +#define MT8365_POWER_DOMAIN_APU 8 > + > +#endif /* _DT_BINDINGS_POWER_MT8365_POWER_H */ > + > -- > 2.31.1 >