Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1018385lql; Tue, 12 Mar 2024 05:20:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX3og9RkuKoFXX2Jm3pTbhk8Tz6C5uB7Vxo72Ccg/oDj37ljMVoZj9soPnL1IJtONd1dSsiyGmeXTUf3kP+iUR0MRleSqKm2jBNN/CDbQ== X-Google-Smtp-Source: AGHT+IF0+/yEw8D+TtyHMhJJR8diFmW2+S8x/CrV2u+HcpFrzVJhFM3v6T0uf2dPhUOuXjeuQct/ X-Received: by 2002:a17:90a:fd92:b0:29b:bd2c:7238 with SMTP id cx18-20020a17090afd9200b0029bbd2c7238mr7618589pjb.7.1710246014655; Tue, 12 Mar 2024 05:20:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710246014; cv=pass; d=google.com; s=arc-20160816; b=dheftgBEOlvr+kyJHVlwdIxcSRnx9qyVWbxuIktgZOhblH1DApEOQB2o/sCdWZJc7S jxHYMUs3PZpxnpZMQ3E6neHkWt6VcWTDBpAuHP2CJNzMq6Q2QTmWNiOw6ENmtT51Q0IP 4Nn+LlvkzLM2UvcIBGw+w2XTzNhsG1aiw4V8idtETt/C2dmfJ7exacyQ4k6SNFRUy0lB AMT1tSqsMVWT4Tqoo0eIgsMqrPGjmCwz8ouHKwFlPk+StafpwE1yBx+VxI6xN2W26L5T piT0Q8mr79vBuwPUi4B/ZG+xWESifH4fRXSqVoF4GAFHYzQpSZqi4v0oFpXFtX6E2LM7 /iMg== 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=Ha8faRN/yVfn98uA+FQFvowllOk5X8uUBDqlexcK+hk=; fh=363QzLnoFeNamUgZF4BcFuaPplbwuNh8ClNgC+S+ejQ=; b=vXLy/cSmU6vgUYVyO76WNGBbYIwsuzTA+QkDW5uuLcz+Judy4Y6SbIMr+f2SnKS0zV OsSsLdYjIWthJyfrqtX8RnwGQL9SBCrshLOrAgpOsu6g8HVLzOikrJTjlJd6HJDUrUlK upLQ0DWgAE0esMV+WDfXgOsltZlHL9+duYRLDC0+FjLcQOLuL121QQZsixarQq7G+cbb 4OujLLxE1VqnPrl9VwkhzXddQFnBzrcSP7LKAeDqZuh8/YJyFWFRaOurbo+X7NPmNKZ6 M3RcPC4ff8mlh3p99abXql4gskgqLv6hiCrAT1IbYXFI+19rtEGV5LjIoHp2REbcxiX7 nv7Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aqmk5Zt7; 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-100234-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100234-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 i5-20020a17090a900500b00299699bc5d0si10939757pjo.141.2024.03.12.05.20.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Mar 2024 05:20:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-100234-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=aqmk5Zt7; 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-100234-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-100234-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 40375B25711 for ; Tue, 12 Mar 2024 12:10:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 50D557A146; Tue, 12 Mar 2024 12:10:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="aqmk5Zt7" Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (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 BE17379DBB for ; Tue, 12 Mar 2024 12:10:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710245409; cv=none; b=FGTv+5O122dJTbCnyCqUzxIeKBU9T/2L9d7OAMXyCW1F3AuA3l8sDa2RtRbfMzuVOZ1GT8SIZi/T4yFsE156jotMGYPCWgOwV6gx9OUzcENRHgPYs1GBeiSrrBbT10b8odeFTtHcNevlxzM95sm8Bdz4R4s62SP+IRHZFqYUrOU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710245409; c=relaxed/simple; bh=hDxEz2OH4QmQwW1yiJ//w+TME4XEXUrwQv6kDmcN8rU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=AqYJHuilAHNEs5tiNcmCwi7rZuukV/Sn31SxV7X4kSJ0h7+CtOM5tH+TjJ83xBYB2N+iCEHM++lvUDzUO8dPCBQKZ2duevmKT0bRxLaGMgDOOmQXOvBfSiLE8f69E3sXBYY3HhDeMoISe+JYuqvc27wed+afRXiNSaiKXIpRzOE= 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=aqmk5Zt7; arc=none smtp.client-ip=209.85.208.177 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-lj1-f177.google.com with SMTP id 38308e7fff4ca-2d220e39907so88409041fa.1 for ; Tue, 12 Mar 2024 05:10:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710245405; x=1710850205; 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=Ha8faRN/yVfn98uA+FQFvowllOk5X8uUBDqlexcK+hk=; b=aqmk5Zt7TZwDnxYJSGnreky7TDcYtvwL+LvxR4HdO4vbt4FpNtOV1Ca/d4Sai45ZLh quJk6aWTwYFDaQ059Ody9xL0WEx+SwDdmKNTT1pBx6EebE6EtBEjA5BTAQhmxXgoTLNN oxwa3F3vcahLbwERA+NT+aVr96lf8bWCkB4YvmetGcoZ0kejlaJreCfc5rUJjnp77f2I i4pNv0uAsrBeRxxgi82HKFbTUcNe2x3IpfjSLWgHgxmaQqc7tvPcV2QTIy1U2pkjdYEr qOZhQrTUsQaC6gCMMIbWH19/JkAfo7Bee0LRGbi67S56bUtMe0AAMrayTraNYOGou300 QoEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710245405; x=1710850205; 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=Ha8faRN/yVfn98uA+FQFvowllOk5X8uUBDqlexcK+hk=; b=RA74gqA0eiJZhtjp8HnnKwrxpimzoBY8YtSzT7IU97smgVsZal7/S1Bku8gNydJ1qM M2equcn/ET4w0XccXAqLzTUXGcZg4CMG89BuC31B5xxu6MLp4XqCDBcv/0ASIYIjub3j /3yxj7eMFzVBrQDAWPSgHDs0TX5eth1iwL7x1BRTrgGLPe5Y8KHrkwOYNxZCfqPTwyik hE71v++LqOVxdrbJ95ajlXAp2pyozy+Cve1oCGARj4D2MyzRJNg3U7mTsGIGgqalu84f iUcSZQVV569eC1PzI+3fSF/PmJ0wRbDkDn4I/9EGB4O1MHF+pVm6MKKqQCHWpS6qt2o2 UFeA== X-Forwarded-Encrypted: i=1; AJvYcCWb40xcU150i7ql8DjueJR3GdLqelWk9HcPlyFpRrgM8T3xufqJKzmuu7O1impeBT4W6hQdMoX+7Uvi8B/rjD8aOozMhYLtNs8S1tZc X-Gm-Message-State: AOJu0YxdXfM6PTpyNRZSGlMgGFWk7n9uWJx+ANbpQ/lPjfREmvIzAyG7 LG7BaWz2lT13Gay3yZlegn2PJVdjIK4RK4PAJ+l27LOx14nqxZtQDvyQ7Lthq18= X-Received: by 2002:ac2:4c42:0:b0:513:3dc5:cd5f with SMTP id o2-20020ac24c42000000b005133dc5cd5fmr3441452lfk.40.1710245404889; Tue, 12 Mar 2024 05:10:04 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.97]) by smtp.gmail.com with ESMTPSA id u15-20020a05600c138f00b00412706c3ddasm18794203wmf.18.2024.03.12.05.10.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Mar 2024 05:10:04 -0700 (PDT) Message-ID: <18d34385-fd0b-401c-9ca4-ccf22106bd68@linaro.org> Date: Tue, 12 Mar 2024 13:10:02 +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 v12 2/4] dt-bindings: remoteproc: add Tightly Coupled Memory (TCM) bindings Content-Language: en-US To: Tanmay Shah , andersson@kernel.org, mathieu.poirier@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, michal.simek@amd.com, ben.levinsky@amd.com Cc: linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Radhey Shyam Pandey References: <20240301181638.814215-1-tanmay.shah@amd.com> <20240301181638.814215-3-tanmay.shah@amd.com> <2c45d7fb-06e4-468d-9415-0eaa48c5250b@amd.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+48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5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <2c45d7fb-06e4-468d-9415-0eaa48c5250b@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 11/03/2024 17:27, Tanmay Shah wrote: >>> + then: >>> + patternProperties: >>> + "^r5f@[0-9a-f]+$": >>> + type: object >>> + >>> + properties: >>> + reg: >>> + minItems: 1 >>> + items: >>> + - description: ATCM internal memory >>> + - description: BTCM internal memory >>> + - description: extra ATCM memory in lockstep mode >>> + - description: extra BTCM memory in lockstep mode >>> + >>> + reg-names: >>> + minItems: 1 >>> + items: >>> + - const: atcm0 >>> + - const: btcm0 >>> + - const: atcm1 >>> + - const: btcm1 >> >> Why power domains are flexible? > > User may not want to use all the TCMs. For example, if users want to turn-on only TCM-A and rest of them want to keep off, then > > they can avoid having power-domains of other TCMs in the device-tree. This helps with less power-consumption when needed. > > Hence flexible list of power-domains list. > Isn't turning on/off driver's job? Sorry, but what is "user" here? DTS describes bindings, not OS policy. Also, please wrap your replies to match email style. > I can certainly mention "items:" under power-domains property. > > >> Best regards, Krzysztof