From patchwork Thu Oct 3 21:04:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13821568 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (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 C21831B85EB; Thu, 3 Oct 2024 21:04:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989497; cv=none; b=NNUNRB3SARap2BCKYMyhI9MK18bGmI0TqTbXjkSgAh6qT4XnkjgqiC1CEMAXwGqOXG3iKcNt6BhVgs4Yyd0poVDQ0aVBRK5AX0rY85yUoLOzAiagCDhEvbMZfrE0n7iTg9e90VDJQTLCUAKEv6+Op2/v7eYAUCJUVq9u1hpnTkA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989497; c=relaxed/simple; bh=YZs3ZXnNhdkbmML8544Wx8zMstwgjP3YkWnOJFipDvY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gI2e3QY+mARg1IVgeMXnaEK+YDgSj18LsEBrSdYGsUkzXIzm2nxUOc68CGg9Nm4VrcxeJsa7VASi/HHOJiU4htw0Hre8oMqOuR2EoxjeJbsNjx5PkLIZDJc8jFSmzuaa5TWX1rWoaJ22eilrB1erEK4wqtcilAHTFJv//LLuY5k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=bxYVEHtn; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="bxYVEHtn" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-42e5e1e6d37so13287775e9.3; Thu, 03 Oct 2024 14:04:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727989494; x=1728594294; 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=feOIeTPlq8NeF7AiqGZg7SrCBKzWV52BYb0Z6DqS1qg=; b=bxYVEHtnWdpXQMljLjf+fo5Z2PMnpuFCC//L/xC2qpNZQMaE9ir7NH0Lf3PCxhkeY1 WeCmStk31MjFefU+9PjXy/MGHUEhgWeJ7FqqukqaOQSdXori8Hu10utjo9QvxIPukDQG MptWoeRjM9m6gvv/elPi20MtIwSbI3P4xI1I0zN9/13yqBZDqe6qoLLvUmR7IzWc2rPh C1cv+G4nLm5RZXCFob7eRd8jeuABrLbtAVvaEcAYhfzXLl0dWBOgFWfIwX8Wg93pbXfK d77Be1RDMoUkV/TADahKeyzJ/wGnFAX7OWmH6gewFQFB1+Qft5g8am2HXlmAEq0XIWEn EWXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727989494; x=1728594294; 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=feOIeTPlq8NeF7AiqGZg7SrCBKzWV52BYb0Z6DqS1qg=; b=tWhlgZYOMsPiz64jpufdjJ+MSF7ySQjGpx0ruqfOG+DK+RKGxh51Y6h+HC9c8PbwG6 ehDGAHIXgbXmWULCqCFn8/je577vFLu/wFONy13fJ4dU3ZcvhOMIN7HhqMBefCOw5nNT rib1crQcU6gV0b+RLWO91HeDbfAmeBT4ND9ekFxGorXWBxLvbjlqhoOqAH32CChLEdKY PkuFajwCfVlG+OJOhnsshHyLHqQlZhF1U2Z5vBVs50iwmVapk53foozdbn0aDcBa+ats 9Gf7sEeP8RN2G1dptwJDNDc1NC0BnoXdHwkvQBC1p2XazKoYQRbadRxK8/cV6qhkqMbD z//A== X-Forwarded-Encrypted: i=1; AJvYcCWWaUh66bDNd6tI8QPjwvR6eYny9CebJqnytGah+p/Hu7rKr4AgZEAZ8C3x7Y6Nw720qYTd0YG0BRg=@vger.kernel.org, AJvYcCWYdAvc7T8D+TOgcmKR4+RkbO/w1m2wsaotV/zteKtr8krqSbtE+eidCaSMTql25ccQjjzSCFBekkA+5gKz@vger.kernel.org X-Gm-Message-State: AOJu0YzeohIGDqmVNEhKY8q0zxgZ3+Z/wKGGT7ucez5XUYdm3wzWncgk E/polAK04RU4+LO52rkVOJznYDQKsaNG0aN1msIxouBM2kozlQDvBI4WgH6s X-Google-Smtp-Source: AGHT+IE12AX0Mo7nv9ZwrDRao19A3nTaCBPFMENPw748ZqAh06n7VU+1YkPLIRqqkysD3knvlEW59g== X-Received: by 2002:a05:600c:358f:b0:42b:8a35:1acf with SMTP id 5b1f17b1804b1-42f85ae9134mr2284905e9.25.1727989493537; Thu, 03 Oct 2024 14:04:53 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-3ec5-11f2-e453-20e3.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:3ec5:11f2:e453:20e3]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d082d1f90sm1981853f8f.93.2024.10.03.14.04.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 14:04:53 -0700 (PDT) From: Javier Carrasco Date: Thu, 03 Oct 2024 23:04:47 +0200 Subject: [PATCH 01/13] iio: accel: kx022a: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241003-iio-select-v1-1-67c0385197cd@gmail.com> References: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> In-Reply-To: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> To: Jonathan Cameron , Lars-Peter Clausen , Matti Vaittinen , Andy Shevchenko , David Lechner , Nuno Sa , Dan Murphy , Sean Nyekjaer , =?utf-8?q?Le?= =?utf-8?q?onard_G=C3=B6hrs?= , Mihail Chindris , Alexandru Ardelean , Gustavo Silva , Shoji Keita , Andrey Skvortsov , Dalton Durst , Icenowy Zheng , Andreas Klinger Cc: Jonathan Cameron , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Ondrej Jirman , Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1727989489; l=811; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=YZs3ZXnNhdkbmML8544Wx8zMstwgjP3YkWnOJFipDvY=; b=hpUiAJ7Gc50MT3qBP2FeM0n1WXo5ktL9bsy1VMzZ9I14BgwlQoJih26rzBWMk9ldP+PnShFQl Co1+mtkNDYKBULBYZfGtcipBI2a942bSR+frcDprBGx7orn6kzJi7D+ X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= This driver makes use of triggered buffers, but does not select the required modules. Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'. Fixes: 7c1d1677b322 ("iio: accel: Support Kionix/ROHM KX022A accelerometer") Signed-off-by: Javier Carrasco Acked-by: Matti Vaittinen --- drivers/iio/accel/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig index 516c1a8e4d56..8c3f7cf55d5f 100644 --- a/drivers/iio/accel/Kconfig +++ b/drivers/iio/accel/Kconfig @@ -447,6 +447,8 @@ config IIO_ST_ACCEL_SPI_3AXIS config IIO_KX022A tristate + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER config IIO_KX022A_SPI tristate "Kionix KX022A tri-axis digital accelerometer SPI interface" From patchwork Thu Oct 3 21:04:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13821569 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (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 A54411C0DFD; Thu, 3 Oct 2024 21:04:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989499; cv=none; b=cstbPDdokSHSfoTEKUuITSRQhvpg8sLEJWaE2pzEQ8Pic/lF+1BGYYAvna6Eos4iRVqz4pzpCgOysLnKrmm/NsKOVpV0zPT3CnW6eeE2DmtGvaTx7V/wdugeOA7KvkI7BBJ2BXaR25Lc731RsPeGOi5zdVCrUCuFrjXdF1Z5SaQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989499; c=relaxed/simple; bh=McQxdtwEupzbUm+EhXUres8xsy1ewiFsDUkVrdwHeI4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jwpcwspTAPgAU1LrYAYDHOvQtNOWx0ceYJLiRBXlIG79lu8BzJ/p6kDUoptIvX2Wh3S6F0Q9/pDy5B8ZHixfCyHO3b19/3jBzsztmgE8P3vwLqhUdPFcgFcSbbyNtWD0pcu/ZcAt7QUbYg5CSMhhByt47pXvpkG5Z3f0SvrJ8Ws= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=kf+IcAT7; arc=none smtp.client-ip=209.85.221.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kf+IcAT7" Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-37cdac05af9so1379198f8f.0; Thu, 03 Oct 2024 14:04:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727989495; x=1728594295; 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=2HNudfaPjvypa7TQyJIOw3LqdBEpuHpJ7Xio0sncxVE=; b=kf+IcAT7BT6YahWrVLvN5fmWj1LwxbR2rhBp4ZC80xSkgaV9eBMQK6eo9zJRtqvgFR 7cSCsja/CtVpM+DlyMyu33bdLsCnVkHRBOLnWpDw2VByMlTZxc/HENE8qUv9FiZBPihy ZQ0iQnI2a0Kuh+XolNGywMigbA1exPhe8lznzm9AYbX/EGFjizP67iUvELTe+sTIGHgw ixoDLSiHH/Ss3f0Ll+mgxVbcHjplRqNTDZXya54b1M412Nu4MSrgNucD68HFrx/VX+0e VaMuirL2dJzaiwQqF4LLTKO6gLi0Fbsh6ybu/R/ui4LZy7b9N6iQr2eLx0uvW3qFc2Zy kIBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727989495; x=1728594295; 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=2HNudfaPjvypa7TQyJIOw3LqdBEpuHpJ7Xio0sncxVE=; b=RwlxaZrgrO/SDYdZB3xRJ8VWWWmIxBVLEVyQu9O6czVkKAb53T6EruG8YZs2o7rhTF 7Ih3aroeqStXXzNFms+Zp5ulKH6QopMRDDnavkG1MQ2G71E/k47QyaDmxaOmKuLgQ+i4 vYO5ku8f4cU6x9GlpPblhsNh6jiLo5nFxWJYa1nS6W6z2yQUQm0eWypk2GkdJ3vjcQv/ SKWkH9FjjiXTEvuCuIeL058HfOaRnbnJkRTfvx0OfSj9kKxs4o3yHlVNqCiKaVCuDi30 MPJ02nyJYcsoQFSmO4w+F4/wPZ/xKaOdahsFmQAU1HKVPPrpslzdafRVRcxNrt+IaaYV AWXw== X-Forwarded-Encrypted: i=1; AJvYcCWPsiUhKQditzU1CxeuFh8T3RzgI+qZVv//2YeV1q0KzHfYfLGpnpth4R3DoKrURWselEYKd/ZI6GQ=@vger.kernel.org, AJvYcCXlDlQO9zG8rjTertv16hSKQD1B014lLJ5mGv1rIRNmuizppREm2M4fctM/qrzYbT0vxF9M3efPFbdD8L9a@vger.kernel.org X-Gm-Message-State: AOJu0Yy+q/bwQmXVMXwOuZfSjfmWDC1/qCvtaSlwR5mE5nirUjsmvY09 DUHmRHbquT01NuLHzBmPO56ERjfZfxsjq/oUbAGClGlpKmgWrI6lkvpAeGi/ X-Google-Smtp-Source: AGHT+IEOIlFsiZQoISQ2lryKNFpjPVx4dl2+f5ybTHa6yI1MPPzt0RbDnqaLZncPjp2pT76Nd07SnQ== X-Received: by 2002:a5d:69ca:0:b0:374:c3e4:d6b1 with SMTP id ffacd0b85a97d-37d0e8dafefmr533446f8f.44.1727989495280; Thu, 03 Oct 2024 14:04:55 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-3ec5-11f2-e453-20e3.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:3ec5:11f2:e453:20e3]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d082d1f90sm1981853f8f.93.2024.10.03.14.04.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 14:04:54 -0700 (PDT) From: Javier Carrasco Date: Thu, 03 Oct 2024 23:04:48 +0200 Subject: [PATCH 02/13] iio: adc: ad7944: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241003-iio-select-v1-2-67c0385197cd@gmail.com> References: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> In-Reply-To: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> To: Jonathan Cameron , Lars-Peter Clausen , Matti Vaittinen , Andy Shevchenko , David Lechner , Nuno Sa , Dan Murphy , Sean Nyekjaer , =?utf-8?q?Le?= =?utf-8?q?onard_G=C3=B6hrs?= , Mihail Chindris , Alexandru Ardelean , Gustavo Silva , Shoji Keita , Andrey Skvortsov , Dalton Durst , Icenowy Zheng , Andreas Klinger Cc: Jonathan Cameron , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Ondrej Jirman , Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1727989489; l=841; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=McQxdtwEupzbUm+EhXUres8xsy1ewiFsDUkVrdwHeI4=; b=MDHbuGC+/o4WHTr7dlDoszoLf0UdnP6jmbVbQP1waUHw+gkYbpLPJ/b9UdQxcqnAaw+Ex5/CD Ufh6tBePGVdCzjTb4T3VI16Q7LSTFp3lk5AB8g23hMKrsKdcZ7B8ICV X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= This driver makes use of triggered buffers, but does not select the required modules. Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'. Fixes: d1efcf8871db ("iio: adc: ad7944: add driver for AD7944/AD7985/AD7986") Signed-off-by: Javier Carrasco Reviewed-by: David Lechner --- drivers/iio/adc/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 97ece1a4b7e3..6790e62700fe 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -328,6 +328,8 @@ config AD7923 config AD7944 tristate "Analog Devices AD7944 and similar ADCs driver" depends on SPI + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER help Say yes here to build support for Analog Devices AD7944, AD7985, AD7986 ADCs. From patchwork Thu Oct 3 21:04:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13821570 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (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 888811C3313; Thu, 3 Oct 2024 21:04:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989501; cv=none; b=jDgPWb5DUiH+0uSYDoLDAIgahyCKB3Cdr9WarF2fa98c9RbyoERmTfRgfTT9Uxza4Z6SqCKthLkXbx7bCsLnJrNpfhXoRnhJ1N2kyx18MPLAbfggXo1y/9nJ0/v1ifI796QFAdIqwNbdLaOD4rPQOSkZG9ozn37OAgSI8HOi/Tw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989501; c=relaxed/simple; bh=f8SNlbodZ6+8Ge5+EmksbhgV3QAvjXrOzvqennOTPB4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ZqHDTtEMFQzxwKONYGxf79TWKkB7KzWyP0mVBMZ1EOt2fWRlrwjkKrtQaifqE2xsW+nEoKfi2PlR1H13TlbPsDfVOig5WKK7cM5KHmdDnVBhTITRw2L6J28oE16zPvLKi89XHuIQTzwOy5+tTq1XdrWcj/WI7rGd4lJ57WCufQI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Z7tQygjt; arc=none smtp.client-ip=209.85.221.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Z7tQygjt" Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-37ccfba5df5so1052318f8f.0; Thu, 03 Oct 2024 14:04:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727989497; x=1728594297; 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=EC5+9I7pvxrN68RX/sQyOKXnfn5s//W7Dk6RyljFGzk=; b=Z7tQygjt22uz4NAMupNukEdaURkdVZIW7pR1mppovtM4JjjT7rL311jk/tHyln7yGj ZQuTI3IQ1r/PfI1uDT6sJwnIgAv3KNxLiEHs1FTFFCwCnygNg+tLqWCXWJyCSvbwSI9V iSrTQTtAoTCqH9eTgAVmSLq+V0qml3cjbSIL9fBgWc623VsRz2Fe9GXcTDO/Z3U6/zHb nrPUMXcH4NTz9/4JCHmEteXCSbMhAZbusQvnbGNh6N9Z860GwicDGbtKLjuvHogBaGSY bCL+o6LDOym6pH7E9Yu5tuwOuGxDKDU9/9GI0yIYIiT0BsVWI+jkqB+DVM7QWcG7gG0N z+9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727989497; x=1728594297; 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=EC5+9I7pvxrN68RX/sQyOKXnfn5s//W7Dk6RyljFGzk=; b=Igh4hiDJnUe1JjP1CaDc1EfykfgeU8ZTbrUPWnksK/VacVjNedy/IJkv3CEv5MBhl3 jn29eEBdbuuC8P99Nvk1mXfaC85BWfKwplqSoDiR6FgfKTihNCtkDwfK6CtWPS//eyZz V+Wrh4XuCV0LnyXW9OA5sHDZHOAjopMIm5sEFCfq1Ud7f9K7Vr0LGXYw1lYw5KTonUBe 8kErI9kMavVm6EMCKFrDrsWTkbxPgKwPooAzI2lkmSTP14saoU0l6DNtb44V7d3fd1Nt bqOCd/uU/Iu2cUYWlWH6WHlXLUGyDAlmZ8WKOZeDWVfNTPtR0hRJPgp7h2Xgn++pKzbP Tpfg== X-Forwarded-Encrypted: i=1; AJvYcCW3H4aCeXfrYDUoJ6F4Kloi1OgdJUyJOKez2jD1APwL1SW+2gZpnuSXc3Da8TUQ6B37bSueXnFVX+b6TTd+@vger.kernel.org, AJvYcCWFk2BDvlw9mKu9UakElVVx1dBQbTbgk5xjvnzdyDRfCFah/1NkxxjSZgpJS5suY3sURbEcSXDrbn8=@vger.kernel.org X-Gm-Message-State: AOJu0YzaGeR7MUT84s+SKOa76dlvxCt2sb3SJZpW9g4w4L+5j1GlSJIS tLYkNe04Rpqn+wintB/eAnGUgCMna+Md3KTHRFvO7CNuGq8b7VzVwV5MzmId X-Google-Smtp-Source: AGHT+IE3KPhP/UI4FTdlWdhREPWN8iub3RMea9yPj/gEhA5jl9sroUoILaxUDjdgmOPs2n58+qHVwg== X-Received: by 2002:a5d:4908:0:b0:37c:ccbc:6573 with SMTP id ffacd0b85a97d-37d0e6efee9mr393392f8f.18.1727989497311; Thu, 03 Oct 2024 14:04:57 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-3ec5-11f2-e453-20e3.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:3ec5:11f2:e453:20e3]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d082d1f90sm1981853f8f.93.2024.10.03.14.04.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 14:04:56 -0700 (PDT) From: Javier Carrasco Date: Thu, 03 Oct 2024 23:04:49 +0200 Subject: [PATCH 03/13] iio: adc: ti-ads124s08: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241003-iio-select-v1-3-67c0385197cd@gmail.com> References: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> In-Reply-To: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> To: Jonathan Cameron , Lars-Peter Clausen , Matti Vaittinen , Andy Shevchenko , David Lechner , Nuno Sa , Dan Murphy , Sean Nyekjaer , =?utf-8?q?Le?= =?utf-8?q?onard_G=C3=B6hrs?= , Mihail Chindris , Alexandru Ardelean , Gustavo Silva , Shoji Keita , Andrey Skvortsov , Dalton Durst , Icenowy Zheng , Andreas Klinger Cc: Jonathan Cameron , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Ondrej Jirman , Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1727989489; l=835; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=f8SNlbodZ6+8Ge5+EmksbhgV3QAvjXrOzvqennOTPB4=; b=dpZAUpjVcbCi50GBStpjHuE0+gJtab1xJgx9jGeI8q8lwhzCsUDn6wIV7mO1OlTW+xjPddFKc F4kQLbr/1oMD7GUTiikNhilpFdnsGxaZnlTHmdHM6b3uTvSRWXLahNG X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= This driver makes use of triggered buffers, but does not select the required modules. Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'. Fixes: e717f8c6dfec ("iio: adc: Add the TI ads124s08 ADC code") Signed-off-by: Javier Carrasco --- drivers/iio/adc/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 6790e62700fe..45872a4e2acf 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -1493,6 +1493,8 @@ config TI_ADS8688 config TI_ADS124S08 tristate "Texas Instruments ADS124S08" depends on SPI + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER help If you say yes here you get support for Texas Instruments ADS124S08 and ADS124S06 ADC chips From patchwork Thu Oct 3 21:04:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13821571 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (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 4AB251C6F43; Thu, 3 Oct 2024 21:05:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989502; cv=none; b=TJqfwhCyd/g5rzRzvDB490MG1RAYR8+Gm1DyfbeuB0FhYtt4Jg0FQK1Jl1X1yydzWTCfnR+cmHZPxnUrCDGfhCut4uFXKhGPBq+vyTXg0MBt1kcOr+q6eSelDuu2QNZws4GvbgGyAQvBaYJX6ALdV3NS/EqbL+ipm3NKIdhC7V4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989502; c=relaxed/simple; bh=W40NyMLdpARWLuZYqzDsCfacLvyDNM7oFTXkUJUfR6o=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=IDTOgMY/YS1HoUwSsD1b8IF3M5iPka3JFEGKUoApk/asGXG35onJ9iBuXXr8oCzY4SM2dY9NHpGhFNfibrtKtpy6o6XAnSxbUS1EUbvB+ibewuXsw5cSw6+8PbmOl0Gsa4gc6VFYqQHjoDujOahZd6VpGp0TEQV1Q6PSFEOq62A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=TuxuEmN/; arc=none smtp.client-ip=209.85.128.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="TuxuEmN/" Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-42cae6bb895so13368435e9.1; Thu, 03 Oct 2024 14:05:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727989499; x=1728594299; 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=MsL9+8ZXSavJ8pwggBq282W1a2YZcLbC2g6a/0WNPa4=; b=TuxuEmN/h1Bc6Wb6KgCy4FO5jreFnJ/oiQUjyusGhUgL1BBbc9CBJRbVQV3wvid3DY N1xARCj3/avgTJucnunN5/xqUoDmw/BniNFPPNiiBjMiNx69RQBVNGXyrNPjVcPD2f0Q +C82Yae+hLM+d7mHwBl6un0s31VDTS8KB2ABmtEDv24Q8fy6UJK3ARItMlt/6PDA03zo nO2k0UVr+dwSwbAoP15uUihIserHzdrfIgJMDD/0smJBrOu+0lXN3H5Op5vLITwzMPb4 jaHRKgYWx4PW5ns9R0kmh/3QK9Q3Q7HPQjveiTCgl2t0QlHquFnWcR3ltMe7QEhUTNKw SGqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727989499; x=1728594299; 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=MsL9+8ZXSavJ8pwggBq282W1a2YZcLbC2g6a/0WNPa4=; b=ganlq/GzP65qJv/uThGKAps/ZvoxsdV7RbmWWKcHiMRg8wss6zYjxBC8soww5DY1hP eFzCSeVN5ct2a0HeJZOR5tIk6mWyEpcmQB6c3ouzgUcTsu6bhsErhf1iC2KziOXoUJTC tm/CDMtlHMWGAlEQbnk7VMFVVCUFhEbCm4Bi3Jj22gKYTt457gSWaMs5afJHqwly6JDD PxUVvUZPaHCtEvKCL179If/J4zVYlARsm7u4IIQywjwOlBtirvhhbVgwHTU6BG3Ia52Q RB8xkqla4twj4c9j1edEK/9Nqldyd9DxAYeGjT6o06LQBVqvFRw63VPBp/rme6N90eNv cN5g== X-Forwarded-Encrypted: i=1; AJvYcCUCkQCKnHakw0qCCQ+LPnXnWOU6pcbHD2+ukvaUULuzyiCy5iw36soqaeXPedfQsNqBSVPX/idqwyHclEPe@vger.kernel.org, AJvYcCVRWXIcREr+tndAqQJmPEX+bEDH2qsShF01xL0j9Bt/+5osl/9mGQlwUm/YzKHG1mbAnYv+3MI88T4=@vger.kernel.org X-Gm-Message-State: AOJu0YxTXuut4QsLPWmwGU3eI/25n/21G48EssWXxHqE7H7FIGBT52Uh m8fehH1Avv5G0z+lnDpzaMT+rNTEwonOnF8SP+fyqZfVaZG4Qk19k9+6wUlY X-Google-Smtp-Source: AGHT+IGK8u4ybFbXUQuK3KSaPo1xdHX9JcNtwYCgoq+rweKiz10BuqatqfCS3gIRIDSuLJf7F5zqkQ== X-Received: by 2002:a05:6000:18a7:b0:37c:d183:abd6 with SMTP id ffacd0b85a97d-37d0e78e12cmr491680f8f.32.1727989498955; Thu, 03 Oct 2024 14:04:58 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-3ec5-11f2-e453-20e3.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:3ec5:11f2:e453:20e3]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d082d1f90sm1981853f8f.93.2024.10.03.14.04.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 14:04:58 -0700 (PDT) From: Javier Carrasco Date: Thu, 03 Oct 2024 23:04:50 +0200 Subject: [PATCH 04/13] iio: adc: ti-ads8688: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241003-iio-select-v1-4-67c0385197cd@gmail.com> References: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> In-Reply-To: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> To: Jonathan Cameron , Lars-Peter Clausen , Matti Vaittinen , Andy Shevchenko , David Lechner , Nuno Sa , Dan Murphy , Sean Nyekjaer , =?utf-8?q?Le?= =?utf-8?q?onard_G=C3=B6hrs?= , Mihail Chindris , Alexandru Ardelean , Gustavo Silva , Shoji Keita , Andrey Skvortsov , Dalton Durst , Icenowy Zheng , Andreas Klinger Cc: Jonathan Cameron , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Ondrej Jirman , Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1727989489; l=844; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=W40NyMLdpARWLuZYqzDsCfacLvyDNM7oFTXkUJUfR6o=; b=vAmhEKvimr0optzfzUjulhiBy0NGXNZ/8EKJ28wXgF5wxjxc+lApEqyveBa1QqlC9q0Cj9TUj BGEzocyyE+eDlX0JJN4GdG9yYDK5DlHod6xvvHGU+BLwm3J8T7hheb/ X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= This driver makes use of triggered buffers, but does not select the required modules. Fixes: 2a86487786b5 ("iio: adc: ti-ads8688: add trigger and buffer support") Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'. Signed-off-by: Javier Carrasco Reviewed-by: Sean Nyekjaer --- drivers/iio/adc/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 45872a4e2acf..e6be1f1ec79f 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -1483,6 +1483,8 @@ config TI_ADS8344 config TI_ADS8688 tristate "Texas Instruments ADS8688" depends on SPI + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER help If you say yes here you get support for Texas Instruments ADS8684 and and ADS8688 ADC chips From patchwork Thu Oct 3 21:04:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13821572 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (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 EB0D81C0DFD; Thu, 3 Oct 2024 21:05:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989504; cv=none; b=lhFlBD+E7iJe2WHlqphShoZTYM1e2JEAfDoqXPW33CyEwqQOKoSHx4DYqm31jnxI+yf+2fy92O/JXCwFC8wy8Dt+tvy3wYDPFHjAqrM5x7inQP5HpgSkzldpcIhWhB9bRQMN9FpKI/IEyDyGUJ8uu8CDQJbDpPLouE3MBwUF0qw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989504; c=relaxed/simple; bh=om7nGa7e38LSyDcypOxeDmfhQmu0fTKuJNT54Q/SfS8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=DWLi7FjSqvsGcTPa7sQnjiPSiACuz0kr3hS6DVZnv+GvV/bd+ulAYc/+GGGqU1OMzoen8o24YGvDCYtntStznNBtJYMBnG9b4yZS/vVnj6hBI0ibQl4HTtHJF94fDxiovtmBzxnLNfYlO4aZpGcwD7uiUIROvcT80c8a+KQz9rI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=MQVrD42F; arc=none smtp.client-ip=209.85.221.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MQVrD42F" Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-37ccc600466so817534f8f.1; Thu, 03 Oct 2024 14:05:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727989501; x=1728594301; 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=l5dRsCWrSpVZQ5FgxVkWtchmDx38MXT+edotpWIhtuQ=; b=MQVrD42FtQ49nYo9BvYeLZCq4wWHSd32+aGyQoIy0V7bABY1qgbOw8tkodF73ImwU6 ROPATLF9DyoeSeZVhfujh1l8CVIeoW0IpbCLFjc+l5otRWmZRipD4kqOs9iB8POo8xyG zFDGqATjAPr1w/ms8vzjrzBBh4IC1OE8sffTlquUXb17pgK8N9/Ypx4n2VsjqhNyDBvm WG/hG0RhCBKCbVC6zTIgZZfhVep1B+W0uWKbt5GZxM0kidcpJ1QROD7oLzZx1+cGi0yf aYaF+owbO13f3DWvaqFcAdFctngPj8i5gsKJFAjEq7kaoVbC/YsMqsM7pgNiSPMYKFiO GrVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727989501; x=1728594301; 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=l5dRsCWrSpVZQ5FgxVkWtchmDx38MXT+edotpWIhtuQ=; b=FXJDwoscBOA1K17sdKv9cy12qHX4n8c5DBl6JANVFIPIIsVvHuYuwz3uJ6RLqOZ+Jq X0ER15alcuw/cSXSfRW7S6A4ezKeDyjPDv8uS37Nke+N7RmqSc5PfB3gnJs0cFSxbrVK 84q35I3pEFm7G4I3WZW7hk8t8+e7y2TAJQ6wkXTSlKUlpFXsGOTYhN0FmBqaUQWXZjZs v/EaCDKrhRJQGiXhZK0otBhPv17bsePK8eXWyTHn45Gfz2hVOk6AczBaBjdKxZV8TkTj sZnuA9sq4LCUcrtd6IupwJh09T7zzjk8TqdmFkVWrkHewl0OQxbpxZQghvqvlbx423gE Gblg== X-Forwarded-Encrypted: i=1; AJvYcCWQ/wYQgdawRU3E/BFK4CnGXq+bqfH8+Grtw8A4cjcIr47CrhBk6z5NHEh+vYihKG/WUdDih5P8hWJmjoOD@vger.kernel.org, AJvYcCXJ6fwyY4+IZ+k9PUtn6Rz6v49K2PrEeI45zctmY5rPMq5GHrMi32UzGhZETvgKVRE+fgLSJR326Ns=@vger.kernel.org X-Gm-Message-State: AOJu0YyVAdW9HjEF3XGbavTbfOW+o0Lpnp/2JXnZcIGUzqgNDprKCnk3 CKCZgErV9vY/4t/9jP5z05VfAX0ZtGos0y7aVIIZBNIwl79YWWfWNLTZR8dz X-Google-Smtp-Source: AGHT+IHLpH15NP3JHPl9pJi8UAr1waa7nyQ7l+hUUxfG+W/WM6MB+vCNXRTkhd07kk5xBriy6MJrjw== X-Received: by 2002:a5d:6342:0:b0:37c:d1c1:8e07 with SMTP id ffacd0b85a97d-37d0e7d5258mr371267f8f.51.1727989500898; Thu, 03 Oct 2024 14:05:00 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-3ec5-11f2-e453-20e3.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:3ec5:11f2:e453:20e3]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d082d1f90sm1981853f8f.93.2024.10.03.14.04.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 14:05:00 -0700 (PDT) From: Javier Carrasco Date: Thu, 03 Oct 2024 23:04:51 +0200 Subject: [PATCH 05/13] iio: adc: ti-lmp92064: add missing select REGMAP_SPI in Kconfig Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241003-iio-select-v1-5-67c0385197cd@gmail.com> References: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> In-Reply-To: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> To: Jonathan Cameron , Lars-Peter Clausen , Matti Vaittinen , Andy Shevchenko , David Lechner , Nuno Sa , Dan Murphy , Sean Nyekjaer , =?utf-8?q?Le?= =?utf-8?q?onard_G=C3=B6hrs?= , Mihail Chindris , Alexandru Ardelean , Gustavo Silva , Shoji Keita , Andrey Skvortsov , Dalton Durst , Icenowy Zheng , Andreas Klinger Cc: Jonathan Cameron , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Ondrej Jirman , Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1727989489; l=779; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=om7nGa7e38LSyDcypOxeDmfhQmu0fTKuJNT54Q/SfS8=; b=rZvVfoLSeBz18dO9SDZRp7Bk2WzcWGIAIUY8Un+4cSzOTCDLxjteivXRjbaWys56lvCDGIAcS vF7y5DizmG9Bsnd5zaZPtQhs1brTENmV48ij9L8AcbAGoJ1hGGAwCwv X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= This driver makes use of regmap_spi, but does not select the required module. Add the missing 'select REGMAP_SPI'. Fixes: 627198942641 ("iio: adc: add ADC driver for the TI LMP92064 controller") Signed-off-by: Javier Carrasco --- drivers/iio/adc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index e6be1f1ec79f..1206a5487334 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -1531,6 +1531,7 @@ config TI_AM335X_ADC config TI_LMP92064 tristate "Texas Instruments LMP92064 ADC driver" depends on SPI + select REGMAP_SPI help Say yes here to build support for the LMP92064 Precision Current and Voltage sensor. From patchwork Thu Oct 3 21:04:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13821573 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 EF26F1C6F54; Thu, 3 Oct 2024 21:05:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989506; cv=none; b=a4+uPvJuLsiMMH5ZTwpNxpR3IwXDXUrFK5/q4AzSaSziR7cT7UMe1ugUuKXUiV4Rxn8nCvedZ9aBcxjrec1gqSyXUHIkUr5IWZvqwsmDKmbvWsWaduaROGHe3nwsfdOWS1XhladlKdTA11iccLbLkueuMIxFW8zCwLLHBmIZpxs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989506; c=relaxed/simple; bh=XD59c28xbYCxr4/KbA8MK4CIcyt8Kn/gccLgAtnCnlI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KLSrDYguafrp80aB2Y6ZACsA6w4Bo7IeTxI+13Bwv+/IaTkejYH+Jg5AQK45ND2ofbgRe+qYxtslqVyjj0EibubhP04OBvNU2UyRV7AnYoJuDtdCMONFrPLKBLGHqZcOCoUu+Tv3bivZSqFxIH0SD2uXNqrKZreR5I5gJbKOEvw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=hSNbMSkl; arc=none smtp.client-ip=209.85.128.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="hSNbMSkl" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-42cb6f3a5bcso18068855e9.2; Thu, 03 Oct 2024 14:05:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727989503; x=1728594303; 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=mclFQb/IEqLdXS1L3KMoEr5Yg8KzsL34jXvZK/E3Fts=; b=hSNbMSklVLs6buuJ9wpyLFfPuxtG8hb/+M2+SHVhX5mRQ+JJKdXNy0ZFzBeNAsozvL VoEa2LRrWZ0nNEIGmsp6RLzYHorn0kI1uRzU2ukT9D1Zm9OdAklw5W0dk5dR/AiIeDEQ B114q5tsatPgd3TMdxW2pi4RTMOqiD5IFmVG2ODtrkTVZKUlnqBbHZeL6FeDeRK4zbgX n93JO2NZrhrTky2tyr5o88nMRlX4ugLngBqzEdVZ3pmCg6BTRyi6g4lSeYH3alQoaZys +TwXJLxE6a9DGqKkjFQx3BDmOSopEMgnyCbYL33amhbzmdgpZ+5rI4mLvsPJ7r+RTozf xR2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727989503; x=1728594303; 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=mclFQb/IEqLdXS1L3KMoEr5Yg8KzsL34jXvZK/E3Fts=; b=KFqCBHLxLehVssyRq7kjbOJOd3pMm5Jwp37WXAQxn8MHLgQzPM+zDsYi+XP1Lo2m2R qh1fcc47w4P06zYzrEqgFm7WVeu5j/59hv/nv1swwZ4HXpeutgoLoFpvDtdMYq0+FUdf Ll2fTL+2B+BL8vSvRxh25HCSrWi+rgfcNrt9WHNifFm59Gse5nhIW/uDC/TOpQaFlYFK VVjkAwwbUHfcLGO4JoUoWazFlPaGS5/mfv8GHir6eKQLdceoDruhD/Wm5LQpGzTRy86q jodtyaVJyDwB62P5KS4CECFGgJLvVcunwlI6V/fcIt1VA04/QaywE6enIG94naD1oa82 u1Ow== X-Forwarded-Encrypted: i=1; AJvYcCUEousK6YtjeupwYBtLw65Zg71JnGsO6EQR083/1dXGKtGSGwZF1suC0fZbCRWwX/6KmF9ZvFu1PBM=@vger.kernel.org, AJvYcCXws1AdNVXY2luokA1BKt6go1s4XbpTmAyHxXV4ZE9MbSe+ddzhhHjceueTwHStuYsMu7S/sgGHGaGh7qvg@vger.kernel.org X-Gm-Message-State: AOJu0Yw+7eTKByM5wNYg78Vq1cmoEhexBHyJVUYQnazub1xDAZH1Nog5 JGUPXBADdmB4KMP/i80Qb+d7yFO/Y078sA4YV7it3ev9FiSb0SlnmbIPE/MD X-Google-Smtp-Source: AGHT+IHw0jXmw9jJ5zG7S2cy+1n2kZN4B7eud70dJ8/6s5ZVLI+Rbgup6c0ci/aBn9pwLiGIAf/RZg== X-Received: by 2002:a5d:4e45:0:b0:37c:d2e3:1298 with SMTP id ffacd0b85a97d-37d0e8f10a0mr454565f8f.55.1727989502745; Thu, 03 Oct 2024 14:05:02 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-3ec5-11f2-e453-20e3.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:3ec5:11f2:e453:20e3]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d082d1f90sm1981853f8f.93.2024.10.03.14.05.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 14:05:02 -0700 (PDT) From: Javier Carrasco Date: Thu, 03 Oct 2024 23:04:52 +0200 Subject: [PATCH 06/13] iio: adc: ti-lmp92064: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241003-iio-select-v1-6-67c0385197cd@gmail.com> References: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> In-Reply-To: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> To: Jonathan Cameron , Lars-Peter Clausen , Matti Vaittinen , Andy Shevchenko , David Lechner , Nuno Sa , Dan Murphy , Sean Nyekjaer , =?utf-8?q?Le?= =?utf-8?q?onard_G=C3=B6hrs?= , Mihail Chindris , Alexandru Ardelean , Gustavo Silva , Shoji Keita , Andrey Skvortsov , Dalton Durst , Icenowy Zheng , Andreas Klinger Cc: Jonathan Cameron , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Ondrej Jirman , Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1727989489; l=843; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=XD59c28xbYCxr4/KbA8MK4CIcyt8Kn/gccLgAtnCnlI=; b=a1u74riVYTcV4+ki4RB77MwTyGKVxGu2pHjSttfC9SDEGJKCWMtX9P/TyGU5DuRmDUHDPuQJo sr2tgXQp2CyBKghL148qE9OKXEJN+fsB2lFa9tLNNX43a4j3lwF4lsF X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= This driver makes use of triggered buffers, but does not select the required modules. Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'. Fixes: 6c7bc1d27bb2 ("iio: adc: ti-lmp92064: add buffering support") Signed-off-by: Javier Carrasco --- drivers/iio/adc/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 1206a5487334..1bf915c3d053 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -1532,6 +1532,8 @@ config TI_LMP92064 tristate "Texas Instruments LMP92064 ADC driver" depends on SPI select REGMAP_SPI + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER help Say yes here to build support for the LMP92064 Precision Current and Voltage sensor. From patchwork Thu Oct 3 21:04:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13821574 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (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 B50831CC16F; Thu, 3 Oct 2024 21:05:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989508; cv=none; b=OmVxoJXJgmsyo2sHBDDCzAMN6QXo/cRH9pkr0/AUkBQCkNmxplMKmO3+5ags8wdDeS0uLVjHSTq7Gkff1QvLJpUcfDCTivPzHTQ3OqSBh1iDGDKEuFcWlmcuzt9ys1DvD7S+7tKUFUQAsK1JT+89Fye3JLdjsaFMISN4d8nX244= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989508; c=relaxed/simple; bh=UDUIU33cUG3Q3WPQ0b6UwKmEsXsMMs/v2smuIUeObJg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=OJiRRzwoFodMRcKa2R6iBI4sDFN20jHI9qK8FX46sB4FMeAI1oYBB40S3PaaD3JPLAMZKTbH1GQwHkft5IZmxbQ0f7Ykl/luhfTF4oJtX7kNu0wMZRnBj00aPs6F/aYL5PjlQ6tGqO2EWhxvqzP6g2FYqotsko906AmHXGZbS78= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=nFzTI1K0; arc=none smtp.client-ip=209.85.221.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nFzTI1K0" Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-37d04b32ea6so1010095f8f.1; Thu, 03 Oct 2024 14:05:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727989505; x=1728594305; 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=9nfYN8Y14gOBtpeopWG2GxnSBBdqipmpvcig5GPcgvY=; b=nFzTI1K0dcVnbYm1zY3MIy0tJOcL1uni0Swh4miM4enMUCJrdg2GrJFYMCoNv4MRfg UJdSg1gM6c7xCJOl/DknF25TQEiu01kQuFLvjnwT/5QRQDC+vVq5oU8ckZuYgbV9o3z1 oovGwEyRrFLB/wJ6LRxfkzdy59wxZhBVdYI2GN5lOWp0ZhLmaUSEU2Mmr2Vaj9jXUW8E ThmZZfq8PVN8lhmsnFgn+1UZQNlzRROQcaJZ6u/VgBSyaHhzrU2njkHpBD5OhLyEhCjZ 5aav+QRXSZh7MYksEc1/S3de9xNaesA+TQrA6aLi6s2gFzLa4DJqFMNuFMFNPv6bd0x8 LI5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727989505; x=1728594305; 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=9nfYN8Y14gOBtpeopWG2GxnSBBdqipmpvcig5GPcgvY=; b=KrRP0aPsXO5K+/njHG3kiJMwiXaw6bjJo+nTlOojLmlcCnuXIsFP2YarvVrjfioaRO Twai6BPV8Uj5ns/vHcz5/hfOX+MQmssiGuw/aOudFzi1eZB8eidesMeo51GkOQ9X7ScW KRSBpR/9rJQAaV99gbc3EyhOj0WcnmaBb/nkh5E22IZmQUbq/QLi61mo1JWIqpYetdyf ZT55H+4eS42m5hCNge3YSfewSrJAdnO5iMD0OfiCG5BNZQRIU9imscECKBml8UZ27tNY cMl9F/D/pYY10hxMVlNFRr2R0bZIDaBtly/TTWBAZW9mDFeF271IdO8fEqT5JhbNq6rF 0WAQ== X-Forwarded-Encrypted: i=1; AJvYcCUcvloCS+78Fy4HOwCp0aVPDVp21wX8IwPupx8JGuYlZbdP7GERNeo1pYcJUlGDv/9u3ueP+uwuY0g=@vger.kernel.org, AJvYcCWiQV4y6aihy8QkwvIiVuJpkD8EOnUbX0JEe+wv0TVWHDi9hHmnVf/xdlnD79C1VyMCyOp7m0M9wxuRKfEZ@vger.kernel.org X-Gm-Message-State: AOJu0Yz3ENd9hwZnW0oymKL7RObZESrg+NZj8t8FPhKy3Y3OqaMB9sgi YDa10iUvtWyTuZDuDNQ60/1LmXP5BZw3oRkWd4MtEGH1nGQjBZEhTZCKKjG9 X-Google-Smtp-Source: AGHT+IFdhBMc6kRhzhKhOVdzo4987rdx/GzLSzGu6ZaFfepRLgOvW28fkrgb32KNnHgS4XZ1nDEgfw== X-Received: by 2002:a5d:6886:0:b0:37c:cee1:acb2 with SMTP id ffacd0b85a97d-37d0e6daa98mr364559f8f.10.1727989504603; Thu, 03 Oct 2024 14:05:04 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-3ec5-11f2-e453-20e3.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:3ec5:11f2:e453:20e3]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d082d1f90sm1981853f8f.93.2024.10.03.14.05.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 14:05:04 -0700 (PDT) From: Javier Carrasco Date: Thu, 03 Oct 2024 23:04:53 +0200 Subject: [PATCH 07/13] iio: dac: ad3552r: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241003-iio-select-v1-7-67c0385197cd@gmail.com> References: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> In-Reply-To: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> To: Jonathan Cameron , Lars-Peter Clausen , Matti Vaittinen , Andy Shevchenko , David Lechner , Nuno Sa , Dan Murphy , Sean Nyekjaer , =?utf-8?q?Le?= =?utf-8?q?onard_G=C3=B6hrs?= , Mihail Chindris , Alexandru Ardelean , Gustavo Silva , Shoji Keita , Andrey Skvortsov , Dalton Durst , Icenowy Zheng , Andreas Klinger Cc: Jonathan Cameron , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Ondrej Jirman , Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1727989489; l=853; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=UDUIU33cUG3Q3WPQ0b6UwKmEsXsMMs/v2smuIUeObJg=; b=Ycx52yRgffeji7Ege85IzsOgU7QJqMyTnoDmMsRdgVfihvSCmx1bEg3CAcRHxZj+PyiI6+2lE n7nYnv5D2IVAlHUtb5A/S1otNQi41nsZgdp+xe3HKRyzTvBTRrUjQWr X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= This driver makes use of triggered buffers, but does not select the required modules. Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'. Fixes: 8f2b54824b28 ("drivers:iio:dac: Add AD3552R driver support") Signed-off-by: Javier Carrasco --- drivers/iio/dac/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig index 1cfd7e2a622f..9d4600ce0427 100644 --- a/drivers/iio/dac/Kconfig +++ b/drivers/iio/dac/Kconfig @@ -9,6 +9,8 @@ menu "Digital to analog converters" config AD3552R tristate "Analog Devices AD3552R DAC driver" depends on SPI_MASTER + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER help Say yes here to build support for Analog Devices AD3552R Digital to Analog Converter. From patchwork Thu Oct 3 21:04:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13821575 Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (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 93BE51CCEC9; Thu, 3 Oct 2024 21:05:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989510; cv=none; b=OOXvJmCt3DoxLbVmWXesxcQuf3C2O58qdWlLIZ0/ApOrQahiayFesx3PCK9yMrE1hQmplp8ScG6d3bNt4lnsCDM8U7y+OqyX4DPTGxKYhNK4N8ah4VGsyejYA9X3zbvM8S1MoHefKQLrWOkja8IHGk1Y0sj4+5pdvuvS4pQLM8s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989510; c=relaxed/simple; bh=rwzs+R9n07DgazaacHGl+cO82Lh5K1ZxeggqDpHV6XQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lvH25hHwODypP/0wKu1DaacIUQT3OIH3R48rmcR8sL8xMbjMuiOPw9TNLf9uLbQ8NB1o9WOHGeAopD2pMilezfWtlYAgd0inK1RHs1PEvGgtZmV4d/62lTN8NtOEksoYwRkPIvJg/LrBqD5uRqXdkHz0cU2mJbQIyeLBuzEpsRM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=dlwIbgrz; arc=none smtp.client-ip=209.85.128.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dlwIbgrz" Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-42cc43454d5so11435095e9.3; Thu, 03 Oct 2024 14:05:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727989506; x=1728594306; 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=4bw72vsU7pP0++ACq6xhGW85isYA2BPlmk83ue0GWjQ=; b=dlwIbgrzgReCFcUS3vvStpiO3VNCtS79MxqleLL6pKMnxYZqZklA8WHeu9FodkXJqP Nd97xwyUq8rUOiZ2LYzIp6/LEUFmiuch/hdbDwQovmG07X3ujjH6CNa2bRXDzD8w6Zt7 KfD1H2J+eEgsz7gBpngxjtj8HECZqj+Ccz2HCy7YCx5y7NUpfYR+nB2rxAA1+fvqGazG L4wgRlueOO/uvAhpzF6/e/5xvGMSXqBzroF1RUP3tktufpyNI0DmqW0N4lBupzZ5urwB O1sJurlX2lweIkc79HfYRU6uXAnRi0oam4pqy6erPcUIngfWX2uB26sWO5/dyOW0h8BL tveQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727989506; x=1728594306; 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=4bw72vsU7pP0++ACq6xhGW85isYA2BPlmk83ue0GWjQ=; b=R+fag57KzSb990898isnhAT4mOmxK4nv73uZjuBfiw19ze61HHOfN3kT2MUc1eEI3D dMJeDnVn0oLBKcHbtptcQjwM3ipJd3EGlkQEDCwTVtX+KfdaAos/ezmPvTW4MW1KrYA+ rBNhxWt/rF9ieDfKB0FzqgHp2sIYAtF7Ldc5QjoAy7fNQ8IGFpglVR3RJ9RqnlZYshPo Zjy6eOGDOJQQ/woMivdljEu//8uA5aFue/LdJCq6l5v0kab1OHTTAab3vZ6aE9V5TtOF v2tWI/0lJwiAGC2cRGk0zimLUPUQUWQG/ihLFBRpKvVkIwvPUZ0nGLfjK+AuOE3022OD /+KA== X-Forwarded-Encrypted: i=1; AJvYcCWVUzXL2fuQBu5dXyNZaegZG/r3vRhn4gFJgEKn2VfEMowPyiFZJXeYqd9dscbcPKAtv+ygsZ6A3q0=@vger.kernel.org, AJvYcCWwJNwAuujI9k4KrCTdbCT4vqH51Rm9xhzv8IECu4zUf2Gz9Iv1C55S9wuZ7E52H4w5T+0E90bCiue17iGx@vger.kernel.org X-Gm-Message-State: AOJu0Yy+ZcoGSc6hkFGuwovjdoLdjhjPHZqwbTib+UoniR78Be0iYA8Q fkkHMNN7Jnx7dJOAt2qZqMsdllcvNtMi3vQf+0p/VJWI0a+UlSNAfE32YFVs X-Google-Smtp-Source: AGHT+IGUvFIrKmVGP9HMIQm/+AQPKmsr7yJ8IuezitZaI67Q30TpNn5dpu7yECsxOQcu+XtBtUK8Wg== X-Received: by 2002:a5d:404c:0:b0:374:c8dd:ea47 with SMTP id ffacd0b85a97d-37d0eb0b38fmr335072f8f.50.1727989506451; Thu, 03 Oct 2024 14:05:06 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-3ec5-11f2-e453-20e3.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:3ec5:11f2:e453:20e3]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d082d1f90sm1981853f8f.93.2024.10.03.14.05.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 14:05:06 -0700 (PDT) From: Javier Carrasco Date: Thu, 03 Oct 2024 23:04:54 +0200 Subject: [PATCH 08/13] iio: dac: ad5766: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241003-iio-select-v1-8-67c0385197cd@gmail.com> References: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> In-Reply-To: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> To: Jonathan Cameron , Lars-Peter Clausen , Matti Vaittinen , Andy Shevchenko , David Lechner , Nuno Sa , Dan Murphy , Sean Nyekjaer , =?utf-8?q?Le?= =?utf-8?q?onard_G=C3=B6hrs?= , Mihail Chindris , Alexandru Ardelean , Gustavo Silva , Shoji Keita , Andrey Skvortsov , Dalton Durst , Icenowy Zheng , Andreas Klinger Cc: Jonathan Cameron , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Ondrej Jirman , Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1727989489; l=848; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=rwzs+R9n07DgazaacHGl+cO82Lh5K1ZxeggqDpHV6XQ=; b=0Hx4vX79qvDgIRspyDhx2lO7o12cwW7KwU40Nfak/iQbYJ1tVR7RoFkOxE9e7Yu+9MKZsvCM6 /eCHAd8gK/WDrT12dH1j+EOiWvi4l/37dwNzku0burueJe0ZANo+xl9 X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= This driver makes use of triggered buffers, but does not select the required modules. Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'. Fixes: 885b9790c25a ("drivers:iio:dac:ad5766.c: Add trigger buffer") Signed-off-by: Javier Carrasco --- drivers/iio/dac/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig index 9d4600ce0427..bb6cb9af9ed9 100644 --- a/drivers/iio/dac/Kconfig +++ b/drivers/iio/dac/Kconfig @@ -254,6 +254,8 @@ config AD5764 config AD5766 tristate "Analog Devices AD5766/AD5767 DAC driver" depends on SPI_MASTER + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER help Say yes here to build support for Analog Devices AD5766, AD5767 Digital to Analog Converter. From patchwork Thu Oct 3 21:04:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13821576 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 7ABCD1CDFD2; Thu, 3 Oct 2024 21:05:10 +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=1727989512; cv=none; b=l5lzk9Pg4BFn/mXkPGBL4A4AV86eOUmsF4YupihwIzm95KdEMp+ESLdUYy9RWKnaE1ZxCei0p/3hSUGTaIcf0DrzxNpPZB844BJHHmqDdz82TdawwUb0pHAjkuetrhYjzh+SwEw2J+0qWozWOHX0IfRJAOh+KddP7wVa7P9mVz8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989512; c=relaxed/simple; bh=rkCt0h/rgrKa3TuWQg1MveSKjDSn8yXdazkeq+B2pt8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=sNSRE2Yru8e/2ySj1lcJ72cfsrDEAm+esrKt49Y3iPQWi9CX0R8r++HNnZdFFxhII2qq4WWILhwkjfdIL4EcZtOoy3KK7aNieB19cSzEiICE7I7n4uKvJUplOaqitSt4RhJAg2U4UxgMkAb2MH6WAelID+pPbeyZvc683dZGEEk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Al/APesM; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Al/APesM" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-42cb7a2e4d6so14298515e9.0; Thu, 03 Oct 2024 14:05:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727989508; x=1728594308; 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=C0HtA3pbNoZbNjd9QJfjsBq2ixNTEWWW5nHq38RWaQs=; b=Al/APesMvvvML3s4E3+YQubWaw2aEs9lZu85qXgeBsy1GE2socbVSS4Y2Zk8qqfd7C JCQw1T4BTC+E9yIsvBZzxG+uPbFktij0ZRJF8KkYg2CHMaCO9wYK4YAtroRVTCB1ta6E WyGDPZHnMduemzrYarrITQ77Nfhyh7OaBrRzI4xKYXx8TJkuKsEfzaChmCM5e6DYNRUj bKEdjG8Ss4k5b1f13DBaqc53UzPtqO9mIrqxOPGP7sfNuSyM/V780SNfGu9HCZGAR91/ NGxR9OvbA19/SUSHCd1uodA1sqsijWlOWWiUUP1SpI0zAK5yHD3jblCzbmaQ7shqla8I c/5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727989508; x=1728594308; 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=C0HtA3pbNoZbNjd9QJfjsBq2ixNTEWWW5nHq38RWaQs=; b=ROOMrmmfEV0h+XundhwaKNLk/n2tvq7BO1YIZDYfCx/fPg0BffleX+F7p4gsIOgkkJ wQsJTHgvbYLkfTgE9GNtL+F2RGHe00nExP7dgmVeM5bdhqeWcL7PIcsrqY+JMfpuL5G7 SsyiNak0i4rMCXIo51j5wlaEDjjgPavTHPsml0M7eSpCahdmDq3CyfpoE+GTCWAsttw4 SB7XXOcoXZsmCp/4yNVElMifJTDHERc5Ie+GM0ca5j+CsznOVNPmJrmq2xVftGFUueU8 3gHOILcQlVKP2pnIKdPCuusnaJEnuDNCyHzsQi/lXQMfG4DYL+QULohwY+BRKv95o3Xr h3Qg== X-Forwarded-Encrypted: i=1; AJvYcCWVRJmZ3HFneuW17fPc3xF2hq990X45naKGiByNW18imxVcmMADTt1B6Mj6v19rMmC95HND4fEhpd8=@vger.kernel.org, AJvYcCX8W+Lfs5dz0B0YnU9sDDQY74aO58PlpMjMkDqCiLuydLpkEpGX8ZqQTc32ghO0G+vUAgT4akox35BOUr5E@vger.kernel.org X-Gm-Message-State: AOJu0YwmOZS476y9c52feeWNMRZ23E9jj80nBfgoBV0zoelEd5lpVwQr qa6RJOLMXdBy+T32e7yEHSbbkaWpIJPsZ+WRz/BbtgxqsqkKawQPWrDuVE/h X-Google-Smtp-Source: AGHT+IE9tDDQu6boouxZvYrqleFQ8fhVude6hK8RDshw4icnW+K871HTb2xSTPWErl/nZQeYQxaGdg== X-Received: by 2002:adf:f54f:0:b0:37c:cd64:939c with SMTP id ffacd0b85a97d-37d0e8de830mr425955f8f.44.1727989508293; Thu, 03 Oct 2024 14:05:08 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-3ec5-11f2-e453-20e3.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:3ec5:11f2:e453:20e3]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d082d1f90sm1981853f8f.93.2024.10.03.14.05.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 14:05:07 -0700 (PDT) From: Javier Carrasco Date: Thu, 03 Oct 2024 23:04:55 +0200 Subject: [PATCH 09/13] iio: chemical: ens160: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241003-iio-select-v1-9-67c0385197cd@gmail.com> References: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> In-Reply-To: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> To: Jonathan Cameron , Lars-Peter Clausen , Matti Vaittinen , Andy Shevchenko , David Lechner , Nuno Sa , Dan Murphy , Sean Nyekjaer , =?utf-8?q?Le?= =?utf-8?q?onard_G=C3=B6hrs?= , Mihail Chindris , Alexandru Ardelean , Gustavo Silva , Shoji Keita , Andrey Skvortsov , Dalton Durst , Icenowy Zheng , Andreas Klinger Cc: Jonathan Cameron , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Ondrej Jirman , Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1727989489; l=825; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=rkCt0h/rgrKa3TuWQg1MveSKjDSn8yXdazkeq+B2pt8=; b=YFiypOPPXXhsdVsLmy65Irp4zhXByyYLAwZY6ruEqxMrWszg8f8SaxRf4NtEj1tOBedH/zyS7 8HO/URrlJ26CLBH6Fj6a35RRSjClBiPHUU/tkIz6msFWpo40oikp59A X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= This driver makes use of triggered buffers, but does not select the required modules. Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'. Fixes: 0fc26596b4b3 ("iio: chemical: ens160: add triggered buffer support") Signed-off-by: Javier Carrasco Acked-by: Gustavo Silva --- drivers/iio/chemical/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iio/chemical/Kconfig b/drivers/iio/chemical/Kconfig index 678a6adb9a75..6c87223f58d9 100644 --- a/drivers/iio/chemical/Kconfig +++ b/drivers/iio/chemical/Kconfig @@ -80,6 +80,8 @@ config ENS160 tristate "ScioSense ENS160 sensor driver" depends on (I2C || SPI) select REGMAP + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER select ENS160_I2C if I2C select ENS160_SPI if SPI help From patchwork Thu Oct 3 21:04:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13821577 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 4B13D1CF28D; Thu, 3 Oct 2024 21:05:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989513; cv=none; b=WFA4VUWJ+hJtKH45LVC6hnwzsCv+RgMrZDFUH5Q5Y885WbLyCk76BGXMwx3mRlE61qvO0nbKHuRsdBHPY2OUZv+jsHnGtxzQjXX4m+DR38Uv2FamkG+pVBxNS59K9hVE4frOlDrT85Ib3HXbpkmCmOzYdUB8H/+U285SSADoUGE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989513; c=relaxed/simple; bh=CguLi4ExkwpedIuXQ8RM0+cYxgpcQ7l6JydNUQgZE/o=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gvNVmjq6N3bieWduI9RTGxx+9n88GtzE4GZIx4cOgT+3fMoRWz5gwEu/KkgPHdapF3SpTP0Qr8EVm83kf0Gpm2RrmM2jkDcJsv3pqh8KIghfyIjxkBVYeE8QKHXDn/6d//oGvTcSpDv+hV6jqfedebX5M9OuAa6J85KwQB88Tgk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ZEQbfKJP; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZEQbfKJP" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-42cb57f8b41so18281875e9.0; Thu, 03 Oct 2024 14:05:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727989510; x=1728594310; 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=ki1JAeP5apWbM96nvOyT2TX3HZEowCpxj4RRdMMPvu8=; b=ZEQbfKJPpMJWotmJfrRvJllvN1gwH8980/B0sArlvJWzwBPo5rqvBD21GFd0hKc00x 3MOsgiVPPZtZOoUudwvHdrC2EO0Pzr3vZogorXJCq9dLpeldEDFewfbaWGTxe+Rjq1zz Hm96BRXTCpjiGHs7VmZdYy+4jpVSRJvHeZlmHNsgvB/lRaxd2RL847IOP/EiEt1mN8ph 0F/g3JOSvggkYNIjYttFOaBGht4phD1ZRpsTwMvCCkT/lIoqyYkj86tsNaqBKbkwvHNe AS7KpOYXouIE0crs40frSaQ5e79OWeQcheLy2Wu4JR/bn1IFh0Wg9/NwVtIRs05GGR2N NEeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727989510; x=1728594310; 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=ki1JAeP5apWbM96nvOyT2TX3HZEowCpxj4RRdMMPvu8=; b=kMRkfPmV+M7RxVAoRB/4j9guS3+8/noMH2+iCKgM3tRnWnkWEaWr57xay1Ffw57b7p J5qbnAf3fYDjhm1UEVnimXFGpRBULpUf+/WagtWY1SKoSHBqr9cs5B+VmvuMaV/Nk9N2 M+0uyoQReUpjaEmP+7Gpi/juHijWr1TnmRteXei8aO8kDwZtqBvnCUJl9zuQDEqhyRGc xMl3AtDDvSpQ0W3PNPJtIcETvceQI+4zlnPdd3llISX8IUJJMJiYJ/vP0f3GBEGD/SX5 e3+uLHQL8q3jmWz58m46LnGIAOu2LEcZjr9Y9g8WMsNpFeO3v9Pd+WRcwwJXC2k8p92o mtvw== X-Forwarded-Encrypted: i=1; AJvYcCV7p/it/ONZyQD+BP0Oksk6HBrYZ3EbzO4Y0inCvX+tyw80ey0/itAQoD+TI1I3b4Vw4AbxJ675U+WQu1aF@vger.kernel.org, AJvYcCWDD0xQwa9HBCnaj0yZxBZRrHfasmAFtg5mjVgAbkHM3MF8NKlvlX/ui/XuSnMXRQAv4CXL3UNGGNI=@vger.kernel.org X-Gm-Message-State: AOJu0Yz+u7o4kXWa9HbLBJGUxs9AdA+6TmVqpM3X5d+JH+7D6qLuQzxE UJO8jbpWrDqh9lLiDnUvxTTJT13ZCULFULgHiN+DAizuSbdfXpgOQb46Ae3n X-Google-Smtp-Source: AGHT+IG1mNv1SyeuH6bEEQ7tizAamoCjLIOXaRb8ye301a6fKCfNxuqBQrEnJrRRBVW4tngWzhF0ag== X-Received: by 2002:a5d:6448:0:b0:37c:d123:f3bf with SMTP id ffacd0b85a97d-37d0e6ec0ccmr537581f8f.3.1727989510251; Thu, 03 Oct 2024 14:05:10 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-3ec5-11f2-e453-20e3.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:3ec5:11f2:e453:20e3]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d082d1f90sm1981853f8f.93.2024.10.03.14.05.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 14:05:09 -0700 (PDT) From: Javier Carrasco Date: Thu, 03 Oct 2024 23:04:56 +0200 Subject: [PATCH 10/13] iio: light: bu27008: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241003-iio-select-v1-10-67c0385197cd@gmail.com> References: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> In-Reply-To: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> To: Jonathan Cameron , Lars-Peter Clausen , Matti Vaittinen , Andy Shevchenko , David Lechner , Nuno Sa , Dan Murphy , Sean Nyekjaer , =?utf-8?q?Le?= =?utf-8?q?onard_G=C3=B6hrs?= , Mihail Chindris , Alexandru Ardelean , Gustavo Silva , Shoji Keita , Andrey Skvortsov , Dalton Durst , Icenowy Zheng , Andreas Klinger Cc: Jonathan Cameron , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Ondrej Jirman , Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1727989489; l=844; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=CguLi4ExkwpedIuXQ8RM0+cYxgpcQ7l6JydNUQgZE/o=; b=SQJncED0mHeHDXklLzYt9Nmp64d1QSzbDEAe0QnJv14N5DxYOJCjpaGI7/IHEKnOA0tpmPkRJ iFqld8Gs5z8C1iKIlOt9j5rUkwz9YEFwKhmappK2lDIQRG372MEx4UZ X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= This driver makes use of triggered buffers, but does not select the required modules. Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'. Fixes: 41ff93d14f78 ("iio: light: ROHM BU27008 color sensor") Signed-off-by: Javier Carrasco Acked-by: Matti Vaittinen --- drivers/iio/light/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig index 515ff46b5b82..f2f3e414849a 100644 --- a/drivers/iio/light/Kconfig +++ b/drivers/iio/light/Kconfig @@ -335,6 +335,8 @@ config ROHM_BU27008 depends on I2C select REGMAP_I2C select IIO_GTS_HELPER + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER help Enable support for the ROHM BU27008 color sensor. The ROHM BU27008 is a sensor with 5 photodiodes (red, green, From patchwork Thu Oct 3 21:04:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13821578 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.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 EB88F1CFEDA; Thu, 3 Oct 2024 21:05:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989517; cv=none; b=dxYczColY6xoksNXZiCrh29addsqcMnuv4ayW6uYQZ9sGZ8ZHn128CtuzzeTgH+3miHUkjZkim1181BI5/jjFqw+il2Rt6eRDahvBK+b0YOWNcJ5PC7Wdacp8d+Ni4ZOEsmjxnFyHRguVrKRQH05SuMTp28jboyEUtOryd4pxow= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989517; c=relaxed/simple; bh=fK5pU5P/nNKxxjfclKfHupd3FpLZ7c525uH6tbZS7UE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hGMydhsQgJ9uoUZRopCnM4T5v/1WvBBYGN093qD7O0g8Zx4p8hvi7Gf2IT2cCX7MY23JSrfoDKMc5+EK63xcoWky8msALO3ooeYt7QUzkpYZtemilZI6DqjsTwnT0Snl8xYS+3p5jHZA10SI0ht82bXtCV84gwZhrlnLyZPxPKs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=PRfJbXen; arc=none smtp.client-ip=209.85.221.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PRfJbXen" Received: by mail-wr1-f54.google.com with SMTP id ffacd0b85a97d-37ce8458ae3so1271375f8f.1; Thu, 03 Oct 2024 14:05:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727989514; x=1728594314; 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=rpvQb1mq4DGPaez0kb0p5c+CTR3OdsMiTzXt8cqpGLI=; b=PRfJbXen1x/QKJ6IosMaYH5/O1yMJg1D8Gy6vzA+ZWlPVyle0isI2WpMbZjBcAmun8 wMP6MIgVtV5rIJf3pV1hfLKHgv435Cr6YwRCOsy1n6PgEyu7vzt0I4X5AskmzJJvZmhL K7g8A4BC4eYzg58XHKpz/ojCQwyoQBFLyLtBZ7OUgGe5VNNgB6suMYWTi/Bok0NquIhl YjwrekfUmaluCk8xPgSI16UPFvM1D2dgNUlQvfcj9WVkgHxAWtQXjwmjd/vzAUO0GtWi vn/AcCRjBL3cqZh8isPHAQdBEGHTLsjmz1WcmL/sjgvWfP6UNTNey9dQlnSchYhf+0Z4 Njxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727989514; x=1728594314; 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=rpvQb1mq4DGPaez0kb0p5c+CTR3OdsMiTzXt8cqpGLI=; b=T5Z6+lsLZU/kxUfREEWi0nRPgbjLqW49r48UsGJl4aPHv2iW6I8MSMhwvCcUSIUogd nPtB/h33yXN+3+yHfsNSAvB4f8AfCOJJyiBT1YFuNI57D39nzfl97gB2tUaANKkPmFDS rjw4I7ef8uAJCSA7wyLQqHWV3eCpuFxCx1RUEyQbmhakx2kG+i4DG8qVF+vRfNt0s6N5 HJUvN38U1xitvNJ9a80nCGoouhi7SieNc+aSu+BJgplo1fYJZS+YMfOrMTr3AVDUiCWI 44zNO5oBrkTg8t2LDjMB2IdodqYTbF4M5KknWInLd46Vfxf6yyYdMMlq+VVaTtvzg097 +j9Q== X-Forwarded-Encrypted: i=1; AJvYcCVceoBMyTgG2kCPJsvJ4jOZ1MMOZ7RkdtY6/nOxIzrFHnaO/5oNoMy/eu1xicrvB/B3o9tzG1xUdPc=@vger.kernel.org, AJvYcCXoxO0zD9oXmuR2vUETBb8/jS7O+6SLKKpgDMHzZOAdVziXPy6upcMH33NlpEV+4Rd7SynWhhkUkU1Igrkr@vger.kernel.org X-Gm-Message-State: AOJu0YxNliLpunwkxbzJckR50ix+33MsLCABe87Hkw45rm0RSrluShFt YclYul6vldZegxQbvtYULPujaoJJXqeB3ngS8JcqnFZHnYz77wCmCInG+EHh X-Google-Smtp-Source: AGHT+IHjTwSyCIACIazB9FY3st/vrrmcOq9YFfD/Uq4zfVFGQ3bO8fevudvMtW7mimiGpDcZZGLy8w== X-Received: by 2002:a5d:5f46:0:b0:374:c6af:1658 with SMTP id ffacd0b85a97d-37d0e6eb8afmr731554f8f.1.1727989513807; Thu, 03 Oct 2024 14:05:13 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-3ec5-11f2-e453-20e3.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:3ec5:11f2:e453:20e3]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d082d1f90sm1981853f8f.93.2024.10.03.14.05.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 14:05:13 -0700 (PDT) From: Javier Carrasco Date: Thu, 03 Oct 2024 23:04:57 +0200 Subject: [PATCH 11/13] iio: magnetometer: af8133j: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241003-iio-select-v1-11-67c0385197cd@gmail.com> References: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> In-Reply-To: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> To: Jonathan Cameron , Lars-Peter Clausen , Matti Vaittinen , Andy Shevchenko , David Lechner , Nuno Sa , Dan Murphy , Sean Nyekjaer , =?utf-8?q?Le?= =?utf-8?q?onard_G=C3=B6hrs?= , Mihail Chindris , Alexandru Ardelean , Gustavo Silva , Shoji Keita , Andrey Skvortsov , Dalton Durst , Icenowy Zheng , Andreas Klinger Cc: Jonathan Cameron , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Ondrej Jirman , Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1727989489; l=872; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=fK5pU5P/nNKxxjfclKfHupd3FpLZ7c525uH6tbZS7UE=; b=S4rv36vKtTBY74hb8xJ3m5HlOQsKlTJaYKlH+EZHpYGFuCCsB/8UOGqLtAlQBFjWyxNWRTv7l 4T9plBSqZFZDiYcu063VcuQbAGi1rFDEN09s92QUwTupFIDdET4PcGL X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= This driver makes use of triggered buffers, but does not select the required modules. Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'. Fixes: 1d8f4b04621f ("iio: magnetometer: add a driver for Voltafield AF8133J magnetometer") Signed-off-by: Javier Carrasco Reviewed-by: Andrey Skvortsov --- drivers/iio/magnetometer/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iio/magnetometer/Kconfig b/drivers/iio/magnetometer/Kconfig index 8eb718f5e50f..f69ac75500f9 100644 --- a/drivers/iio/magnetometer/Kconfig +++ b/drivers/iio/magnetometer/Kconfig @@ -11,6 +11,8 @@ config AF8133J depends on I2C depends on OF select REGMAP_I2C + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER help Say yes here to build support for Voltafield AF8133J I2C-based 3-axis magnetometer chip. From patchwork Thu Oct 3 21:04:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13821579 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (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 123511D049B; Thu, 3 Oct 2024 21:05:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989520; cv=none; b=IPz7klj1SpA5wOeggwN/tvRla69tK+9EcDlvI1CBdd+TsOTbK/16ESlFZL4/BeAxI2VZSLy7ctNk5VYZFJNuihYcixOGT/SPVgm9qZLbHMFhfUh20lhWztM+q1EsEPKtS9kXkt7lBNqAor/Q0AgzemCCXAKML+orMH5no5lybZ0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989520; c=relaxed/simple; bh=pJm6aEsH1JG//ar75NwFYnL6uPDbkanApZ65S8uRHBU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WAxTKEMfKxpbs9nUCiArpIRpWCRWvuWE8/s3NV3GFXhYrTIK0DMtCHSB0V70uIGGPs1fI9kuhFbcF0j8nXLUU69v2AsvKryg+dWk8Y0yw8fB6De9GIbtLqyT+loz0W/noMlThGQZ+uhtpIN8uY+HOX5PfHisOZxlVlEBaDofsak= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Ef9jHpPM; arc=none smtp.client-ip=209.85.128.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ef9jHpPM" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-42e82f7f36aso12618135e9.0; Thu, 03 Oct 2024 14:05:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727989516; x=1728594316; 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=dLhcLtJi3DUZsxCk9oZJU0/cAu5Ysh3YPXfHHNtEVDU=; b=Ef9jHpPMCDcK44RTcTtWr35P0sr33xPFOahGaYJUjQmcoqv5H5iV6pxbxmvq2jKDGz yaLGaLRSA2fec2g5l6AXuifcXUFv2roUzSCNH2c/W1Xpm7n5mY3DQw9HjldesFJn4kkc OLjN0ttl43Ovs89TyxOq6RDXYhMcOErg9Pc2TSKp0FGOZ7doz/T4V5qmUnGiQGntbHQC TwK7JDhal/N2tO4Lum5687al/1TMEptiYKnSXaHlEMpLuJtp0zyN50Hj70JGP6401jn4 +8NqW+p1fAzWjp5crLZ3s2nZBBs9PQGdBt1RE5epq+Ko63kH7FBvqym+MJdNeb/99o3N D4/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727989516; x=1728594316; 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=dLhcLtJi3DUZsxCk9oZJU0/cAu5Ysh3YPXfHHNtEVDU=; b=MopnemnVtnktJ8Dmr3J+DOVKj7ZX0NKhuwZJAinACbNwXI2qwCC7DOf39LA4CecJqM OZg/4/tcXbN+JlK1jGRO5cZ3v5i2kfWI9tNpYJAp/qjD8gGi283Ssd6rSPkgtY0tVPm+ E6RoldjFKEby7UwiMWH5uyDlnU42DAQoXP9qTrV7EDSBDHJGl9IBhx93WHg0eHsjfXZY IdJAs0TDjmsuSbWWtXwORPf20azYAjiSMwI34GSVqdh1rHf0OYNNgmyAwReNprTTx/0r QUEQB6RH7JBQ1G3e9f7bkyt+ttUEOyDh8RVXHR6HV56PywsHgHtEjmU7y99xVXj27bvO rloA== X-Forwarded-Encrypted: i=1; AJvYcCWB7OhqZdjM2GoEExEDnjXrYmREFJG4MyOdJxZGDODtgIqC3KgLAKGoQLE9tQVDI0MacH2sPVt+h38=@vger.kernel.org, AJvYcCX3xX4iFq07Yrr/wdXCW19y/x9kX4VvLsNBCtA/f7xGvph6AW/LFTUXG7GgcIn2r0zUadO/LZ2bogSqpA+S@vger.kernel.org X-Gm-Message-State: AOJu0YwNEAbQRJNdMS4O6BfC3L1PgmruaaiAXhMBuQAHWkXnwfp4i0CB 2pyVLrYWj3fdWOhAglrUlDjtKcYGZ3dGYeMkd1jN6wPNaB1oux4AuDGHvbpT X-Google-Smtp-Source: AGHT+IHvSFIwB2Nli5S1zg8ivBeopw/bTugSAzNt5rnXpR0UTJ5J58cAQSnUjKZLuTuT7xA9k8NcPA== X-Received: by 2002:a05:600c:3c90:b0:426:51ce:bb14 with SMTP id 5b1f17b1804b1-42f85af46c9mr2043575e9.30.1727989515648; Thu, 03 Oct 2024 14:05:15 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-3ec5-11f2-e453-20e3.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:3ec5:11f2:e453:20e3]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d082d1f90sm1981853f8f.93.2024.10.03.14.05.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 14:05:15 -0700 (PDT) From: Javier Carrasco Date: Thu, 03 Oct 2024 23:04:58 +0200 Subject: [PATCH 12/13] iio: pressure: bu1390: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241003-iio-select-v1-12-67c0385197cd@gmail.com> References: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> In-Reply-To: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> To: Jonathan Cameron , Lars-Peter Clausen , Matti Vaittinen , Andy Shevchenko , David Lechner , Nuno Sa , Dan Murphy , Sean Nyekjaer , =?utf-8?q?Le?= =?utf-8?q?onard_G=C3=B6hrs?= , Mihail Chindris , Alexandru Ardelean , Gustavo Silva , Shoji Keita , Andrey Skvortsov , Dalton Durst , Icenowy Zheng , Andreas Klinger Cc: Jonathan Cameron , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Ondrej Jirman , Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1727989489; l=911; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=pJm6aEsH1JG//ar75NwFYnL6uPDbkanApZ65S8uRHBU=; b=9NRv/wSXyzJMgcJaMxEzGApQ3Hi7pcuTX100ayqzas5EaQPvNhDBiFkqJVHo3i4c+Wefuqvhh WZa8GNwI734Ajapo/4AxE5TobAy/osjqdspoSJpF2SmY8tnB0qUm1cw X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= This driver makes use of triggered buffers, but does not select the required modules. Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'. Fixes: 81ca5979b6ed ("iio: pressure: Support ROHM BU1390") Signed-off-by: Javier Carrasco Acked-by: Matti Vaittinen --- drivers/iio/pressure/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/iio/pressure/Kconfig b/drivers/iio/pressure/Kconfig index df65438c771e..d2cb8c871f6a 100644 --- a/drivers/iio/pressure/Kconfig +++ b/drivers/iio/pressure/Kconfig @@ -19,6 +19,9 @@ config ABP060MG config ROHM_BM1390 tristate "ROHM BM1390GLV-Z pressure sensor driver" depends on I2C + select REGMAP_I2C + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER help Support for the ROHM BM1390 pressure sensor. The BM1390GLV-Z can measure pressures ranging from 300 hPa to 1300 hPa with From patchwork Thu Oct 3 21:04:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Carrasco X-Patchwork-Id: 13821580 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 8875C1D07A3; Thu, 3 Oct 2024 21:05:19 +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=1727989521; cv=none; b=IK8/riRjaYfBEXZd6ya1yasw+ZujcRGzdTxKOs8QuQYBjTYIxIpFqtC24VHjBh4BsF1dCO5bQgAf/pNLGoSC7D5BT7oj/a3/5Ixq4h0kiDyCv4rYozSBhH25e4azP3ClFgC2bi/i5UDxtpuN/fGYSmqodDDYVqflYXsDmBbf1bY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727989521; c=relaxed/simple; bh=o0zYywJ1ZvXSAwvX3QuGxeDPXmIyYTsa9IO5IBkzQ8Y=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=sdyRi7KvubkBfmO/NqeEzEDss2vpXGwIEHl2I3TN25p6PyuS/mciGhY/lsOJTsHlLqRYdDQKX64t5CAIYfINXDF5fAGmJ6zMvpsEE2pCB/bUlqEWapP7/QI9TVVpQJDmDhCbnEg0/K7nf02tAN5DhiP3Ge9iELvaYqw+9HcklKg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=KQeQ8i8m; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="KQeQ8i8m" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-42cb2191107so13009055e9.1; Thu, 03 Oct 2024 14:05:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727989518; x=1728594318; 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=LOEbkDvIm8bwsGjTdm6LxDkf/cnoNWCEFrDY4G0tJHE=; b=KQeQ8i8mzP+lGzW6EIugILYP6pqs5YxIuK9H6mVmPmdqpEUpPpZeSzqpIowRM/7YuW o8Eb7BPP7xGEaSBRMWugJKAjd0TD7w0ozu1GuPOh2o8e8txysVkwCOcb1LNZpKPxahVs vAtoHABRoM4qrWIR6eCswPrlR35f2F3S6tZlpnGsI92oafLUmhuBsS67cckaPwtfAGW2 lNIXaJDP2rocf9Hr8vkGsCgllZaJ3s+nqtW8YyYiNN8KOIFdDFV+s9GimXwVBBE3BEl1 MJNtL1BlZoCzCl8zIw8NmAN0mlLPRI5KFNPO3+Ih0Jr6veA5Tfwu+NqG0e5O+jdjU3zi xQlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727989518; x=1728594318; 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=LOEbkDvIm8bwsGjTdm6LxDkf/cnoNWCEFrDY4G0tJHE=; b=dEzQRZ/wwtWkBri0MW6EEEfaxI1PSTQyePmaT0CHC2mM2iY+J4JUXZAOKblEVE4Ml4 bxKuVagC8dsARZGcd6DsdWmt9u9d7fjVbV1KizGa7acYZ1mGhBNAWmg36HUM4syNsx/9 UkEgzp7jDRM3jSUwUVhL+DlxLsjyWiqOqYqLCa0vDKnQbFIYjXQyhVnK0DqQawKQ6Wrr M34s5omZVjOqbe30ZhX7yNiD1rxJnxIyj/YvGGnFIZZRa34vNmrTroRX791GygDSR/Cy mqGVY6s8uSiyS5NXstws8i5XHtSEO8MzElJh/kL8+IpB12aBTmxsxE7mPqgooj81im/u oHZA== X-Forwarded-Encrypted: i=1; AJvYcCUepuq/qfCJwSPSQ2Sm06XnTgDFKt02gFvLP7f4qKvpajk5mmbF8bz5Wm6JNiGAVg57SERrhvaJx5A=@vger.kernel.org, AJvYcCX9KLj/dgyQG0RUJfZku7olPzeNAMgl9sZenl77Qjby8lgmPpBcJI6ydyFpZeRdPtc99f2LbKqSVMRHwhqd@vger.kernel.org X-Gm-Message-State: AOJu0Yz4GwjqeM0lViwTYYlVe6TlD5CbFyoPIhEYC6Wu66c+5xywZiPd w9BywaII1ip6E0CXghf9Xwuc23H6N2DPMGpswq+wyKvhIRjbVMYtRUaUWXTg X-Google-Smtp-Source: AGHT+IHW/xlRweKbY6aW6925W+CSuT+1lBDMge4LC/iCb93a8SzujJ/7Gdiz4a9kxbyyIsDfxUyxAA== X-Received: by 2002:adf:8b9b:0:b0:37c:d53d:cb63 with SMTP id ffacd0b85a97d-37d0e736cdcmr366780f8f.28.1727989517491; Thu, 03 Oct 2024 14:05:17 -0700 (PDT) Received: from [127.0.1.1] (2a02-8389-41cf-e200-3ec5-11f2-e453-20e3.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:3ec5:11f2:e453:20e3]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37d082d1f90sm1981853f8f.93.2024.10.03.14.05.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 14:05:17 -0700 (PDT) From: Javier Carrasco Date: Thu, 03 Oct 2024 23:04:59 +0200 Subject: [PATCH 13/13] iio: proximity: mb1232: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241003-iio-select-v1-13-67c0385197cd@gmail.com> References: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> In-Reply-To: <20241003-iio-select-v1-0-67c0385197cd@gmail.com> To: Jonathan Cameron , Lars-Peter Clausen , Matti Vaittinen , Andy Shevchenko , David Lechner , Nuno Sa , Dan Murphy , Sean Nyekjaer , =?utf-8?q?Le?= =?utf-8?q?onard_G=C3=B6hrs?= , Mihail Chindris , Alexandru Ardelean , Gustavo Silva , Shoji Keita , Andrey Skvortsov , Dalton Durst , Icenowy Zheng , Andreas Klinger Cc: Jonathan Cameron , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Ondrej Jirman , Javier Carrasco X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1727989489; l=906; i=javier.carrasco.cruz@gmail.com; s=20240312; h=from:subject:message-id; bh=o0zYywJ1ZvXSAwvX3QuGxeDPXmIyYTsa9IO5IBkzQ8Y=; b=84QZTKZhaCkZR6bzR3reUmC+iA4et+b35jkYmiJKZ6J452lzIwDdHO3ETf2NmS0lDOZNcxxql eZ9cYHJ6gheAr2fPCpTKlgjRfMqEaMnn3kbwxcSJt2sgymXHXGe/USx X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=lzSIvIzMz0JhJrzLXI0HAdPwsNPSSmEn6RbS+PTS9aQ= This driver makes use of triggered buffers, but does not select the required modules. Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'. Fixes: 16b05261537e ("mb1232.c: add distance iio sensor with i2c") Signed-off-by: Javier Carrasco --- drivers/iio/proximity/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iio/proximity/Kconfig b/drivers/iio/proximity/Kconfig index 31c679074b25..a562a78b7d0d 100644 --- a/drivers/iio/proximity/Kconfig +++ b/drivers/iio/proximity/Kconfig @@ -86,6 +86,8 @@ config LIDAR_LITE_V2 config MB1232 tristate "MaxSonar I2CXL family ultrasonic sensors" depends on I2C + select IIO_BUFFER + select IIO_TRIGGERED_BUFFER help Say Y to build a driver for the ultrasonic sensors I2CXL of MaxBotix which have an i2c interface. It can be used to measure