Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7582849rdb; Thu, 4 Jan 2024 00:36:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IEKgmfMlXuAIhg6e1i485a2TxiRqsNAOVWyEUUFRAxkloBb9QamarbEy+I39Xc0hf5yy/Qo X-Received: by 2002:a05:6a00:4:b0:6d9:ebbd:12f5 with SMTP id h4-20020a056a00000400b006d9ebbd12f5mr288270pfk.52.1704357376903; Thu, 04 Jan 2024 00:36:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704357376; cv=none; d=google.com; s=arc-20160816; b=ZdwrjRna6EOhGkBKbu7nWyVkiFIKkzzUShqDiWKQ+2RG6tqwp4v2xJDQeEPJyQBLAS 0+fWBfVJcQJMivZDnVLPek4d/Mr1fm9+xquOOKzj5FwHklGLwDrTchMNgzf97XODJWOO Vz4u57cEi8oPQeLw5sTtaHzhfZckDeJaJEGfvyhE7eQJdlIbXNCQHy2TX4SMDvSYp5Gl J6yZzLHIFjQ5VHNKMd0P+aU4CcW/rjZi1ft13VzrJw3cj5OeXTZjXLoCMoOfOxWBH2Xt Fky84gvFVIiCk6zVWQVB9l0e1CfEZM64B8cXx6XLJpuetkSbv3YuodCnzWAbqUeXUcsg 3j2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=sL6z7rPJZ7ZYtTvRNsIO9pmwqe360wzTCPhehlw+mBw=; fh=fIlO3XznyFvV0o4jHKytRz0w1geY57QAJsF56VekwbU=; b=Uj9RZhi1txqyJiWqwFqROPXUCeI1EUltUZa6mdZ4pvrOXBPxk5LoAbeXPKiRqhw9Wy u/UqwFp4jlHsN/+C+Px5lZGcj2I2/W2k+l/Yvlqne0waE+S4BNZP/yd1QqGITEkdmqat nbPU6OzXF7GlxDaQx3zgjjEfBuYgizcEczSvuUP1nuE5aE1bMVZ0k4d00cmHIyXx0A03 rTd8AUJcOiypTmaED208FmzBHnQEGmWzse+WpQV2XqTi2VI9G65heblP5F2sJtoHXy/Y lVeKBuRjtRXIGhWq11bZAmTWMcQHSeYaJCHtaB37sEqhEI37YLlTg2Mo1HOhUG1EDA6z ZZ3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RSKbKoFE; spf=pass (google.com: domain of linux-kernel+bounces-16371-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16371-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id s65-20020a635e44000000b005c5e24d4364si19502172pgb.428.2024.01.04.00.36.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 00:36:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-16371-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RSKbKoFE; spf=pass (google.com: domain of linux-kernel+bounces-16371-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-16371-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 9185AB240FC for ; Thu, 4 Jan 2024 08:36:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C94F21DFC2; Thu, 4 Jan 2024 08:36:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RSKbKoFE" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) (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 61FFF1DDCE for ; Thu, 4 Jan 2024 08:36:02 +0000 (UTC) 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-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-5569472f775so304015a12.2 for ; Thu, 04 Jan 2024 00:36:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704357360; x=1704962160; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=sL6z7rPJZ7ZYtTvRNsIO9pmwqe360wzTCPhehlw+mBw=; b=RSKbKoFEgGhWZe7tdPUPFlZ+QjeiptJkieFiy6V4wCXc56AUonJp+ZxRrnpBBatOga id7OqZErrsOr0JWCvcc5BqF7AgHzUyrVu38VjxWQSneRU3NFljmxxS69EbDcwCHDvl/2 0Ds9ilFJSAbi1MGqhywrPLjOWL8WwWFLOhKOFpC/u5cUGyRu1I/w5U0wmcLNIUd8TdoV msTHZlpFTsMjDBwFukS8w3T5942FfDaLnlnOGhralnAvskHr52mn7FtatW5+LsgF83BT 7gsL7JkhP0PLH9fE3PAGSHWRIqeLdNrzkPQCYBdH4Va/JUQ+qaEPYoUgbTrftpE7ICOg LcSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704357360; x=1704962160; h=content-transfer-encoding:in-reply-to:autocrypt: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=sL6z7rPJZ7ZYtTvRNsIO9pmwqe360wzTCPhehlw+mBw=; b=egoAo/7Joho7raxxgX4c+0BvusZ3ZGDYON0h/UMMgw2hD55RZ3y0+OUOdTM1qnZMzX ou1nKjRi0866ALX5ojvsBAq3ryVNY9icDs3zDi4zIwrgHP8pacqLRlxqrzmthMYhfXi7 4WWOKM+4t+2IvfdU5dwaIGTGyJJ4psCemmDIovh/UcMYOcVR+qExEwbtqdNDjT+3uKyL bhGslAJBHrAtJeITxNhSo+Ujrq2CMC1JYQMG5dSwicZYTnETkoWlMUnNbdTbGDVQ+0tL 3ar2Hqr560EbLSs8LQUU7ziP0tvB42vlYa4gdG/sAwJpdqblH+q7APrCISbcw7sey0ds hfiA== X-Gm-Message-State: AOJu0Ywfz+Wwe1JZda3hM4driWQ8zol5ReUPdNU3WDo0PVmprjIAbujT 0CIT8NsVqeGJ00lOs6vHPlzdzRkjjxuHcg== X-Received: by 2002:a50:9e0c:0:b0:556:e4da:618b with SMTP id z12-20020a509e0c000000b00556e4da618bmr176006ede.10.1704357360567; Thu, 04 Jan 2024 00:36:00 -0800 (PST) Received: from [192.168.1.20] ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id y11-20020aa7c24b000000b00553754bd636sm18503253edo.35.2024.01.04.00.35.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Jan 2024 00:36:00 -0800 (PST) Message-ID: <942d79d0-08a8-4cda-90de-57daa44d9dd7@linaro.org> Date: Thu, 4 Jan 2024 09:35:58 +0100 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 v1 3/3] dt-bindings: mfd: sophgo: add misc MFD for Sophgo CV1800 series SoC. Content-Language: en-US To: Jingbao Qiu , a.zummo@towertech.it, alexandre.belloni@bootlin.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dlan@gentoo.org, inochiama@outlook.com References: <20231229090643.116575-1-qiujingbao.dlmu@gmail.com> <20231229090643.116575-4-qiujingbao.dlmu@gmail.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.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/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX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lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20231229090643.116575-4-qiujingbao.dlmu@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 29/12/2023 10:06, Jingbao Qiu wrote: > Add devicetree binding to describe the MFD for Sophgo CV1800 SoC. SoC does not have MFDs. We already talked about this. > > Signed-off-by: Jingbao Qiu > --- > This patch depends on the clk driver > Clk driver link: > https://lore.kernel.org/all/IA1PR20MB49539CDAD9A268CBF6CA184BBB9FA@IA1PR20MB4953.namprd20.prod.outlook.com/ How? Really, explain me how this depends on driver? Because if it does, then it is clear NAK as binding cannot depend on driver. Wait, this is v4, not v1! Include full changelog. So you just ignored all the comments? NAK. > > .../bindings/mfd/sophgo,cv1800-misc.yaml | 69 +++++++++++++++++++ > 1 file changed, 69 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mfd/sophgo,cv1800-misc.yaml > > diff --git a/Documentation/devicetree/bindings/mfd/sophgo,cv1800-misc.yaml b/Documentation/devicetree/bindings/mfd/sophgo,cv1800-misc.yaml > new file mode 100644 > index 000000000000..6fd574a2a945 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mfd/sophgo,cv1800-misc.yaml > @@ -0,0 +1,69 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mfd/sophgo,cv1800-misc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Sophgo CV1800 SoC MISC hardware block > + > +maintainers: > + - Jingbao Qiu > + > +description: > + This hardware block is an independently powered module within > + the CV1800 SoC. This hardware block contains RTC, Power-On-Reset/POR. > + > +properties: > + compatible: > + items: > + - const: sophgo,cv1800-misc > + - const: syscon > + - const: simple-mfd > + > + reg: > + maxItems: 1 > + > + rtc: > + # Child node Drop, it's obvious. > + $ref: /schemas/rtc/sophgo,cv1800-rtc.yaml > + type: object > + description: > + RTC for the SoC. This child node definition > + should follow the bindings specified in > + Documentation/devicetree/bindings/rtc/sophgo,cv1800-rtc.yaml. > + > + por: > + # Child node Drop > + $ref: /schemas/power/sophgo,cv1800-por.yaml > + type: object > + description: > + Power-On-Reset/POR for the SoC. This child node definition > + should follow the bindings specified in > + Documentation/devicetree/bindings/power/sophgo,cv1800-por.yaml. You do not have any resources, so no need for this child. > + > +required: > + - compatible > + - reg > + - rtc > + - por > + > +unevaluatedProperties: false > + > +examples: > + - | > + #include > + > + misc@5025000 { misc can be anything. > + compatible = "sophgo,cv1800-misc", "syscon", "simple-mfd"; > + reg = <0x05025000 0x2000>; > + > + rtc { > + compatible = "sophgo,cv1800-rtc"; > + interrupts = <17 IRQ_TYPE_LEVEL_HIGH>; > + clocks = <&clk 15>; > + }; > + > + por { > + compatible = "sophgo,cv1800-por"; > + }; > + }; Best regards, Krzysztof