Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp1707316lqs; Sun, 16 Jun 2024 00:38:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUVOR5RONNQ8/MbJKoLVIQqLAooEWxR4kQOrkhWH9ZXfZu7lBaw1rDLfHt6z28FKqJd+BiMOjZEAKFmtJaWVpC2+I6gj6ooN6WplVn6hg== X-Google-Smtp-Source: AGHT+IF9Ir5fDimT8UGbb5tVBQHRRTG3rBgJToTF07+cU1nKsV9scVSxIug8VlXYw2+tk6Hze7Mw X-Received: by 2002:ac2:5190:0:b0:52b:c1d4:7df4 with SMTP id 2adb3069b0e04-52ca6e9b388mr4809764e87.56.1718523536554; Sun, 16 Jun 2024 00:38:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718523536; cv=pass; d=google.com; s=arc-20160816; b=1C/QQOaGEvbSD6oOJlZYowx8d+Q/loyGT7F5cIw0JzeJUXZalpyg+FaT6pZQSnf2y7 vjZLVXhQnAW/KIWQ5V9U9elz4hMbfM9iKSxapGrvMmNbO/8WC+EXFV/tFqEjkpE5vf1E yjujods7kwPMxzi/dZTBHxoNsv99kkyzs1JrYVzSgIlTDQ3dia3oQ20s0u+GypQNrO6n 1VhCI4SeEijX9lgyMSTMcHJwG4ZV5zdNEeYUK5YsauOXUvY1Kg7OyLjSKgg+DykusVvw QR7YJCeOqa3eUnCnThZI5mdxkleDtMqcX1vWOEu3fKtaZabm8Igt6NQaB6IWEqUQJl6M JM1g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=ubD7KF8yVQEY07rPslv7FOQ0PWXQXcqVhtOYzmfK0QE=; fh=ObnWH1IIDCIr9ECeZkq+jxZ9tj9xHTkEPKizjgPBb4c=; b=Roay6F34KnXTQcGXGxrpkSRdb7lsha6Hscxt1p9gLInjD8265ie8ZjPaA1LSSkC+7Z lhx640pmqeB9Takb0Ay5gzrWyCvHi6wdc+xFqy+jbTu+Ck5iA4Y7jsj1BxKlf7VQ+CA3 ILUZzbpScwwnqZHwxtyjAy9NSqAA73HgG8jyKYpa8gOkrZCG8aulbXU2GLMTwsgmihsq 9p3q+ackgl1h6CECFU17X1NqPDJ0NsamlYqeoGk3qKrsKmkZ1pfLMs2gSVuTDdvkTFhN e8f3WIKwEwTuvsp7A5rbr05aSEJ3EPSlBsDUNVDjZjiFZe+dDQJOyAu/9XiU6914PZhL 5KAg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i054XHwT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-216167-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-216167-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6f56df9507si352910266b.676.2024.06.16.00.38.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Jun 2024 00:38:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-216167-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i054XHwT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-216167-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-216167-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 18E3F1F21474 for ; Sun, 16 Jun 2024 07:38:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EFD5D181CE5; Sun, 16 Jun 2024 07:38:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="i054XHwT" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 ECDFC181335; Sun, 16 Jun 2024 07:38:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718523491; cv=none; b=KGjB183aZ7ag3+gI+dPGKPaipfafVVB38IvvnqaTqsnwmgcjkQ8fG5apVrCKVh/z5+M8okO+Hk9DtU0mkGuaMxGaExTzJ0MeMwfh4cci0a4BlqyZXAXl0BmKkP1Ey1BAPk32/SaT/WJIe0B9V+D5VE/uJ1jvjpGwdO9ERGztlz4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718523491; c=relaxed/simple; bh=Wfs1Oi936Q78/s0AH2TiYpj+5LyCrX1AJWUL91zSuGI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ue3GaEzJzVlkcoDZgM3Dam+Y8dBltdlRC0G/fYmgWZI4h5v7fmJoafY9PJorVZPM8Dzg4r5o7+38i59eYLBCN++AdoVd+X/9iPuJOxx798tyQ2m+j56odw6r2ygv5upi/V42oxeiaN8BWNzI/fG3eXL82rQxOZ99lseHBxKa5aE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=i054XHwT; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5F690C32786; Sun, 16 Jun 2024 07:38:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718523490; bh=Wfs1Oi936Q78/s0AH2TiYpj+5LyCrX1AJWUL91zSuGI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=i054XHwTSBl2QP79McswBsOEqOdJ6nnbAQNfLHyBxEs422eIRsy20AWufyQxQ44Q8 lZmvHFiJjJrHkYpwBpD2yfF+2PDS7mXedGtQhzHaCmHMjvqR31qifLsltZTUxHzha5 2VCk6dgqmgPE3yE7tq7XQ5RoLo+RncHJv9AurvLZUhTgblkNq89GhkeJJcftKQQNpa l+8h0rPNw51rYuPPgD09YJ5brQYc/Rp4EfyB2oIuDD6l+4wQq6DnU+9bMDmmle4LUP axKX2OReE3mDpoKQjeWP0q2jUetszKN70T52UGdixAQ61ySTR8P4n68D+EKQUWLAYh A/kpye8jxVYjQ== Message-ID: <936beb9a-2701-476c-8f5a-4b6b06d4f87d@kernel.org> Date: Sun, 16 Jun 2024 09:38:04 +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 03/12] dt-bindings: mfd: renesas,rzg3s-vbattb: Document VBATTB To: Claudiu , geert+renesas@glider.be, mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, lee@kernel.org, alexandre.belloni@bootlin.com, magnus.damm@gmail.com Cc: linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Claudiu Beznea References: <20240614071932.1014067-1-claudiu.beznea.uj@bp.renesas.com> <20240614071932.1014067-4-claudiu.beznea.uj@bp.renesas.com> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307Q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+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: <20240614071932.1014067-4-claudiu.beznea.uj@bp.renesas.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 14/06/2024 09:19, Claudiu wrote: > From: Claudiu Beznea > + > +maintainers: > + - Claudiu Beznea > + > +properties: > + compatible: > + items: > + - const: renesas,rzg3s-vbattb > + - const: syscon > + - const: simple-mfd No, mfd does no look good. That's not a simple device anymore and you claim here child does not need vbat bclk, power domains and resets? That would be a big surprise, although technically possible. Please clarify: which of parent resources are needed for children? ... > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + > + vbattb: vbattb@1005c000 { > + compatible = "renesas,rzg3s-vbattb", "syscon", "simple-mfd"; > + reg = <0x1005c000 0x1000>; > + ranges = <0 0 0x1005c000 0 0x1000>; > + interrupts = ; > + interrupt-names = "tampdi"; > + clocks = <&cpg CPG_MOD R9A08G045_VBAT_BCLK>; > + clock-names = "bclk"; > + power-domains = <&cpg>; > + resets = <&cpg R9A08G045_VBAT_BRESETN>; > + #address-cells = <2>; > + #size-cells = <2>; > + status = "disabled"; Drop > + > + vbattclk: clock-controller@1c { > + compatible = "renesas,rzg3s-vbattb-clk"; > + reg = <0 0x1c 0 0x10>; > + clocks = <&cpg CPG_MOD R9A08G045_VBAT_BCLK>, <&vbattb_xtal>; > + clock-names = "bclk", "vbattb_xtal"; > + #clock-cells = <0>; > + power-domains = <&cpg>; > + status = "disabled"; Drop > + }; > + }; > + > +... Best regards, Krzysztof