From patchwork Wed May 22 15:01:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Dureghello X-Patchwork-Id: 13670916 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (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 850841A29A for ; Wed, 22 May 2024 15:02:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716390171; cv=none; b=ABzKpZHqvnrLRgBy8W1XmGviGp1tirSSeEyn9pG6yAUn26zzN7GXbTDFDxnNg7C9WEh38HYz/LckhXbSf3euTF2h/aizSr97pjNXmxjSysnQmKo0f4Bg9TgrKPhApE6Il9TlwxOiHdMkIZktssQZVn5iTgZ1JYw2K7T4UNiv4Qo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716390171; c=relaxed/simple; bh=O0L72EV3SoSMUxeiDpo2pMhpYJ4G4dITD0c7JPwzQdk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=owTqteuUN+mcCN6cWux+clO12PT/0EspFtJMNZhBfz37y5s8xMYC2sKGH2rJqIyTlbPoB2L3JGdwfxns2aLn5qX3PWHW/JxbDrcGLU6HSaYzz+TUKCZxXj0i7Dme3vIcFLS12/h5CIhy6daibm89whoHLAFPC5Vx0jGmYmKXFoA= 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=LIP/93DP; arc=none smtp.client-ip=209.85.128.48 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="LIP/93DP" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-420180b5897so8658565e9.3 for ; Wed, 22 May 2024 08:02:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716390168; x=1716994968; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=qRSTScqeQkeHPB+eXO+qUigZFJj2TICxMJQ8vQ0E+fE=; b=LIP/93DPQ9tPfaFoYSxi3ccLE5rtg4olQ3OwsG/PGIT42WogMQE8sKNslZYA83FGJA 4HxZFpAoci/wRngdUcV/hfBgyh0exE9KW3TVmCcbZ92IlVOD/IzmljJltYqU2Fi5uvMa ORXPpOcOGKHECGNHOTZ44QeBxF1lkdV9fqdJi5WacZ9axkXwdTIvoSP24QZnqgqiC+8v DLhfjxHSTID7AanvZMhZFexDu9PgVDFqOr8FfxCTrbMk2838HrFVox8Ju9nli9WE7qwQ n+uhJqU/umSXhucoMYysi01XOzFr5KCQmNl4WHn2TtL03zvXgQCGiSjiU8484oC2G/H7 yAUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716390168; x=1716994968; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qRSTScqeQkeHPB+eXO+qUigZFJj2TICxMJQ8vQ0E+fE=; b=vKXE9heFqSyrCnOZi24iX7xZoIeEcj6b7es/euJLIAHQlIESFCkH66805c237LNkbx SH2zh2UmODxFYOm12F8t15HDXId8wNI9O//7KC+GMcojHjQzvzkOoIYQi4cphQ9zdqXx Y7MqTXK+Vd/5+ZrV7XygFbb/bS76+OeKdmUFnIbp6nqgb8pCT1sGLxw7wad9J7hemQqi isTEa6EDvuoyfuP9Xh/aSaP5etJN9CtZKxAAQaSYIg4XrTvKM/b6YUqq3UPebW/JU4fy MHa+DAOMtE5TWCMzFd/CjmC6kuhhWCzNq2HlagZuUIS1oqNM6Zh2BVywqZD8hFzT3unP +fbw== X-Forwarded-Encrypted: i=1; AJvYcCWhDvCfeuhRVGqtdA3BPVJIqHijxB/vLOuvH9buOnODHyx6v+dsg54Xxwwm0KmwV3jOsRO8lVLb5uvGZYA5bF1Ai61r7n4RqoQY X-Gm-Message-State: AOJu0YwrLPJIsqsRGbU5MSSFLb0MQxjLzVfXGeU6Hw+Z9CjdqKWntWqt 5CDJ5r3ZRRhJjoskgWAkGJ0l72befNQ6br7HydPWjj8mgYgk97dPNYY3W+5iwimcD7a8jYTmDph P X-Google-Smtp-Source: AGHT+IG4GcEYn1PZI2Gtu5J0UVA+SzKFrymrH4lYB8MtjfRDD7wK1hG8lEjenPs+3o8noaNhbG6Exg== X-Received: by 2002:a7b:ce14:0:b0:420:1551:96ab with SMTP id 5b1f17b1804b1-420fd2fdcc5mr19499465e9.10.1716390167789; Wed, 22 May 2024 08:02:47 -0700 (PDT) Received: from localhost.localdomain (host-79-16-6-145.retail.telecomitalia.it. [79.16.6.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-41fa90e93absm531370515e9.9.2024.05.22.08.02.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 08:02:47 -0700 (PDT) From: Angelo Dureghello X-Google-Original-From: Angelo Dureghello To: jic23@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: nuno.sa@analog.com, lars@metafoo.de, Michael.Hennerich@analog.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Angelo Dureghello Subject: [PATCH v2 0/6] minor fixes and improvements Date: Wed, 22 May 2024 17:01:35 +0200 Message-ID: <20240522150141.1776196-1-adureghello@baylibre.org> X-Mailer: git-send-email 2.45.0.rc1 Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Angelo Dureghello After testing this driver, add some minor fixes and improvements, as adding single channel variants support (ad3541r, ad3551r), also as a preparatory step to bigger future improvements related to fast-rate mode for this DAC family. Previous patches (v1, 3/3) https://lore.kernel.org/linux-iio/20240510141836.1624009-1-adureghello@baylibre.org https://lore.kernel.org/linux-iio/20240510141836.1624009-2-adureghello@baylibre.org/ https://lore.kernel.org/linux-iio/20240510141836.1624009-3-adureghello@baylibre.org/ Angelo Dureghello (6): dt-bindings: iio: dac: fix ad3552r gain parameter names dt-bindings: iio: dac: add ad35xxr single output variants iio: dac: ad3552r: add model data structure iio: dac: ad3552r: add support for ad3541r and ad3551r iio: dac: ad3552r: change AD3552R_NUM_CH define name iio: dac: ad3552r: uniform structure names .../bindings/iio/dac/adi,ad3552r.yaml | 43 ++++-- drivers/iio/dac/ad3552r.c | 140 ++++++++++++------ 2 files changed, 128 insertions(+), 55 deletions(-) Reviewed-by: Nuno Sa