Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2756213rdb; Tue, 26 Dec 2023 04:18:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IFIv0XA9OmIKIu34A0ypDyO4ZGFSPZFXxEzxzdJ1VAV+mpKzZsexIMCrytYFqeXnMv0Exyy X-Received: by 2002:a05:6a21:3814:b0:195:dcf5:b8e6 with SMTP id yi20-20020a056a21381400b00195dcf5b8e6mr1334358pzb.28.1703593115224; Tue, 26 Dec 2023 04:18:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703593115; cv=none; d=google.com; s=arc-20160816; b=Dsvdix7HRi59B+rUvWusrKvp7geMIe3y1mx6kV0lzrnxkAw3X4jV3ld2Z8DC0zOFn6 I5nztbyKz/KxyKYBLjn4IOa+deeWRQOA6AaUI2FRmi/2jxtKwAmCk4KLD4a0H0ORKgb4 B+PnPq39x8PfqkVSvID69P7ozNG8+XVCKSA4VdrR6CSKAlWHtJwLrTvWKClpECtxkQuZ Xy0xZY3t4Rlw0UdqD7SHFQzyqPSFqcIwiQphIFhtN1a5+b4p0TtRszjPbCuzA5zliNQW VEqrG/x7MhtMlJuWwucWR8ZxPmL/lBHJYxVXCMpCEV23aqpHZEORcf24z+EH61n3qyTm HfYQ== 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=+QvKH0mSDaKVN/E4sH9N8gca1ni/81BAMkf/MznUqUM=; fh=zre9Q2p1w0cdCRkBB4dBAjV7BbpS9HEm85dd3f0ncPU=; b=uXjyK7LcwlA5bc0ooaa68EXCVOT6T3e3Dkaotlbi0bjVRu0xQK52L8x1KJFxftaFQW lmcOTYoYZvzROlNjm07hivy4OAVTh572HYDPxJ14qURgjju10/jnqJj6Fr6lvgy+Gn6N VcYZz5PDPYtFuJokRlexm0SHcmJnGxbkhZ288ycw5xSpsM7jFnLZPkgg6mZCGkb+gn2s R5rMHhz/nu2fMOtUrk2zAX/MB1St4c3sSuwKUZFVrz6V5LJs5SQUv6vcgseZfR4zZlJ6 cnYNQcaGEN2lju8nUO2H1Vbm6qSPZanK7I8JJAn0PS7gXOqhyQ9zhgwHQ7dGkssuLFVX egAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Zb3P/Oar"; spf=pass (google.com: domain of linux-kernel+bounces-11500-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11500-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id f13-20020a056a0022cd00b006d9e6a33523si903477pfj.296.2023.12.26.04.18.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 04:18:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11500-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Zb3P/Oar"; spf=pass (google.com: domain of linux-kernel+bounces-11500-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11500-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id DCCC7281A2E for ; Tue, 26 Dec 2023 12:18:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 952894E61A; Tue, 26 Dec 2023 12:18:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Zb3P/Oar" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (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 38CC14E611 for ; Tue, 26 Dec 2023 12:18:25 +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-wm1-f42.google.com with SMTP id 5b1f17b1804b1-40d4ee4cbbcso29966355e9.2 for ; Tue, 26 Dec 2023 04:18:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703593104; x=1704197904; 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=+QvKH0mSDaKVN/E4sH9N8gca1ni/81BAMkf/MznUqUM=; b=Zb3P/OarOWbCEkUrU3XSW9IdU/88R6Q51YK2sJ8VK1dRAlGwLoV25B7zIcvERehdhH 8y3y1gtyP/2jSyqs6IjuSLjs1qSJFA5nNqCd/N3fF5MnYurvn20Fr2VVT+7Ea+6Zwj4k iS3veOt/bw0OMlTs+defErz7Awp7Pxopl9JDcwXBXDsFU4ShJKQsx/2SKK9G6DRpqLGZ x+VJftuxOXh6HBQKGyYfpGHdXARkeX7hbes4hanilhcueVFyLEh518mdsHRHlLaKc6Vm tSz2Bq9RFKigCCn6X/g/6THnzKPWmiRqB5Yw6vmvQCoiIP+b4kHPFXknAEXLENSIriu7 dcPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703593104; x=1704197904; 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=+QvKH0mSDaKVN/E4sH9N8gca1ni/81BAMkf/MznUqUM=; b=lzvut8gSwjT3xdvBgs1j2FNVQAYeBOtxB8YKDyS7eb47EOvILN/iNwJuD6/7MnTlKt rena420ZfJ+Y7z9hN84+N3D8wDML159OWosVgSp8uNLDvyMBTwLpfYsGKuGtcNrjxlXB ujVbnXzIwfE934DxotzxnU+B2NMPNG2E7QMdMqfAqVp1rmtkkhanmu9KdLUnYMtvns3T I86lLJqwxWNu5JxPFYGJQumNu2wDcgIJ03/L9VCfVx3tONkNdMEInWovS33vwssd1YPU 6gdRQoMS8TJNT4eBQJc/vMyraxaELsxIjERq/Ez0A3W4Utf1SnYNlUlylFzeeoVA16OL aabA== X-Gm-Message-State: AOJu0YzsKTwnS0sHId4qS17tJroRSfHnWJO6Ole37Txdn8ScRpQ6LjHy 3sZlwhMqQfG51b9Ul7FpqaaXH7TYo+yuGg== X-Received: by 2002:a05:600c:2203:b0:40c:2871:9727 with SMTP id z3-20020a05600c220300b0040c28719727mr3815246wml.150.1703593104407; Tue, 26 Dec 2023 04:18:24 -0800 (PST) Received: from [192.168.0.22] ([78.10.206.178]) by smtp.gmail.com with ESMTPSA id p9-20020a170907910900b00a26ac5e3683sm4955575ejq.100.2023.12.26.04.18.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Dec 2023 04:18:23 -0800 (PST) Message-ID: <8f5e5cc7-9795-4e17-8bb9-73448e960c3d@linaro.org> Date: Tue, 26 Dec 2023 13:18:21 +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 v3 1/4] dt-bindings: mfd: sophgo: add MFD subsys support 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@kernel.org, conor+dt@kernel.org, chao.wei@sophgo.com, unicorn_wang@outlook.com, 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: <20231226100431.331616-1-qiujingbao.dlmu@gmail.com> <20231226100431.331616-2-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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FzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20231226100431.331616-2-qiujingbao.dlmu@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 26/12/2023 11:04, Jingbao Qiu wrote: > Add devicetree binding for Sophgo CV1800 SoC MFD subsys. Subject and commit msg: there is no such hardware as "MFD subsys". Is this a PMIC? Does not look like. You must describe here hardware, not Linux subsystem. > > Signed-off-by: Jingbao Qiu > --- Please mention the dependency here. > .../bindings/mfd/sophgo,cv1800-subsys.yaml | 51 +++++++++++++++++++ > 1 file changed, 51 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mfd/sophgo,cv1800-subsys.yaml > > diff --git a/Documentation/devicetree/bindings/mfd/sophgo,cv1800-subsys.yaml b/Documentation/devicetree/bindings/mfd/sophgo,cv1800-subsys.yaml > new file mode 100644 > index 000000000000..c2a071c8a2de > --- /dev/null > +++ b/Documentation/devicetree/bindings/mfd/sophgo,cv1800-subsys.yaml > @@ -0,0 +1,51 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mfd/sophgo,cv1800-subsys.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Sophgo CV1800 SoC subsys controller > + > +maintainers: > + - Jingbao Qiu > + > +description: > + The Sophgo CV1800 SoC subsys controller contains many functions What is "subsys"? Why is it in MFD directory? SoC components like system-controllers do not go to MFD. > + for example, RTC and restart. In addition, CV1800 has an 8051 > + subsystem, which is configured through registers at this controller. > + > +properties: > + compatible: > + items: > + - const: sophgo,cv1800b-subsys > + - const: syscon > + - const: simple-mfd > + > + reg: > + maxItems: 1 > + > + rtc: > + $ref: /schemas/rtc/sophgo,cv1800-rtc.yaml# Your patchset is not bisectable. What's more, you have dependency between patches, so bindings cannot go via separate trees: mfd and rtc. You need to make this *EXPLICIT* in the cover letter or patch changelog. I do not see any resources in MFD block, so why having it as separate node? What other devices you did not describe here? You mentioned restart and 8051, so where are they? Which driver implements them? Best regards, Krzysztof