From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f54.google.com (mail-ot1-f54.google.com [209.85.210.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 0B2DD190055 for ; Thu, 5 Sep 2024 21:08:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725570507; cv=none; b=jB8jIE7G1PEI8PrXIbwmfGx4mV6v7/RUSzZez87F4Z6CM9BJKZfeuJ5gxKWif+sZ2UEdLrV5NZtKOEvifxBJ1Z8fdoOrYjftupZd4fr2a8CFN2b0KuNGZfWYVSoHg9FT+6SB8I7j/b8vBb+wHB0Sftxicg3/l1WP47oI/OHLFoI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725570507; c=relaxed/simple; bh=wpb8DxW+hJmtiCSJgNbW4Sdqzkl+nYgI/PNGRVeXpow=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=lo4CrtWeD0Lglu/osVylj3vt4ky0XXxhApqju6K8V4CH+vHu7dObYiZs3jgaoyDZW4EVR59QSC+at/Y5zNHCHnIniMPgtZ/dfICp/Crp4Vp+XuJqu+fjMfKtHhx2U6B1r/L4GmtbyGO5Ae0NDvWeoGQbUpCXDs1xiByvuv36SEE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=XF2XeRGA; arc=none smtp.client-ip=209.85.210.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="XF2XeRGA" Received: by mail-ot1-f54.google.com with SMTP id 46e09a7af769-70f79f1e1fbso731584a34.1 for ; Thu, 05 Sep 2024 14:08:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1725570504; x=1726175304; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=m6GNe3xBrOr3LoM9ELz/Obj2T7F9ShEUEMbETP31FHo=; b=XF2XeRGArXBirK5x3AeLMceV0XNhcCcMOfYZONoDTkQ3mnIVre1k1y3zzJ8+txNQPJ UB4sR8Q8mImL3c2HEfxSOlt7dNnyVOwlI2qCXprtsY4hkUzo/Ltvg1J52Aq46KB1kn4T Hcu0tIqf4RFVA6h3oNA+VptfIBwblplRXE3DGSZe/qCcgiS2Ftdw+HMseecl8cshrQcX gfPc2PHhB9eKDf94vmu6K2kXMs33odJn+pxnfwriGC2BYOu6rrk0352a9CBFeaevqJJn Wnrr0xWxvSSyumvFUN8p8y05mRJE1dw+wwNrlbst/MpdBc/R2tRcBOX7l4AAGKVTa+t4 ffnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725570504; x=1726175304; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=m6GNe3xBrOr3LoM9ELz/Obj2T7F9ShEUEMbETP31FHo=; b=SkOErDIb6NnEtseIhpLFQnnEE607VWoq/ewSS76X69Hb9e64bAIs3HmBbF9054AzbH ezWg9cgHMzUQE92GrArTDrihwF7dGaJ4GGMThP/cf8SdcW1tvdF0eoX5aNi4585AT6Ly 6CgxlYesKdwIOF9zm344LBWM45wQBoq+DsPl32CM9tSqbmD2Yke3OqygE0WejCzxT5CW CiYkaFJkOyi6tcvsM/ntuG9uCCMGjuewALpkl7IVufXtkGY6KznQvFCZV1yMsNhl/2iP 6tuNNRb6umUM5N0x8Y95JgKplALmYrgjts1AT5GD2Df9fF+6GGXdi+gjAz7CzhE6aiYF ++Aw== X-Gm-Message-State: AOJu0YwenuFmBAQ49ELuJ8oV9bWzSiSk8DDYeVBF5+dNSYNVAtdzHzwV u25opeubJlMWyKTBqIaUp1DXdd3Sk30qmWSsHRi1RrPEZkYcDleQIuSi06YtcLY= X-Google-Smtp-Source: AGHT+IGQmYOTmQwmJjJJEnrdvZQo9B/4avsrkb7ySIzy4kK18kK6CB4KbDRpi3mJIMZH62isrmxU5A== X-Received: by 2002:a05:6830:7190:b0:70b:2999:2d7e with SMTP id 46e09a7af769-70f5c3a239bmr26141362a34.1.1725570504192; Thu, 05 Sep 2024 14:08:24 -0700 (PDT) Received: from [192.168.0.142] (ip98-183-112-25.ok.ok.cox.net. [98.183.112.25]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-70f671a8938sm3388221a34.53.2024.09.05.14.08.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Sep 2024 14:08:23 -0700 (PDT) Message-ID: <0f33d3be-ad3a-412e-9314-2c71692d6d1d@baylibre.com> Date: Thu, 5 Sep 2024 16:08:23 -0500 Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 5/9] dt-bindings: iio: dac: add ad3552r axi-dac compatible To: Angelo Dureghello , Lars-Peter Clausen , Michael Hennerich , =?UTF-8?Q?Nuno_S=C3=A1?= , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Olivier Moysan Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240905-wip-bl-ad3552r-axi-v0-iio-testing-v2-0-87d669674c00@baylibre.com> <20240905-wip-bl-ad3552r-axi-v0-iio-testing-v2-5-87d669674c00@baylibre.com> Content-Language: en-US From: David Lechner In-Reply-To: <20240905-wip-bl-ad3552r-axi-v0-iio-testing-v2-5-87d669674c00@baylibre.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 9/5/24 10:17 AM, Angelo Dureghello wrote: > From: Angelo Dureghello > > Add a new compatible for the ad3552r variant of the generic DAC IP. > > The ad3552r DAC IP variant is very similar to the generic DAC IP, > register map is the same, but some register fields are specific to > this IP, and also, a DDR QSPI bus has been included in the IP. > > Signed-off-by: Angelo Dureghello > --- > Documentation/devicetree/bindings/iio/dac/adi,axi-dac.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/iio/dac/adi,axi-dac.yaml b/Documentation/devicetree/bindings/iio/dac/adi,axi-dac.yaml > index a55e9bfc66d7..c0cccb7a99a4 100644 > --- a/Documentation/devicetree/bindings/iio/dac/adi,axi-dac.yaml > +++ b/Documentation/devicetree/bindings/iio/dac/adi,axi-dac.yaml > @@ -24,6 +24,7 @@ properties: > compatible: > enum: > - adi,axi-dac-9.1.b > + - adi,axi-dac-ad3552r > > reg: > maxItems: 1 > I think we will also need more for child nodes: patternProperties: "^dac@[0-9a-f]+$": type: object additionalProperties: true reg: # add more rules for reg here required: - compatible - reg allOf: - if: not: properties: compatible: contains: - adi,axi-dac-ad3552r then: patternProperties: "^dac@[0-9a-f]+$": false --- Or use existing SPI bindings.