Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp503075lqg; Fri, 1 Mar 2024 11:31:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWSpIe4oUd7qE6f57XDGP5E1m8PR2zce4IXaVeGQqCbT1Csb7UfQv9pXj5MjaZLEaYTimy7O5UvG/Cr5vg+1AyIBQzMTtxwOcXdaett6w== X-Google-Smtp-Source: AGHT+IFUardIGNa0uYt8htd3zyiyBYII9hSXm94L55O9+m00sattoaYU5IBIu52IbAXO/5DGeHs/ X-Received: by 2002:a05:620a:1648:b0:787:9e26:f6f with SMTP id c8-20020a05620a164800b007879e260f6fmr2775705qko.77.1709321513522; Fri, 01 Mar 2024 11:31:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709321513; cv=pass; d=google.com; s=arc-20160816; b=FyPODLvkRGnr+XJz6MR3W7m/Km2M4sI8WBH7lD5ImqA64kJRbSlf1zLiiF4UnlKgOS mccOac3XoKBiZy6cvHHIj77sq1vRrykafts2Ra27TITwTgPv4nZNdDtegD2gY96kxSuu fZj4zi0SqyFQdgdDEzdDN03cWNK9+blLb+xHVDjHYmf5pfcjIQtvATLZtnLk895WjWHy D2QWB7TcSZrV0hZ8ZKWZuYOOGXFN8cinwCm1rWPzglDzoGZqvWLDrz/2YmwfiOMek6/a RAOA8edgvMKvcs6t3kPHThjoi+DOA2q+V4p4XR23hBjEYc56q5lT/Pw39tZ5FreVEtVN yH7g== 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=ZQMRmheFifq/WpXDe3SA79/DIiAdiSyLo/HW0/iubJ4=; fh=pFZbxn/il8QViY5MKrI/nhTz7HAYtgWA1IjxVKhsRBo=; b=yFS3zazirJR3G3pNDzjI2/jJLXkyqnueyxiu4dRHXhUlhKG64al2PRd+Ar36xR7F2S 8Mi07R/Y4CK+Yhtx9O4h1YW3LaGQwqo5dBdzqdXJrRvtoIMTDVdzEtspnKURJ8lpKOqg 9bOciCI15qzxbbsaXUuaeNz5BCyAQMwMVKKHos+M1qA7aghQCx1uXpbaGlRBjGgyFNWJ tkjvAfz3G7tMEeJ0A7E/TEG8jxgEXmvA2gLqfoP9A+qnArsCmc0aurrE2KEQVKbqEWSQ HrSjTzZEOC2ZI4ZYevgauyi74/cGsp5kzpwyl6Td9dzsgfXQcBZdlfkLauRGVRoqd3P3 MHmw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ea8WiC1u; 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-89026-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89026-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id b15-20020a05620a126f00b00785d6b130dbsi4091172qkl.318.2024.03.01.11.31.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 11:31:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-89026-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ea8WiC1u; 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-89026-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89026-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 273211C2097D for ; Fri, 1 Mar 2024 19:31:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9093A3BB55; Fri, 1 Mar 2024 19:30:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ea8WiC1u" Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (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 AF2473BB3E for ; Fri, 1 Mar 2024 19:30:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709321449; cv=none; b=Bo9pe+C+fFFaO7E0HSj8D97/RzXeGXoxCTftdPbtl3Fn0OP7fFFAZ3u4Q1/ueqJNuSadiD++wwQqvJ62r8jggoKCN2D8/eB0xTSJ9ZFPiiVBMXyIBcCO3tJoeNTliDT4F2/0aGGY/g9jwKr+iGOmu07qdRbWRxuwjtgZRFFH4IA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709321449; c=relaxed/simple; bh=bovezvqHWUeGRLJrL1za6GTBNIWSNaKOq8obIMP1cqQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Giw5ebcMZt3cAY8vBAvWsIa2kzDUD09osysPbaRD7hpHO0nEIdCG2SR3ZpV0lu5zs2/kDWl8NMq0JXJBiuvAVAoa5vr4Cfu5VwfbY0/objl1pk8X87bSPf9dKMemLEIRMWbqUJWTQpVEheA2Ywrtrolmh8sw6Cejypkh8snfyLI= 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=ea8WiC1u; arc=none smtp.client-ip=209.85.208.46 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-f46.google.com with SMTP id 4fb4d7f45d1cf-5656e5754ccso3380147a12.0 for ; Fri, 01 Mar 2024 11:30:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709321446; x=1709926246; 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=ZQMRmheFifq/WpXDe3SA79/DIiAdiSyLo/HW0/iubJ4=; b=ea8WiC1uA046zkwIPIp5+yxdmx4CMYrSY9TCxmmGwkOydeNavDz+x2b0AAM4NIOEYz Hfr1MO7VpPdKBe2Zs9AwEVotheIa+2I3BTdTes1HTQWKF77EBOGaAULVntJacX6H7dmC UA5J6CO5cub/a66aYgKh7FK/aXywxtSEZ7bOWSMzK7lN0MFKPBRqD0thaZi5EUcOio7Z 1kQY5Z1bTPCnQgMm/vNh3Tln0h6x3ac6Mv+hm6M1twBRbVGi1+OBPboZp/rLoo0f4A4X G933lLj/4RMTiKt2V9NoCnRhUNKqGcza6ca26FDzqN4ywJm5t0nJ73eOXajh81Lf9j3I +Uxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709321446; x=1709926246; 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=ZQMRmheFifq/WpXDe3SA79/DIiAdiSyLo/HW0/iubJ4=; b=ZjbPFaU2w2CKbgTkUlossbh2h+5SE0PIe7PJg1wLwkn6hS/8/6z9gRPtI6fNHsslso UQ1Nk+VhTuHmndJxIEcNLPsu2VSmJ89dmRLMpaw0LPBd6yQEo2GDOX+BBBFJBI5ErvrJ LuBHArhXI9M+os7WuFd10ZXra0Xep2fk/AtvPXBCjuidC+2nXlK7m4D+f/22yMzleW1x AE2BtCe1PUrQtf7ZrCo59l/fNoE+emTOovK1jGLPxB/mqucT4aW+TmS6kXnEnsLkFGJc GQjuDzUzrJo1gNk8NOiUQFOdEYvleSOnicFGfywdhlT+fMd6CBsh5LfRiu74ydqMVL2R qbAw== X-Forwarded-Encrypted: i=1; AJvYcCXPjy/oKz3ReqlonQXff456b4Bj7wLn3FBaAGMUXVZxCVM8Ziq6qNu3Ul37MH/HgE/QihXHy7X80m9meyPSaEzYjYeoy1G6bzcMA8G9 X-Gm-Message-State: AOJu0YxyjWZnsNhKhDPVuWw2zHxSjrNSpIbV5xcrJB/9is/F0LmacJaS hg054Gpi5WjRUn6wDV6m9MUpR0cg4vjeM1kgC+nLguaxzKjhv3d12uIGKeaMDUs= X-Received: by 2002:a50:cc4d:0:b0:566:418d:7ba9 with SMTP id n13-20020a50cc4d000000b00566418d7ba9mr1903028edi.1.1709321446007; Fri, 01 Mar 2024 11:30:46 -0800 (PST) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id m13-20020aa7d34d000000b0056486eaa669sm1818680edr.50.2024.03.01.11.30.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 Mar 2024 11:30:45 -0800 (PST) Message-ID: <9fcebf32-a3da-49ab-b3d9-9450fb7e1985@linaro.org> Date: Fri, 1 Mar 2024 20:30:43 +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 3/3] dt-bindings: remoteproc: Add Arm remoteproc Content-Language: en-US To: abdellatif.elkhlifi@arm.com, Bjorn Andersson , Mathieu Poirier , Rob Herring Cc: Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Krzysztof Kozlowski , Conor Dooley , Drew.Reed@arm.com, Adam.Johnston@arm.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org References: <20240301164227.339208-1-abdellatif.elkhlifi@arm.com> <20240301164227.339208-4-abdellatif.elkhlifi@arm.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/G23PcowM1C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ZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240301164227.339208-4-abdellatif.elkhlifi@arm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 01/03/2024 17:42, abdellatif.elkhlifi@arm.com wrote: > From: Abdellatif El Khlifi > > introduce the bindings for Arm remoteproc support. > > Signed-off-by: Abdellatif El Khlifi > --- > .../bindings/remoteproc/arm,rproc.yaml | 69 +++++++++++++++++++ > MAINTAINERS | 1 + Fix order of patches - bindings are always before the user (see submitting bindings doc). > 2 files changed, 70 insertions(+) > create mode 100644 Documentation/devicetree/bindings/remoteproc/arm,rproc.yaml > > diff --git a/Documentation/devicetree/bindings/remoteproc/arm,rproc.yaml b/Documentation/devicetree/bindings/remoteproc/arm,rproc.yaml > new file mode 100644 > index 000000000000..322197158059 > --- /dev/null > +++ b/Documentation/devicetree/bindings/remoteproc/arm,rproc.yaml > @@ -0,0 +1,69 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/remoteproc/arm,rproc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Arm Remoteproc Devices That's quite generic... does it applied to all ARM designs? > + > +maintainers: > + - Abdellatif El Khlifi > + > +description: | > + Some Arm heterogeneous System-On-Chips feature remote processors that can > + be controlled with a reset control register and a reset status register to > + start or stop the processor. > + > + This document defines the bindings for these remote processors. Drop last sentence. > + > +properties: > + compatible: > + enum: > + - arm,corstone1000-extsys > + > + reg: > + minItems: 2 > + maxItems: 2 > + description: | > + Address and size in bytes of the reset control register > + and the reset status register. > + Expects the registers to be in the order as above. > + Should contain an entry for each value in 'reg-names'. Entirely redundant sentences... instead this all just list items with description. > + > + reg-names:Do not need '|' unless you need to preserve formatting. > + description: | > + Required names for each of the reset registers defined in > + the 'reg' property. Expects the names from the following > + list, in the specified order, each representing the corresponding > + reset register. Really, drop. > + items: > + - const: reset-control > + - const: reset-status > + > + firmware-name: > + description: | Do not need '|' unless you need to preserve formatting. > + Default name of the firmware to load to the remote processor. > + > +required: > + - compatible > + - reg > + - reg-names > + - firmware-name > + > +additionalProperties: false > + > +examples: > + - | > + extsys0: remoteproc@1a010310 { Drop label, not used. > + compatible = "arm,corstone1000-extsys"; Use 4 spaces for example indentation. > + reg = <0x1a010310 0x4>, <0x1a010314 0x4>; > + reg-names = "reset-control", "reset-status"; > + firmware-name = "es0_flashfw.elf"; > + }; > + > + extsys1: remoteproc@1a010318 { > + compatible = "arm,corstone1000-extsys"; These are the same examples, so keep only one. > + reg = <0x1a010318 0x4>, <0x1a01031c 0x4>; > + reg-names = "reset-control", "reset-status"; > + firmware-name = "es1_flashfw.elf"; > + }; Best regards, Krzysztof