Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp64077lqt; Mon, 18 Mar 2024 01:04:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVMcFlCbC0t3zG87Ia7ODFG4qGndHbOU33cWrpRLo5M12CAU2arok0Sa//gHZWtUYczUBbS+SDXpj2SOuC88Qus4N0U9VwnwUsjuZbojg== X-Google-Smtp-Source: AGHT+IHG2XO/xLhvYk42duzkgJJVb1hgL2Ir/BvFBMVsddmjmGoh2caQvEQFXMUS9peXdCvZOl+M X-Received: by 2002:a05:6870:2046:b0:21e:7156:a69f with SMTP id l6-20020a056870204600b0021e7156a69fmr12514735oad.42.1710749095901; Mon, 18 Mar 2024 01:04:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710749095; cv=pass; d=google.com; s=arc-20160816; b=F+4tuZ9Ybi8E0a+Mk0tYFrvUYN64JhekSCottvM61EbQQvQ1zXlWc+MlWlXUuxJJcM 36AdzNX2rTr5kMgdKqYyTx9HMXn1tTpXb3c7EXun7ZBka2xjS9SDDV/9taCiMG3YIvMw XJNROVnneAH9Vrc9qJ59YopLSO5B/iVb/Dbi0oWa2JXQhMufc8FEWFhbc99gxE7D5Kx1 dUo2u+Vx1mus6dkzEtYduMfU9xR/cQTjwY+zvkR9nF9K3Nj5MoDOLBp8o02LECCW5C2A V6nDG/uK6gZNMhdtjtpTqxmwU4BjOCsNlOc9YlpvzmdnnxTkVT1WGMprQVNApBgOV5Lu gQ/Q== 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:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=ghmVWRSrqClyKHrgUHN9zje0aTYyr114l2VvB7Za0Gw=; fh=SopkIMP7LH6pVkA9mO/pINiKR+FcbtBaM071UP8fg8U=; b=Ks/3wh387GEvOkn6L2Lrpm4EEohlyWV6RVLvZmNv1MynuatAJRN7tO+PgCt2MEK7Eu VCOo+QW8njyYlorW7iF9DDvdw52dBqkHvtVZPXSb7tGjnAOmpxGa/6eJYPF1WCN1fPAv GbvnAhWM/xgOHw1TI2TbSR4md2BlFv+mESwYiis8fI/f+mZ4GkOGWNt4pkIiXXUxmmct 9pmIc7SCOAnmaO35oQyoqsgVe5o1IUYoFLJLc93sQBX07JClvXKnf4T/Xp7jPkkCgFvJ 9q0bexk2u9qJWlrs5fuxWMDhOIDzMDVzBtFmRw5AfY0z+/dPaqp+RdQTO7wipyMyZnuX FFvw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SYITraCZ; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-105799-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105799-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. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id t67-20020a632d46000000b005ce025116bbsi7546030pgt.858.2024.03.18.01.04.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 01:04:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-105799-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=@linaro.org header.s=google header.b=SYITraCZ; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-105799-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-105799-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 D6553B21656 for ; Mon, 18 Mar 2024 08:04:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 097C424B29; Mon, 18 Mar 2024 08:04:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="SYITraCZ" Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (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 52494249F9 for ; Mon, 18 Mar 2024 08:04:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710749084; cv=none; b=PMgV9INpyBC/iwCo9ibXd0pFKHeH8DUl5gNYFRJnGt11yxqD+YWi1uC3f+wj4UDJN2ucUD4GlJCaDSAl01KWDKet6PVfcGnQKwzjOdD8ocQb8C4JYIXIL3aoGZ09247+83HPhAtUpIZtWwNB9r6D/CWFRaDS+6CbqoHa5za0sPU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710749084; c=relaxed/simple; bh=oq1dzdw3Uz3XTlLmpXkTiCcbiwjb9ZZ1vYSM+Qp2Fj4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=DcoVoCxM2/CDjErORUOek4mL84yKsqGm35nKfVEcaNsGadCvJHdTSpU2eEHM27CyAulC8yUuR6DKuI6eJPajJB6yK4E+Qp1yJsgJL24FENPLaNKDuWdiGTBprPouEXV6soWiLrm7llkteDXdzDLOlTSJZJbzYT8+8n7WJ1t4fd8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=SYITraCZ; arc=none smtp.client-ip=209.85.218.48 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-ej1-f48.google.com with SMTP id a640c23a62f3a-a46ac74611bso209529766b.0 for ; Mon, 18 Mar 2024 01:04:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710749081; x=1711353881; 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=ghmVWRSrqClyKHrgUHN9zje0aTYyr114l2VvB7Za0Gw=; b=SYITraCZKA8wS9+bgbyVSur3wQVQjpHmtVw9+NiQHxYC7dttOy5+XvVOZ4QASre8xJ m+Su7PmeKzSzGcPVbtbNSLou3tDkbfehSvq3UxiCGtcUFPmFGfBqPcaqTeIkoDIMZsg6 ivr7hZ8aqiZkKZxpHfm0A6P6eu1viFYQFrrStM0zvAemgUCaKNIrYaTXBPcHSa0YM3ow axAD9eoh7wU7SsRwWjXADWn1GvEmVP3xBTPdYNnkPV39luwHwGSoI/dbZKPK3l/L8LBI fTKN9KMm5bC//JopJ/dgsf0H4QrqBQnAeUrSDq38pLdW/L085bdmfqU0vtWl+FQBCvTY rCpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710749081; x=1711353881; 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=ghmVWRSrqClyKHrgUHN9zje0aTYyr114l2VvB7Za0Gw=; b=V+fpOuHL9U+9XZczAIwuWBhiKxJvyRsieAEssNkIXHHcTyOvnAHSZBKuWKDhgtVnzE P59C2ABZO0LwJKOMMSZIuzmjoWX+tjWrOfJxTswIUPusbRYbvYIhxWm0bxHChrIHxJcq ivOF8Ewqc7vf9r6XikrIXjPhdfvPNVOAiGYOElYIqLwJrQcHqDzAkgEj5o4rbNfJ+tM3 3zRw3C/8z2lmsdMXyZ0dvg9cRtyy2PUgZlSKAGS40npzxgDhudLijIOLlSVMEy4jakvW xtBf4dEyM25pJSpd1ok9PYyqnFOHEa0LLt+hkRg4UJkmBL6SnW5uclnSEtqt+2Xqcx0X H6oQ== X-Forwarded-Encrypted: i=1; AJvYcCWjeoXifZ8skUwgu1F+FkJrW0ir4LoKKkwE9Ryqv6pWUDyxUA+/WKg6L8WzuWADkhNm0Is7uO+radjXrUhzPHTNYhXuWmb5zBVKOrhf X-Gm-Message-State: AOJu0Yw5fc5f1+MFmgBX0G8A8kQ9cXrLB/q8cgp+i2+ftSLLrIwgr1rB anl+6LgJLpKrL/GOQdbuJsPdABHJniMeKT3dMolUqCZUfkdPLDobA2NhZbGxRRk= X-Received: by 2002:a17:906:11c8:b0:a46:87bc:6f95 with SMTP id o8-20020a17090611c800b00a4687bc6f95mr7286828eja.20.1710749080719; Mon, 18 Mar 2024 01:04:40 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id i26-20020a1709061cda00b00a46baa4723asm1133801ejh.119.2024.03.18.01.04.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Mar 2024 01:04:40 -0700 (PDT) Message-ID: <3f6753ab-ef3c-4bf2-a885-afbf5ad83ccc@linaro.org> Date: Mon, 18 Mar 2024 09:04:37 +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 v4 2/4] dt-bindings: soc: sophgo: Add top misc controller of CV18XX/SG200X series SoC Content-Language: en-US To: Inochi Amaoto , Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen Wang , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Jisheng Zhang , Liu Gui , Jingbao Qiu , dlan@gentoo.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org References: 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 Pd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qH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 18/03/2024 07:38, Inochi Amaoto wrote: > CV18XX/SG200X series SoCs have a special top misc system controller, > which provides register access for several devices. In addition to > register access, this system controller also contains some subdevices > (such as dmamux). > > Add bindings for top misc controller of CV18XX/SG200X series SoC. > > Signed-off-by: Inochi Amaoto > --- > .../soc/sophgo/sophgo,cv1800-top-syscon.yaml | 57 +++++++++++++++++++ > 1 file changed, 57 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800-top-syscon.yaml > > diff --git a/Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800-top-syscon.yaml b/Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800-top-syscon.yaml > new file mode 100644 > index 000000000000..009e45e520d9 > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/sophgo/sophgo,cv1800-top-syscon.yaml > @@ -0,0 +1,57 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/soc/sophgo/sophgo,cv1800-top-syscon.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Sophgo CV1800/SG2000 SoC top system controller > + > +maintainers: > + - Inochi Amaoto > + > +description: > + The Sophgo CV1800/SG2000 SoC top misc system controller provides > + register access to configure related modules. > + > +properties: > + compatible: > + items: > + - const: sophgo,cv1800-top-syscon > + - const: syscon > + - const: simple-mfd > + > + reg: > + maxItems: 1 > + > + "#address-cells": > + const: 1 > + > + "#size-cells": > + const: 1 > + > +required: > + - compatible > + - reg > + > +additionalProperties: > + type: object You have schema for the child, don't you? So use it: add 'dma-router' to the properties with $ref. additionalProperties: false. Explain the dependencies and merging bindings via one tree in the cover letter or commit changelog. Best regards, Krzysztof