Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp985423rdb; Sun, 18 Feb 2024 23:38:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVTNxrPcRL3FI9CIWISvZZhxKnqLFuxXUExcAH3KhwT/kDzxk2RMhj67B9o3FVd0rU/oiFsU5xDWZzxsMHUys3t8RNrpq7x/gXO3eTpvg== X-Google-Smtp-Source: AGHT+IEOXgi3ylEzI+FXZILY0vkrt8EIsjK0yYu/VxUCTVCacjyOU88U2ZC63uhUuHjHLa53qw4K X-Received: by 2002:a05:6a00:4185:b0:6e4:6062:e978 with SMTP id ca5-20020a056a00418500b006e46062e978mr2977195pfb.1.1708328288661; Sun, 18 Feb 2024 23:38:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708328288; cv=pass; d=google.com; s=arc-20160816; b=Ht+zSaJ6omLvOwtQoAdThVudZ4kkdH/28u/w22lunBlRQyNQH46NaO+byYfowJ5sKz aSxy7qXTXWP23CfLMCb6GP83D3sgEofEV5xsO/as3XQbQpYNMHT30KJGAUczvPO6Xw/w Z18zGQvwrD82g4fRaHOJ+GmGtoR4b9KABcu+KHc4+aXKR2ps73tZrK6/LcR/zAQrVd+9 uy8I5Q3A0UP7QkpUzW3szWmBjAyG7CPTAvY/9daMZXJeGqAvo4ezxfFNR9dMnHhmVPiu ayZGbEoCGzcQ1FVr6yG3m5ROsjtRp+EIYnEA7h1yztR6v4OAApf9z0rqp051S6X8ERjJ OmZA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=KZKyFQ6cSp7LJWXpDL9YbFwutlq73FoMYcAlibyNYzc=; fh=CqNOrFggO1FArbTdX9BnSyH5hsbH66QKbOHwKGRsBgo=; b=mdw+RAEn8g9shvfS6IgCc4dqOI9q7U6roUZ8wsYi9wfyHq8VaxMTrEnazxvJAw+pqA E7iLUDlU6QPL/Yy1Kb+zbTidlZu1SWhZCmgIt600HV6JgMrYaQ27iOaEN1inUNOyPbZq hktXzS6BemCc47nfZPsehYWwcosMDPLCkuW90rFUVeZRDb7GWVhyzkj/b5dQQQI/HmWJ sDrLeui7ANMYNFed9vC2UgliEBN2SQa2mhvX7ypfO6DUUwyoGK7oRZXtfguAPjgY/Ard b8TqVWOh45LA1UGfAf0vXENvBoLA3aFQsCil+dZyvYBSB1XMEY/uOkyHOLsTa9FImwXd AcaQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=OviAPIbL; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-70841-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70841-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id p18-20020a639512000000b005dcb4f1acc6si4095303pgd.176.2024.02.18.23.38.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 23:38:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70841-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=OviAPIbL; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-70841-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70841-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id CF663B21C0E for ; Mon, 19 Feb 2024 07:37:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1CB4A20DC8; Mon, 19 Feb 2024 07:37:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="OviAPIbL" Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.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 82EC720B10 for ; Mon, 19 Feb 2024 07:37:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708328222; cv=none; b=IUB6AXGFOwrt2PrSJ+kfxwClw35VJ4vxPTY9Vgc12b/tyobcg4Nlf8hScBss1dbj9ixk2hiBzACzj1NNFHYnspPnZdB0Ua0zFNKrhZWgdtE50fKAWpzGLJyIxOTd9CGHxrm+M/fdim2jKIuzQG+Ol4Z5kheYAfitkOEO1M14Wcg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708328222; c=relaxed/simple; bh=30e0PiSWhXN+1/mrmwX+jgY2/XnTypbZ+oimDofzoCY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=HIpJJu7GBxCy+xo6JAmijZDojL/LIdeaY9FonyHAcLMPlGBXTd73C8Fl3f9Q9l+/TKjo1UU6rNnlvhbVZRLUiroRiG7OvEvgJh6EX4unpO72O01KyDQxNGbONdhisSfjJSyZL/QDcMzIOVUCeLF9zeBZh+nw5vuorFN+EbZyVTw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev; spf=pass smtp.mailfrom=tuxon.dev; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b=OviAPIbL; arc=none smtp.client-ip=209.85.167.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxon.dev Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-512b3b04995so369283e87.3 for ; Sun, 18 Feb 2024 23:37:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1708328219; x=1708933019; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=KZKyFQ6cSp7LJWXpDL9YbFwutlq73FoMYcAlibyNYzc=; b=OviAPIbLmXSlM9YjuT+VzRzlP4mwg0TfmipdZj/nXQF7NBtC6SMyBA5na7KScCUN1I FTKCe9fGdh9x4zhskWXZ/CxbzTv3A4a7JyIYs6VeUJuoOTx2B5iWHZgWPuYBSKR+qvfO ixoIw985pggih160UhJwQa0TTCJQw5FUpXs//XOn2JfYkEl07e56zLAjmOwnxIwElRKO KURvitS32qjV6TrfrxtB73XNEL+qmRXfOw9hgs3aKxt3zom7KNzRw9ie2uFv0PTKXCnD sQhoo0EKnfvQ2UnUrx3lZXTRShHGRp4pElDDLPHGs9CDKVLbe+McOVxh9bVD9ccT/XxE veQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708328219; x=1708933019; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KZKyFQ6cSp7LJWXpDL9YbFwutlq73FoMYcAlibyNYzc=; b=Afr0nNej5KMXBJzzAdj3thX6OKOLSe95Vdfg/b199Be2CKbd7p/NstA9/9+7GsUOCQ 78hJae+PGLQ/PpLnQr8ZHVo7fZJ1jE0YA73tAi5WvrAmFW+O9Mp/9150NVNKxvVUKRgD LTxJnjJpCdwEtocykGCaXiJsYr1S2ec0a+baIi7sop/GYyvjHNsGH/6ZAPTSrhid4UMa dsQRpOhfe9FKdWACG2s1uCxeBsIEsTOS76W8p0bolWJd/wuB2LaBBxvRJw3FJEUKjm6S T+bsSu/wKeMXHXUsjbgGJzHLTUcYxPTfU0eG/eAoWtPWPcQtXp+wKvH0GFRMzm5fCVQ6 bkCQ== X-Forwarded-Encrypted: i=1; AJvYcCUeZq9u1u7ZHX2C/GCLW+lvx8Vcr3/UjDXSZ94lg8alDlPMHiLW7efljUlJsfXFgiVJ+tU8I+nS+sGP2x1tPIExoaMn1iX2IeBVdhj9 X-Gm-Message-State: AOJu0YyOeqPjEq8WE8jQRnQZCVpjZrMo0sTEdyTFdiS1TQnn8h5D77Ei MmquCoPNUW9zw1QOW1Suc+f8A1bwUhXIXcP8syiClIsq/Wna5U6DBa2/XijR1Ck= X-Received: by 2002:a05:6512:6d4:b0:511:e296:e563 with SMTP id u20-20020a05651206d400b00511e296e563mr8756725lff.2.1708328218821; Sun, 18 Feb 2024 23:36:58 -0800 (PST) Received: from [192.168.50.4] ([82.78.167.20]) by smtp.gmail.com with ESMTPSA id l20-20020a05600c1d1400b0041256ab5becsm7617445wms.26.2024.02.18.23.36.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 18 Feb 2024 23:36:58 -0800 (PST) Message-ID: Date: Mon, 19 Feb 2024 09:36:56 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 01/17] dt-bindings: clock: r9a07g043-cpg: Add power domain IDs Content-Language: en-US To: Geert Uytterhoeven Cc: mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, magnus.damm@gmail.com, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Claudiu Beznea References: <20240208124300.2740313-1-claudiu.beznea.uj@bp.renesas.com> <20240208124300.2740313-2-claudiu.beznea.uj@bp.renesas.com> From: claudiu beznea In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi, Geert, On 16.02.2024 16:01, Geert Uytterhoeven wrote: > Hi Claudiu, > > On Thu, Feb 8, 2024 at 1:43 PM Claudiu wrote: >> From: Claudiu Beznea >> >> Add power domain IDs for RZ/G2UL (R9A07G043) SoC. >> >> Signed-off-by: Claudiu Beznea > > Thanks for your patch! > >> --- a/include/dt-bindings/clock/r9a07g043-cpg.h >> +++ b/include/dt-bindings/clock/r9a07g043-cpg.h >> @@ -200,5 +200,53 @@ >> #define R9A07G043_AX45MP_CORE0_RESETN 78 /* RZ/Five Only */ >> #define R9A07G043_IAX45_RESETN 79 /* RZ/Five Only */ >> >> +/* Power domain IDs. */ >> +#define R9A07G043_PD_ALWAYS_ON 0 >> +#define R9A07G043_PD_GIC 1 > > As this file is shared between RZ/G2UL and RZ/Five, R9A07G043_PD_GIC > needs an "/* RZ/G2UL Only */" comment Ok. I'll re-checked it and update. Likewise for the rest of your below points. > >> +#define R9A07G043_PD_IA55 2 >> +#define R9A07G043_PD_MHU 3 >> +#define R9A07G043_PD_CORESIGHT 4 >> +#define R9A07G043_PD_SYC 5 > > Likewise for the four above. > >> +#define R9A07G043_PD_DMAC 6 >> +#define R9A07G043_PD_GTM0 7 >> +#define R9A07G043_PD_GTM1 8 >> +#define R9A07G043_PD_GTM2 9 >> +#define R9A07G043_PD_MTU 10 >> +#define R9A07G043_PD_POE3 11 >> +#define R9A07G043_PD_WDT0 12 >> +#define R9A07G043_PD_SPI 13 >> +#define R9A07G043_PD_SDHI0 14 >> +#define R9A07G043_PD_SDHI1 15 >> +#define R9A07G043_PD_ISU 16 >> +#define R9A07G043_PD_CRU 17 >> +#define R9A07G043_PD_LCDC 18 > > Likewise for the three above. > >> +#define R9A07G043_PD_SSI0 19 >> +#define R9A07G043_PD_SSI1 20 >> +#define R9A07G043_PD_SSI2 21 >> +#define R9A07G043_PD_SSI3 22 >> +#define R9A07G043_PD_SRC 23 >> +#define R9A07G043_PD_USB0 24 >> +#define R9A07G043_PD_USB1 25 >> +#define R9A07G043_PD_USB_PHY 26 >> +#define R9A07G043_PD_ETHER0 27 >> +#define R9A07G043_PD_ETHER1 28 >> +#define R9A07G043_PD_I2C0 29 >> +#define R9A07G043_PD_I2C1 30 >> +#define R9A07G043_PD_I2C2 31 >> +#define R9A07G043_PD_I2C3 32 >> +#define R9A07G043_PD_SCIF0 33 >> +#define R9A07G043_PD_SCIF1 34 >> +#define R9A07G043_PD_SCIF2 35 >> +#define R9A07G043_PD_SCIF3 36 >> +#define R9A07G043_PD_SCIF4 37 >> +#define R9A07G043_PD_SCI0 38 >> +#define R9A07G043_PD_SCI1 39 >> +#define R9A07G043_PD_IRDA 40 >> +#define R9A07G043_PD_RSPI0 41 >> +#define R9A07G043_PD_RSPI1 42 >> +#define R9A07G043_PD_RSPI2 43 >> +#define R9A07G043_PD_CANFD 44 >> +#define R9A07G043_PD_ADC 45 >> +#define R9A07G043_PD_TSU 46 >> >> #endif /* __DT_BINDINGS_CLOCK_R9A07G043_CPG_H__ */ > > In addition, you need definitions for the modules that are only > present on RZ/Five, e.g. > > #define R9A07G043_PD_PLIC 47 /* RZ/Five Only */ > > Gr{oetje,eeting}s, > > Geert > > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds