From patchwork Mon Oct 14 10:08:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Dureghello X-Patchwork-Id: 13834583 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 F3AF6158DD8 for ; Mon, 14 Oct 2024 10:09:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728900579; cv=none; b=YIJnJtlDRU92aYBWhAdAl38qN5DjNJHuv/GAanJqrAlD4vOkgssUUXCGZTt+A6Gr7mhExhs8d5d/H3JYxO+nDHBcT9GdPuA38vVmMVng829IEfNyz0Ur+HE7dAWaIVehR4zQ2z7IiL5EZoA1e8x00rC5NBFDfEU0Feeatzta7Lo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728900579; c=relaxed/simple; bh=MA2oG/y7V1+Goz7xziXlVN+hyrEb/+ZFaEcTpQoHM1s=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ecfaSo9DeK5o3lpiAi4LxLo3zf9eeBf97aBE4SyqpaZSCqD5mWZQzH0fn4GfoxYjtsetf9JCIsdwcLDON4kes13bftnMOIkUTDM763L6TR2YhqOGx9cQmDzDMyAXyAX/RqRUMOSWfWO4/4Iq7KXWtJSOOnsKz9tdu3Vk9r3oe+o= 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=NJlMu+/F; arc=none smtp.client-ip=209.85.128.51 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="NJlMu+/F" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-43056d99a5aso32712935e9.0 for ; Mon, 14 Oct 2024 03:09:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1728900576; x=1729505376; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=y3Jl9+VGm0G8JZ+DzIDolKuvv4I1MhBsGUOVMggicwA=; b=NJlMu+/FENSDBaWx/LlC7rpRsm/0XIRD0Fe7kec/4vEKiqyfxSS7LLc3d7TUHQdk5Z G5AL8IpDtWmVy1KepNAx8Iyht1Z6Nbnt8/ZwLRG2AD/DbPaoi2qRXizuciDN4uOySxMj NXso8ZBbYwisdRWGh7oti5B9CtyK+vRzhV9ZzWkM4DbZHo0Mx9DHay8kWkJqJtlHyPQg deed9Ms4QJ8zDhWKjmwfof9XJ0CcOTSKWgjpZNNZ4YGBe7tQyOm53oz/6WUhe3Itt7MO CQdlgASRKcAbfHZDAD1EfVykh/WF3bYZvKMFRT0UvGJdkckM+IIYdmsljcNpw1zXOyF7 COmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728900576; x=1729505376; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=y3Jl9+VGm0G8JZ+DzIDolKuvv4I1MhBsGUOVMggicwA=; b=d9/Ix2U0s3wkg9OfYMztncHC3uGox7aVfjNdb9zC6rf8zP9cWplKke0zpE3JoBTwvg Sr+EiK9KxK19z6ZZ7QrJ2cXuK1nBfZePz659o1PQxvsmrDupYZN+7WW2hQE92QIg+Rli CEf1uE7vxSLflvngN1v+u1y3o/8/6In9abhAs1hl5fvGkNaXwU4zPQcbaQ/JL7zUsW9M qK6boBeGFk//L20c8kDIIP5Zbgr00YQNezEQJYNuzngwLu3JHSwWc4xG2BXGIen024ui 3hIbivfOqe2ButzRG07wOxO37L6HsgeEemo4mDggCsid95LIluRhjfr6j6TP37YiAIvw UUAQ== X-Gm-Message-State: AOJu0Yz9eHDptrNP+6C/wCQhqx8Ii0Tfo3DFvw7x129kgHpYT9+UlgP6 6t0pkusZLsgQk04UfWbkdmKSQre6mavaxRLjmgR1IpedejTDVsJeGXntzFHvy0I= X-Google-Smtp-Source: AGHT+IHF3YhzE/CA1/de98AvUHoQtXj+IjSWvcx1ppS+xtI0yl5M2go45mdcvcnfBxeoQJOV4x//wg== X-Received: by 2002:a5d:5108:0:b0:376:dbb5:10c2 with SMTP id ffacd0b85a97d-37d552d4a14mr8440596f8f.29.1728900576323; Mon, 14 Oct 2024 03:09:36 -0700 (PDT) Received: from [127.0.1.1] (host-79-45-239-138.retail.telecomitalia.it. [79.45.239.138]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d4b7ee0afsm10969352f8f.102.2024.10.14.03.09.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2024 03:09:35 -0700 (PDT) From: Angelo Dureghello X-Google-Original-From: Angelo Dureghello Date: Mon, 14 Oct 2024 12:08:07 +0200 Subject: [PATCH v6 1/8] dt-bindings: iio: dac: ad3552r: add iio backend support Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241014-wip-bl-ad3552r-axi-v0-iio-testing-v6-1-eeef0c1e0e56@baylibre.com> References: <20241014-wip-bl-ad3552r-axi-v0-iio-testing-v6-0-eeef0c1e0e56@baylibre.com> In-Reply-To: <20241014-wip-bl-ad3552r-axi-v0-iio-testing-v6-0-eeef0c1e0e56@baylibre.com> To: =?utf-8?q?Nuno_S=C3=A1?= , Lars-Peter Clausen , Michael Hennerich , 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, dlechner@baylibre.com, Mark Brown , Angelo Dureghello , Conor Dooley X-Mailer: b4 0.14.1 From: Angelo Dureghello There is a version of AXI DAC IP block (for FPGAs) that provides a physical QSPI bus for AD3552R and similar chips, so supporting spi-controller functionalities. For this case, the binding is modified to include some additional properties. Acked-by: Conor Dooley Signed-off-by: Angelo Dureghello --- Documentation/devicetree/bindings/iio/dac/adi,ad3552r.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad3552r.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad3552r.yaml index 41fe00034742..2d2561a52683 100644 --- a/Documentation/devicetree/bindings/iio/dac/adi,ad3552r.yaml +++ b/Documentation/devicetree/bindings/iio/dac/adi,ad3552r.yaml @@ -60,6 +60,12 @@ properties: $ref: /schemas/types.yaml#/definitions/uint32 enum: [0, 1, 2, 3] + io-backends: + description: The iio backend reference. + Device can be optionally connected to the "axi-ad3552r IP" fpga-based + QSPI + DDR (Double Data Rate) controller to reach high speed transfers. + maxItems: 1 + '#address-cells': const: 1 @@ -128,6 +134,7 @@ patternProperties: - custom-output-range-config allOf: + - $ref: /schemas/spi/spi-peripheral-props.yaml# - if: properties: compatible: