Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp263320rdd; Tue, 9 Jan 2024 03:32:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IHmuLtnfrhEP5nZHlINVK2aF5em12pV5q5C8f9rsS8nFnlaR0lq9NtwZbx+aw3fKOlehC3V X-Received: by 2002:a17:903:495:b0:1d4:2266:64bf with SMTP id jj21-20020a170903049500b001d4226664bfmr2403413plb.52.1704799951496; Tue, 09 Jan 2024 03:32:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704799951; cv=none; d=google.com; s=arc-20160816; b=Oc/iNcQLRVHDOndmG2yhok0sVBMW80+a3CdSyuYSoB8q/bv2teUBa5UK0tPvn/nSqW 1YkBbdUlqPwrAQ1PI3PmuN8lfwoBhpcOhMjtB5tfyo+Ad6whHIllp53yQYNwQMLke1d6 d1dKnVMBdrxzObP2+1vLAhKpW+fln2zGeIoVkGfUuvSmXHOQ3US27vWLB8WUwqxVEKgI 2kUFgn4dTG5cEpoZ33nuu5u9pI7w5CGn1JXAV1aXHLZapIb9dKsG5ETerlyAcHB7sRg9 +fopw18rB2SxfUgkt1WiQbr+h5kdQaFcDQjVBTN8NLvYzr04AnQptlD3YqRM3gFjdkv2 U8yQ== 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=7BT/3Bz9ZQPKE+gwsJqHqt2GccPEDjwKqTz/YgH4z1c=; fh=HJfxcACQgeLeOVwNdPqP1rcjo9JrinoMbVvmysEeF98=; b=GBlPQKK1OaMLikAzjA9VKs538Bh2RwTKOoB4cMYh+9r3wE0o1GZbILqDTjoJ6regXy liGhVs9Ka/FfWkGMNO6APkq3warCbZQc8YIkNxUq8ZV8owsQw0WeHlGTb8aHgFbDlYU8 P7LGGs4yZcnJHwonvTn7ewGCAmRp6fDX+aUo2OA7LSNGEM9arELqnSujQmAIUxMBrNMm 4ftwzKftcUcI0orLka6czbiyWcxX/e8YowCPKKw65e1OLmXYpM/Vfp84Yy2whrAYJbAC 0g8n6QGtnBFGHd1+IHMfyG9ZoByjB6kxsk1ftyIbEym9QMXZ5EseR+zUgp0WUdJuoW5h o0Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=GkiKEFCi; spf=pass (google.com: domain of linux-kernel+bounces-20781-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20781-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (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 q5-20020a170902dac500b001d4af344a66si1365212plx.141.2024.01.09.03.32.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 03:32:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20781-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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=GkiKEFCi; spf=pass (google.com: domain of linux-kernel+bounces-20781-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20781-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (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 238A7285557 for ; Tue, 9 Jan 2024 11:32:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C7ED37160; Tue, 9 Jan 2024 11:32:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="GkiKEFCi" Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (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 E460C36AFA for ; Tue, 9 Jan 2024 11:32:19 +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-lf1-f43.google.com with SMTP id 2adb3069b0e04-50e7e55c0f6so2878469e87.0 for ; Tue, 09 Jan 2024 03:32:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704799938; x=1705404738; 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=uZH9xu4+KP5NZ2SVNdhbpi1SJ+MZUxb3PM+kZHRuKf4=; b=GkiKEFCiqIAKZ9wwF9UNgnXxRpJTvL/QnqvBMt8NqnWwP3luy4AvGRMeDJriHd8VoM n2P/0J6MtfXJHj0NxVeatrmqqDcEPa76KBF6tK2K3B+3b8acC6CjnW1KSc1gE7O1w21J nxSz+bZDs5npvJ/yQcsea0mN9gfPMWn/XwheInlh5RDDVt23Dxk/hHyr2lIHm4pPyI7f wTWHaZjHIdrz2ifxCw1a9p6nHI7ruF0FlVsHMHcvGTq6GpidQvblSuv1tAcvJrbsXenT xepTfIsf1lNv5j7pn+F/jm7Yp6bB2k4EHNwDE6DenHzv86+9kLkXxfGtqTWr1RDGqOVc Bfzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704799938; x=1705404738; 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=uZH9xu4+KP5NZ2SVNdhbpi1SJ+MZUxb3PM+kZHRuKf4=; b=Mj/qhkjlMmHOi0ecS+4mJmLtLNH/6haY9+TEmc+Qm3pi3JaXIm7JY3Tno8Hf2verOI n2gQJk0cD7nlyqIFmRJcKCXFTMOnSNUSCkpNe1E+PI2Idjp/bOSVJrcVY5vfoHRU3NAB SkwXDJDSaxK0T4F/ZBxdZ89EvRTA6RCT3DZvWgtnvhY33dRf/ADDU0dq6rUlP3T6wa+F sEOKa8lifMigRHqxOdKLd0oHy9POgs8nQ0x9nKpW/uijlbMcMUBGDjRRFjCYaz3JGwTQ gJfxeuBVEp0EnUtORjmsdGu/gOAE/FKvdqNxtqojmWaKGxRLtwhkfJmi6oBi7Yi3lgFT /0pA== X-Gm-Message-State: AOJu0Yz8LSFs9aZEPCz4DyCOybxzJ918xXNMx1Rne+Kg6H1Yj5KJoNbr J7LE6+v4pe1irzfFrMdQf0+NLmICx/nIpw== X-Received: by 2002:a05:6512:32bb:b0:50e:9353:5344 with SMTP id q27-20020a05651232bb00b0050e93535344mr1124855lfe.79.1704799937901; Tue, 09 Jan 2024 03:32:17 -0800 (PST) Received: from [192.168.1.20] ([178.197.223.112]) by smtp.gmail.com with ESMTPSA id v12-20020a1709061dcc00b00a2af672cdd8sm935315ejh.161.2024.01.09.03.32.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Jan 2024 03:32:17 -0800 (PST) Message-ID: Date: Tue, 9 Jan 2024 12:32:15 +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 RFC v2 02/11] dt-bindings: gpu: Add PowerVR Series5 SGX GPUs Content-Language: en-US To: Andrew Davis , Frank Binns , Donald Robson , Matt Coster , "H . Nikolaus Schaller" , Adam Ford , Ivaylo Dimitrov , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , =?UTF-8?Q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Paul Cercueil Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-omap@vger.kernel.org, linux-mips@vger.kernel.org References: <20240108183302.255055-1-afd@ti.com> <20240108183302.255055-3-afd@ti.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/XDVpb1Een2XucPpKvt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XhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240108183302.255055-3-afd@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 08/01/2024 19:32, Andrew Davis wrote: > The Imagination PowerVR Series5 "SGX" GPU is part of several SoCs from > multiple vendors. Describe how the SGX GPU is integrated in these SoC, > including register space and interrupts. Clocks, reset, and power domain > information is SoC specific. > > Signed-off-by: Andrew Davis > --- > .../bindings/gpu/img,powervr-sgx.yaml | 124 ++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 125 insertions(+) > create mode 100644 Documentation/devicetree/bindings/gpu/img,powervr-sgx.yaml > > diff --git a/Documentation/devicetree/bindings/gpu/img,powervr-sgx.yaml b/Documentation/devicetree/bindings/gpu/img,powervr-sgx.yaml > new file mode 100644 > index 0000000000000..bb821e1184de9 > --- /dev/null > +++ b/Documentation/devicetree/bindings/gpu/img,powervr-sgx.yaml > @@ -0,0 +1,124 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +# Copyright (c) 2023 Imagination Technologies Ltd. Your email has @TI domain, are you sure you attribute your copyrights to Imagination? .. > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: true Missing min/maxItems > + > + clock-names: > + minItems: 1 > + items: > + - const: core > + - const: mem > + - const: sys > + > + power-domains: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + > +additionalProperties: false This goes after allOf: block. > + > +allOf: > + - if: > + properties: > + compatible: > + contains: > + const: ti,am6548-gpu > + then: > + required: > + - power-domains > + else: > + properties: > + power-domains: false > + - if: > + properties: > + compatible: > + contains: > + enum: > + - allwinner,sun6i-a31-gpu > + - ingenic,jz4780-gpu > + then: > + allOf: > + - if: I don't understand why do you need to embed allOf inside another allOf. The upper (outer) if:then: looks entirely useless. > + properties: > + compatible: > + contains: > + const: allwinner,sun6i-a31-gpu > + then: > + properties: > + clocks: > + minItems: 2 > + maxItems: 2 > + clock-names: > + minItems: 2 > + maxItems: 2 Best regards, Krzysztof