Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp150526rdh; Tue, 6 Feb 2024 23:58:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IGG40rBbQNg0+kxKLcFfCLcTzLwjMSLIabHP9lOANS/AvmsAm8FZ7f2HCqPUFfl7uGRP07d X-Received: by 2002:aca:1b1a:0:b0:3bf:e05b:e29b with SMTP id b26-20020aca1b1a000000b003bfe05be29bmr4565623oib.35.1707292704739; Tue, 06 Feb 2024 23:58:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707292704; cv=pass; d=google.com; s=arc-20160816; b=hI1gRcPM5SBnfoV37Hswg100Jl0ozCBd5MDXDjA8rdFw5KgWVXhh4g8YZVhBPLPIg+ YUddu8YLXBuX5zHVattcNmbxAlF4I4ENGKH/QuEtxlfLT2F524uMoaRSdJS2gv8yzNUh RI4IiLss9GW9/P+lzCLhJc3L9OCXmblUFNYFzQ5E1s8eATwpGrdnrYYEbxA4j6yZtPYe LYqKh1tXibsPVy3zpVhN81gi8GJasE/icCVbKIYvrzde4WL9drGE/UCcRJCuSjtxPa4l mbz3ubD/1QHmv9Q/Lj2DNQNR3p6zcpKQlQ7HcRtbx0BZdPHzN5oqCDd9SWa+02XC3k2V /kAw== 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=efejXOz8gCY+wvZXYadjG5gx4t/4ddj+jd7SccrGXh0=; fh=ilADDp46dllwRKEZqx0HTPWhg5OZ3lo8kz7jqOYucYE=; b=uXxT0fMV+I8kpwWHT2CqROqbcCIH8TFuOl2O3+TDAl/YO9Mfe+Z2D10VI+GDZCcdqh /G3YIo0cZIJxfYfRdIAeVcRygGeE5xEx/5FjRiSNeRZeI95rb+2XIauP1qMq3ZDs4J9X D9sc6VmrtXw4m2yXQiODVZj6psPGCTX6W26+PaxeBo+4augLjDM/vVIbjKUgdQTT5Y1l 3u0c+d6k3+ryCsIZXJOEB4efds83+JAVhEIez4YHUEHiq9byVyjMlteZhuhgSwxOR/ra rZC1380KV0Fp9HfI3mAC9Y7GKvhXZUT4uwzjGNIrQr/bWe7RVlqUpScMSgo6YM2tAJdq vJig==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uDem5nXC; 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-56095-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56095-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCUHmx6MdxdNxvLNmeTSV/NivuxEfMfeXHYmWu3a8DEySImO9cC9+dfV9mZm850KMr8NParktDcqS+9xK6410LWRWzaLUKcyHm4Rv4uQtA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ff6-20020a056a002f4600b006d9a4e6ce19si929099pfb.159.2024.02.06.23.58.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 23:58:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56095-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uDem5nXC; 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-56095-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56095-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 5E50228B064 for ; Wed, 7 Feb 2024 07:58:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B4EE9200BA; Wed, 7 Feb 2024 07:58:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="uDem5nXC" Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.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 F12C120303 for ; Wed, 7 Feb 2024 07:58:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707292688; cv=none; b=peq7kNtij6aIZ4ERFDymtsitHWIXfmj1HjUn62X5sE7BqGI171HpIyX+cMkvkc2gIJjvjRFcsKIjHz2VQPSa15zCyogor4Fa4voss2GtSO83dZb1m7XPgMIRWShpc8b91nGaUdbbUdWBcTd/2bfSCSq4spADSK8wiRRQcDvV6sc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707292688; c=relaxed/simple; bh=MCSpeewmE+j3/rytl3OjrJdIrcbi5ZMzLaK558jb5eo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=DTWt/AKQsqpI5PLGxP69lTWrxYgQSk59AMriHXxwG60qSy/m1Ks+brJ+OzWyR/DhTSnIhb1E8l/97tz8CJPjOXHLIt/g+o3UNpTeUDwKTxpilf27S/ZTV/s9Tnd/eJ6T2CV7qP0Ud+woVblYXtbfC/oSuMGztj/xFEAA1bAMzVY= 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=uDem5nXC; arc=none smtp.client-ip=209.85.221.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-wr1-f46.google.com with SMTP id ffacd0b85a97d-3394bec856fso814531f8f.0 for ; Tue, 06 Feb 2024 23:58:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707292685; x=1707897485; 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=efejXOz8gCY+wvZXYadjG5gx4t/4ddj+jd7SccrGXh0=; b=uDem5nXCph4mf/f+lo5C+jFNkOH9YxqNZBMquNiAXSMQaXxE5jqXGTN5/1063MM+6g ooPUcl515L6qbYfELTEbJ2thuyzBmEnuKfp2+sdcJ8lhqQCnod23qbZTnuzGwZi+i6Uu qEmp4WnPAiI3rt3Ot5Yt9lwWvFZtSoF/p4SrmvdvJwD5W7kcAF+LBGlcVXwdvUgd2Gh6 BkYkKSGL3+Gfpnml6RSBF8m8vNRoHzsB/m1/DP6E1zpdcqigkpQ0g/mgdVWR2Lalf5pG 9lR6IzjkYaURTVA2SsAsN+MBGy/iVrXfPtvwyIYbKgAzKyQt8YU5G73293Bf0XMWIWBP Wp+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707292685; x=1707897485; 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=efejXOz8gCY+wvZXYadjG5gx4t/4ddj+jd7SccrGXh0=; b=nGa3yq01/TUjLxSoR+3R9bQNsIrAAxqjEuAU0Z/uQHtydiHeXoeqMpS3FeS0jLNNSC F81MtuxutlWg6TRMMy9w6d/fTq60L4FzoeFzLojBZWmJMcyQSiMKReymFwhDzKROSXdZ 04nLBSkdYaHqE2/dNqSvkYE6W+WfMnSl5O5FTF5JSAKbVdC+65HkAtxz4pGIr2oFox8n P84QYDBwO8oIPMgyq6zuzlj+qJ3EEROG5OWfsZGqwySR3/ZNYQdMJqPJZBA3HD/PyiOk LeS8bAzI7WBtKLo/BMRJCEYqcWZ6Z1CN8BadJPnfD/SJhfbrt9HC3vG8c5nQb73r9Xr/ ZaAA== X-Gm-Message-State: AOJu0YyBV7ltkDg5/KdweAVdk2BtA59diB0uXmU3lVv/jW4bPNdr+Y22 RsagaelBHTkw3G6P6m2eu/L2nTonQE3If8qgdc4SrjK002B2nk26G9N7eXBNVZk= X-Received: by 2002:adf:e6cc:0:b0:33b:4d2d:e97c with SMTP id y12-20020adfe6cc000000b0033b4d2de97cmr1067582wrm.2.1707292685259; Tue, 06 Feb 2024 23:58:05 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXCcCnmeFicXReM+CUJJGa7IKi/BrvFp3SKxW+oiU1lhtcInakBAQqLG0q8Q8bg9AKN0gbyDyIR38woYgEHNBC1NMuX5ftwiKqId96/NPlhZWUNuKt56xdVXHl2tHKDtSEDcaVmospl2X9MZKdf91BT1WJNpFmDykOJODVtDPQgIypxKdF/tQM+fZlgFC8DeY0R8u27CCXiKbb3EhMP5SDR+wxx+6IPn5PLbJQU8Dr+VJ/bxmXHvR1sY0XPsejc2JOdkiMl2X8woGTD2j6gpHoH32vBxGxh1NZiOdcoAij8tvWP+sr+vqljTcpzlr8GFBnIbHD7XamnX7NaH9364stVQHiZlT3NkjgKKFQbisR+pftr0AwNFDrdlR4A2/MD+WmdpfZJNlMzqKS0UjgZ6mVUOuM2Okr83kLlouOHTAA= Received: from [192.168.1.20] ([178.197.222.62]) by smtp.gmail.com with ESMTPSA id v16-20020a05600c445000b0040ff7e3170asm1193518wmn.2.2024.02.06.23.58.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Feb 2024 23:58:04 -0800 (PST) Message-ID: Date: Wed, 7 Feb 2024 08:58:03 +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 2/4] dt-bindings: hwinfo: ti,k3-socinfo: Add nvmem-cells Content-Language: en-US To: Markus Schneider-Pargmann , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Srinivas Kandagatla , Santosh Shilimkar Cc: Andrew Davis , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240206143711.2410135-1-msp@baylibre.com> <20240206143711.2410135-3-msp@baylibre.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf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30yHRgOoQlzUea7FgsnuWdstgfWi6LxstswEzxLZ Sj1EqpXYZE4uLjh6dW292sO+j4LEqPYr53hyV4I2LPmptPE9Rb9yCTAbSUlzgjiyyjuXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20240206143711.2410135-3-msp@baylibre.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 06/02/2024 15:37, Markus Schneider-Pargmann wrote: > The information k3-socinfo requires is stored in an efuse area. This > area is required by other devices/drivers as well, so using nvmem-cells > can be a cleaner way to describe which information are used. > > If nvmem-cells are supplied, the address range is not required. > Cells chipvariant, chippartno and chipmanufacturer are introduced to > cover all required information. > > Signed-off-by: Markus Schneider-Pargmann > Reviewed-by: Andrew Davis > --- > .../bindings/hwinfo/ti,k3-socinfo.yaml | 23 ++++++++++++++++++- > 1 file changed, 22 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/hwinfo/ti,k3-socinfo.yaml b/Documentation/devicetree/bindings/hwinfo/ti,k3-socinfo.yaml > index dada28b47ea0..f085b7275b7d 100644 > --- a/Documentation/devicetree/bindings/hwinfo/ti,k3-socinfo.yaml > +++ b/Documentation/devicetree/bindings/hwinfo/ti,k3-socinfo.yaml > @@ -26,9 +26,24 @@ properties: > reg: > maxItems: 1 > > + nvmem-cells: > + $ref: /schemas/types.yaml#/definitions/phandle-array You do not need to redefine the type. You need constraints, so maxItems. > + > + nvmem-cell-names: > + items: > + - const: chipvariant > + - const: chippartno > + - const: chipmanufacturer Best regards, Krzysztof