Message ID | 20240224114516.86365-5-srinivas.kandagatla@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-79607-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1105172dyb; Sat, 24 Feb 2024 03:47:03 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWtuD6cFJJ461zIOreRV0ABnz0OcycK1FnO7aXKJAWjb6cOiwJdHciObOS2RGxb5K/XP/WggrZFxaAhdkWPqg1Tp26mDA== X-Google-Smtp-Source: AGHT+IHTOBfBnqj1meYuAD5gc0qjxFaVKKIUQfkvjlG0i9Dez3zMmM36DkOzICtZyvns+Bjc9bpq X-Received: by 2002:ac8:5cc2:0:b0:42e:72f6:cec7 with SMTP id s2-20020ac85cc2000000b0042e72f6cec7mr1942254qta.20.1708775223059; Sat, 24 Feb 2024 03:47:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708775223; cv=pass; d=google.com; s=arc-20160816; b=VYw1aUdyiM+bvaVsvlTG1v0en4xGUcoMkl5GXkgjt+LFYYAV7eJhgx6FIAD7xAUNzH 34F9zWmtQVo+7m69OttCGb1W5Bu5HqNpEV7G743j+C4CIvH0JKa3dtZD2Jb/KHiRzyuC 5+fIRIhSPuj9Mq+WqIVVz5A3BvP8BmdwpxpknKotBm7bJLv7GuBVWTZejSNrGR8JqCUZ izPGGiFt8VqCoVLhXK+T8q17vXZvbIUhmpOzDQp6OeznKYdX1wmaqbzNo2+Rn68t14Og aDsXD/7hC49aj21BuKteEJmU+souT6aPjrrqaN3IKMM1QPEmKwGJ7LzwhV2Hv+xcGpiz ljAw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=bzveBIxLakGfD0cdsIZlA0dFteMRKWG3Vk1FrE3imik=; fh=tVhp40Oqf+tPK0dh+8u+SQK9ywlrpw/Mv5UaPMTZFWA=; b=C+3+izKUI1G7l3d7kUgvuyBdltRpfaOohvdQEoafzo38hu3Dva7XUKi9Qh74FzZrtF uHSxW0twzU5rm1p1A7sOUiYjI6PN332LDtDKyDQkC1FOc5ATzImS+KOshDX3QfXKSSZf 2OenvkHwvT68u0Rgmlqskn8oLsOj3j8vFnfY5K+PGc9LignledRHKEVBD94QtwyjqQZO 4Fc1NL21Crx6ced3ue7LHNUs+8I/qcOFHmkgJ2EKfxrwGDuHxitsLFco/FFFYbfBKyNF fKOR4EjeI1ZXWfyLnItVoyZB7EJmx0kOR8WzEoSpmHrM28c36u9gLH5NClFUmbt68G6G csXg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mSW3TjKI; 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-79607-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79607-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id a4-20020a05620a16c400b007879cadbc8esi837648qkn.394.2024.02.24.03.47.02 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 03:47:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79607-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mSW3TjKI; 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-79607-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79607-ouuuleilei=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 D4C421C2192C for <ouuuleilei@gmail.com>; Sat, 24 Feb 2024 11:47:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D78243162; Sat, 24 Feb 2024 11:45:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mSW3TjKI" Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) (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 B48EB3CF73 for <linux-kernel@vger.kernel.org>; Sat, 24 Feb 2024 11:45:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708775149; cv=none; b=ldvK+kroS4I/9Ria1WIF1AOcMDAr/5d+fJmvzLCfPHLjf/RZI9jATb3m1UkAIj5+Mof2MwELoDTUNpOlc6pFLyfGWMxUz6PxuEAgwRBEoS89SkhMtFWn/2+IREyLmLOo04+UuaP+6YPikHpyvfjYbkfXWyrz+Imsj8syOzg25FI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708775149; c=relaxed/simple; bh=5dyZQ4Vh9bJV/vcHRhq/mZBaQkKJnsxChAlx3FjeSIQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=f2WKKlRPppgu7EY1q+1++nn1cNqD7bphcXgIIZQr6bRWQR3EFF3QVMd+YhZcqc9zNkCbI00xSpVDYcG9gQ8KZErucWKD7zidtSrpyq+L0w3hXSgF4OIhGO3QP4PFCgtQbb6fmaJ3cV5zd8xdJ2RsxSug/AohpKDhWFB70qIp1Zs= 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=mSW3TjKI; arc=none smtp.client-ip=209.85.218.54 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-f54.google.com with SMTP id a640c23a62f3a-a2f22bfb4e6so185793266b.0 for <linux-kernel@vger.kernel.org>; Sat, 24 Feb 2024 03:45:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708775146; x=1709379946; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=bzveBIxLakGfD0cdsIZlA0dFteMRKWG3Vk1FrE3imik=; b=mSW3TjKIYY+7ZSEo1F2LR3XHUoL5dV/nM0ICKVQpRWlQtKSY2ABeh1mLESqX1jhdhv A65HuSsbdP8AUKavIe3IMquPZWUbI5PA9XslbL7pZTd+u6J3H4nXnrkoFAWuLvT2Z//I 9Uc6o1bK1Azq9efn6UbCp+yM2l8scGpSYWHPo4zVJhaAQGiFG+KX0v8NXxLwzxKmqFgj 9tjO1muQ34D7bAruZ7MvvI9rnOVQSHwyPpqU1KegkKR7euodPZO0ZeoueDSmd9ZqTgiR 0VYY6dwY9wDwGhhOTqeFU/WA6F4RqjufTG3GpFR+JLKE2weOI5/XUgjZIB/OVgJi7FXW uojg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708775146; x=1709379946; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bzveBIxLakGfD0cdsIZlA0dFteMRKWG3Vk1FrE3imik=; b=ECPnwMui8IHktpzj05lnGMuUo8BZ1rbt0FqrEPJ0RupUxF1gsUuDJ9lpcrtzuaVvcj 32XBZ1YPPWWDDNnKVt+nFj+tI85x4Os2h8AfdI4RrMdok3l4Wb3bXXdjD0koS+Wj0Y6x 57nsC4i5Gf6Rk78XX+Srf4+KDvkuogUadRCvL/wRBX32m0g3O19h9P+OcJoNposDlolB t+XecAXxl6iWoqtnjx0lZIsFDPqxd8a6xW1I2xK+nhSHgt4Ty7/IGIl+crDsWyCbPpKl N/yOefcmnjb6jq1q/rcwjKZYWh6uIg/wuuFfIhIlfTBe1P0/8JZ7/Ne9CsuARQGT3dnW PDUQ== X-Gm-Message-State: AOJu0YxVQntupO2/UpTzaO+qQPkIKEUM97THfFG7G0rcbtRoepVvwFLD mOsrekcHxfmNWH7F6T2YtRN9YQ9GE5y9gsJD7J4/YcNzElwsDnX8cIUi2tGeCyM= X-Received: by 2002:a17:906:b154:b0:a3f:d1e3:b906 with SMTP id bt20-20020a170906b15400b00a3fd1e3b906mr1207657ejb.25.1708775146148; Sat, 24 Feb 2024 03:45:46 -0800 (PST) Received: from localhost.localdomain (82-132-212-111.dab.02.net. [82.132.212.111]) by smtp.gmail.com with ESMTPSA id jp10-20020a170906f74a00b00a3e209b225asm517826ejb.43.2024.02.24.03.45.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 03:45:45 -0800 (PST) From: srinivas.kandagatla@linaro.org To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Rob Herring <robh@kernel.org>, Michael Walle <michael@walle.cc>, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= <zajec5@gmail.com>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Subject: [PATCH 04/11] dt-bindings: nvmem: add common definition of nvmem-cell-cells Date: Sat, 24 Feb 2024 11:45:09 +0000 Message-Id: <20240224114516.86365-5-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240224114516.86365-1-srinivas.kandagatla@linaro.org> References: <20240224114516.86365-1-srinivas.kandagatla@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=1691; i=srinivas.kandagatla@linaro.org; h=from:subject; bh=P2NyplVumNiZcg9Mp9j9BQ+uKvSsw6Ugatz/uYFEo5g=; b=owEBbQGS/pANAwAKAXqh/VnHNFU3AcsmYgBl2dbLP88NrJkVscZYIWbXKQs9FH11RQ745UlG+ Ddwg/LmySqJATMEAAEKAB0WIQQi509axvzi9vce3Y16of1ZxzRVNwUCZdnWywAKCRB6of1ZxzRV N5yzCACCYmIcLpgKardB0yXudbiR8EXRIABl++s0xY87Y/nZdne0nZPCHlSDiZXbbYPF+LXcFro sbuUBAWgRH++oHq/FaDaAZW8M2SQ95mNEucN5rIz5N5LaOpQ24NirQ/blwp8nH/uZh49iauHRIl dATWX9FgT4rFZXtdJRZe7J2zGPEksVWlQZV6xRIwHNW8qu9cglGTiZcf7GaERaQ0Op55ki4JFlL aksxd81gKuHSabOhyAQsK2b2LwMicwlNughluqrG1rlFjiW476zS+Jg7bogNr/jg2+htCmtzW1S 7fxYAdivFDFVmxBK9u19YdcGV07gOkRAXq9/x4oVDwtmv+LW X-Developer-Key: i=srinivas.kandagatla@linaro.org; a=openpgp; fpr=ED6472765AB36EC43B3EF97AD77E3FC0562560D6 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791780688311375124 X-GMAIL-MSGID: 1791780688311375124 |
Series |
nvmem: patches(set 1) for 6.9
|
|
Commit Message
Srinivas Kandagatla
Feb. 24, 2024, 11:45 a.m. UTC
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Linux kernel NVMEM consumer bindings define phandle to NVMEM cells ("nvmem-cells"), thus we also want the common definition of property defining number of cells encoding that specifier, so the Suggested-by: Rob Herring <robh@kernel.org> Reported-by: Michael Walle <michael@walle.cc> Closes: https://github.com/devicetree-org/dt-schema/pull/89 Reported-by: Rafał Miłecki <zajec5@gmail.com> Closes: https://lore.kernel.org/linux-arm-kernel/20221121105830.7411-1-zajec5@gmail.com/#r Closes: https://lore.kernel.org/all/bdf7751b-0421-485d-8382-26c084f09d7d@gmail.com/ Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> --- .../bindings/nvmem/nvmem-provider.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/nvmem-provider.yaml
diff --git a/Documentation/devicetree/bindings/nvmem/nvmem-provider.yaml b/Documentation/devicetree/bindings/nvmem/nvmem-provider.yaml new file mode 100644 index 000000000000..4009a9a03841 --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/nvmem-provider.yaml @@ -0,0 +1,18 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/nvmem-provider.yaml# +$schema: http://devicetree.org/meta-schemas/base.yaml# + +title: NVMEM (Non Volatile Memory) Provider + +maintainers: + - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> + +select: true + +properties: + '#nvmem-cell-cells': + enum: [0, 1] + +additionalProperties: true