From patchwork Tue Apr 30 15:27:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petar Stoykov X-Patchwork-Id: 13649524 Received: from mail-io1-f66.google.com (mail-io1-f66.google.com [209.85.166.66]) (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 49D21175554; Tue, 30 Apr 2024 15:27:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.66 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714490854; cv=none; b=QaAda4VcqZtOVEei2T+7GUouN6XFit2rUGyD86M9JycujOVyiKiCsylXKVXKXMFKmZjcKCiZGrOOZ43EtkgQa3y9DLgEsSfEIeb+I0ZUBpZUuW8NocfTpDcPYMy1yHqyO0xK45UeQ5w+Xc5GTtjFcagqUAqtwJ93OdlSwJkwrP8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714490854; c=relaxed/simple; bh=GLPkDYuhGT29VLhMic9dO8Y0lzclOq4is89TUFXMZDE=; h=MIME-Version:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=uXV8izyUdbbLMiHsUxxDTl1IykG9uAWG1tmvn1I5ZFpCUsabtRiV6ZPV73GiIXow/PRvlumvg/TIgIUOwuDAb1flq7TQzjSRtOxvcdCiPnFFTB1bBcUsRFP2wiO2Pdbw89/rT6odlJeK4iBOvgyUnjWZdtnTjnlZdQwJTTBCgFU= 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=N1jjjsTt; arc=none smtp.client-ip=209.85.166.66 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="N1jjjsTt" Received: by mail-io1-f66.google.com with SMTP id ca18e2360f4ac-7deb424da41so182930239f.1; Tue, 30 Apr 2024 08:27:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714490852; x=1715095652; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=UQYoJna7w7pSNE1L7t4Hc2/L2BmjKZjh0BD0hkD3YNs=; b=N1jjjsTtnjz1+RfnC1IG7PFRLfE4ZtQXgC+q46T2Bm4T6rFyRCss1mm3TAa4KFcG/m UIE41eCZhymxeAX/gBBkV+3609nQEfWcHQYPRzGEDEeCFUO9/iPv44W2GJy0i7t4d8n4 Q4ha2sWmtyejdElw5j5cyuTFWcChUMjEQUzaZdV2A75QoemuDuh619Bd/y1kdPAAz9/Q Y1dcg5a1ReqTpcQaOeCSS+Am5RxsG//3Cvi8CA/srr6YJjpXBGaHjpcCZHxlVfdwA08a qH1Q7ZBt3DX/uKqQPL6p8hAW+gLcvZ3g6ItFuNua0ckNe8uvwyTt+VUONAXhgCCczI9F mTeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714490852; x=1715095652; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=UQYoJna7w7pSNE1L7t4Hc2/L2BmjKZjh0BD0hkD3YNs=; b=Bzzhjo794opoBNQ1snmf0A+x1Ubp7MwTSWES0sK6G3vsU9J31GDsL96gRsuDJTd9Ei tt2weHYV6xkKo7a8wDLYanBbmVrPi2hihE6tZm0MsiA5Qd52fALwVGYD2SCiwMLhmM7o nPXsfH9YTcdFhc+fT1VX93FoFo6w4tNiVMTxagpbvSTQUS4Lv3WC5T2YSKgWP2co+Bka PG64du/Ta8jwCxO5v3Mva4nRcGlbHx8SoXrIFzE1p4Mxz6vfBVAeRacWoCgyydj0SwK5 DiDnIk23CjgQXk/RSRT9S/d6lJshvop0xH2pqpgDn9E8tckRTcrV/M6rMQijYlIZCw+h RNpQ== X-Forwarded-Encrypted: i=1; AJvYcCWJbpi/SqhQ7XuT30cSx8cRtCDABZLKh2qXn8O5KXdbaaOmWov5cdkLIb0WiodhsS6ROAID9wYTf/58ktlmNiolLoyBpTUcrFdjmK9bE1Pm2qS4cSZS+6dxQ6CsEVDQjD4S4ouJG+alvw== X-Gm-Message-State: AOJu0YzAEfg/RIKCURuMxOq0NGdz4OnegsklDOD38qQT+YZsuro1NMtV DQO7UUlk2pjdkuhX7y7Qke/+K/OyHlb8zcsdId9SOD9/LTfSDU7D6+mTGtKQDOBRcbJX5gkYGz6 h2ztOFzk92HUdgczoeqDBioF83gHfhvqLjvo= X-Google-Smtp-Source: AGHT+IHkdmFwhGKAjtWssVjWhEU2hqQ0UEKH09wmow7Zft3EXXWqVvZvO3TlWsY1JlUUrAKbJXbeNCXwMpgrK4ySmKU= X-Received: by 2002:a05:6602:2589:b0:7de:d032:1fee with SMTP id p9-20020a056602258900b007ded0321feemr175169ioo.8.1714490852250; Tue, 30 Apr 2024 08:27:32 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Petar Stoykov Date: Tue, 30 Apr 2024 17:27:20 +0200 Message-ID: Subject: [PATCH v2 1/3] dt-bindings: iio: pressure: Add Sensirion SDP500 To: linux-iio@vger.kernel.org Cc: Jonathan Cameron , Krzysztof Kozlowski , Lars-Peter Clausen , Rob Herring , Andy Shevchenko , Angel Iglesias , Conor Dooley , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org From 60f5cc7f65b07124f19428a713c3bc33b9e4a7a7 Mon Sep 17 00:00:00 2001 From: Petar Stoykov Date: Mon, 15 Jan 2024 14:29:25 +0100 Subject: [PATCH 1/3] dt-bindings: iio: pressure: Add Sensirion SDP500 Sensirion SDP500 is a digital differential pressure sensor. It provides a digital I2C output. Add devicetree bindings requiring the compatible string and I2C slave address (reg). Signed-off-by: Petar Stoykov --- .../iio/pressure/sensirion,sdp500.yaml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/pressure/sensirion,sdp500.yaml diff --git a/Documentation/devicetree/bindings/iio/pressure/sensirion,sdp500.yaml b/Documentation/devicetree/bindings/iio/pressure/sensirion,sdp500.yaml new file mode 100644 index 000000000000..3cdf17df7d52 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/pressure/sensirion,sdp500.yaml @@ -0,0 +1,39 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/pressure/sdp500.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: sdp500/sdp510 pressure sensor with I2C bus interface + +maintainers: + - Petar Stoykov + +description: | + Pressure sensor from Sensirion with I2C bus interface. + There is no software difference between sdp500 and sdp510. + +properties: + compatible: + const: sensirion,sdp500 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + pressure@40 { + compatible = "sensirion,sdp500"; + reg = <0x40>; + vdd-supply = <&foo>; + }; + }; From patchwork Tue Apr 30 15:27:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petar Stoykov X-Patchwork-Id: 13649525 Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) (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 CA1CD179658; Tue, 30 Apr 2024 15:27:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.67 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714490858; cv=none; b=nACdZwvJKG1K9xjCIGnT35dJMWpnuy/YpCOAI+d3zYEi2YcmY8BrMFBHLFCmsychEIzNpvCdWBrxur9BAGdy1m1P5uHqwbTbh+GZSJH+T2Cn3GrKniGLC3XiHfmLxDf6s3E4ro6VRvea4o5zVrCbNkVSUAT5aBHuc+VKdnCoBRk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714490858; c=relaxed/simple; bh=TMnfaLDw8Wdg348ZSYv8S2FHUn452XaRifRi7nKkpq4=; h=MIME-Version:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=Fh/yvhhpNnpTuRnlyZbECf4kL4eRqAirRMUwa/xFCRJ+Q91QduQ0bpY2U6Ip/T6O1EwCexvB4Xvqg2pITWpuyo8JXBYVEXpsYs2+aUlEO2hmWfC1pD7WEdGjKXpaMOn3uWUot0UutAW6RM1QvC+Lf9QwitL2N8S3VO/asKTqvlw= 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=ix0Bnv5D; arc=none smtp.client-ip=209.85.166.67 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="ix0Bnv5D" Received: by mail-io1-f67.google.com with SMTP id ca18e2360f4ac-7decd8cd028so102555539f.0; Tue, 30 Apr 2024 08:27:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714490856; x=1715095656; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=brijGud1qRc3bUwMaKoQ6h0gClq5IQ0B11HmLfSyAqg=; b=ix0Bnv5D9q9s2kr1u4mIPX9MNZ2VQqiMtgkHaVb4dpEQ4/3O12WY9XZ4ridGzA3Ysh gxykpmsS3ao/spUGfOfF1qEd7BaHNwRplCzDhn0nPDiM4XDfv6lBxpbCsn5jGCb8lYuQ 4p/hBaJaK73WBTJ5XU0ixNxDigBx9qtghzER3qTchPn/Th8wSkZBV2/VAwI3DKnRQ1km OYr5Vm0mqYCmRtLIxdF/x0ZLnKbQJGYdZh2PuOHEaWhevAzD8h6NWgGhOV8WMNvhEb1d V+Pq16pyutnKKfpFv6t+wbuePFjwB0c9Q0VGNhHbyy6LB469XH3/ZS1aZTpCuEi8jK+q z7IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714490856; x=1715095656; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=brijGud1qRc3bUwMaKoQ6h0gClq5IQ0B11HmLfSyAqg=; b=MrJzwJqntJB06NfMMBVJFUYPVQwrRka06OOygAwOnaYdGoJYS86IAUtm3NZCVmMVtD cM5YSnm6UG0daITTHuMa/HXY/0oE3GbipUVuJz1D1YUvCZfOG4IPU79vbwgPXKb615lx F/Brp61vCIThiPZSjcWS+fLK1+RZDadKvGcFCIRlF9S2VY8mnHvA00qVHp9mRud+nLlG LdOiveDwKHSlYSWwth8BX8wvZOrNLfo4u15AmUlmGgjf5xWjZV66Ntfcs8t1JPwUrdxU AqjHhkZx8jggj7BFxaOifj9/nOuMu7XdVJ85LVEym6uTF1hgxZn5PPeY2V2nwEIif3EV 5+ag== X-Forwarded-Encrypted: i=1; AJvYcCUxrADzv2hd9tYUPF5rok+OkBnQ6pgXjkETptC2OpPFC65R+E8DmzJ1iDGqHQhFweU3Ta/xHckGIrPiLnCQn7DgaQq+j4ZBaCHnMp4o+FBzR3niC7bIxQPBbdbK6vzjOV9GVkSdsvfh0Q== X-Gm-Message-State: AOJu0YwpFqAHYBo+rf4o23hLFavFCPMgtOhPNQf/sKkmeKNBBU2/SHH9 dsmrmKjL+FH3gPkSVT6kftRDQlI9iQm92Ip/n3eLDkJh7xCoQCKCQu3EruXLCwmVECJfUelTnZA e+gxRzrG7/H7gb4qIR49PX+u2ezWx01Llsx8= X-Google-Smtp-Source: AGHT+IFfaIxhkpOxsCw7FpHXw46pRhJ2LVFn8Oc9SGAPdS6fH3Ze4GA/Z38ZEQQ/P5c/Ln4ZzD46j+EO0yhoyXWF64Q= X-Received: by 2002:a05:6602:2147:b0:7de:c8c4:74d4 with SMTP id y7-20020a056602214700b007dec8c474d4mr184740ioy.11.1714490855767; Tue, 30 Apr 2024 08:27:35 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Petar Stoykov Date: Tue, 30 Apr 2024 17:27:24 +0200 Message-ID: Subject: [PATCH v2 2/3] iio: pressure: Add driver for Sensirion SDP500 To: linux-iio@vger.kernel.org Cc: Jonathan Cameron , Krzysztof Kozlowski , Lars-Peter Clausen , Rob Herring , Andy Shevchenko , Angel Iglesias , Conor Dooley , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org From 6ae7537517f551540121ca6fb3b99080b7580410 Mon Sep 17 00:00:00 2001 From: Petar Stoykov Date: Mon, 15 Jan 2024 12:21:26 +0100 Subject: [PATCH 2/3] iio: pressure: Add driver for Sensirion SDP500 Sensirion SDP500 is a digital differential pressure sensor. The sensor is accessed over I2C. Signed-off-by: Petar Stoykov --- drivers/iio/pressure/Kconfig | 9 +++ drivers/iio/pressure/Makefile | 1 + drivers/iio/pressure/sdp500.c | 144 ++++++++++++++++++++++++++++++++++ 3 files changed, 154 insertions(+) create mode 100644 drivers/iio/pressure/sdp500.c +MODULE_AUTHOR("Thomas Sioutas "); +MODULE_DESCRIPTION("Driver for Sensirion SDP500 differential pressure sensor"); +MODULE_LICENSE("GPL"); diff --git a/drivers/iio/pressure/Kconfig b/drivers/iio/pressure/Kconfig index 95efa32e4289..5debdfbd5324 100644 --- a/drivers/iio/pressure/Kconfig +++ b/drivers/iio/pressure/Kconfig @@ -212,6 +212,15 @@ config MS5637 This driver can also be built as a module. If so, the module will be called ms5637. +config SDP500 + tristate "Sensirion SDP500 differential pressure sensor I2C driver" + depends on I2C + help + Say Y here to build support for Sensirion SDP500 differential pressure + sensor I2C driver. + To compile this driver as a module, choose M here: the core module + will be called sdp500. + config IIO_ST_PRESS tristate "STMicroelectronics pressure sensor Driver" depends on (I2C || SPI_MASTER) && SYSFS diff --git a/drivers/iio/pressure/Makefile b/drivers/iio/pressure/Makefile index 436aec7e65f3..489ef7b7befa 100644 --- a/drivers/iio/pressure/Makefile +++ b/drivers/iio/pressure/Makefile @@ -25,6 +25,7 @@ obj-$(CONFIG_MS5611) += ms5611_core.o obj-$(CONFIG_MS5611_I2C) += ms5611_i2c.o obj-$(CONFIG_MS5611_SPI) += ms5611_spi.o obj-$(CONFIG_MS5637) += ms5637.o +obj-$(CONFIG_SDP500) += sdp500.o obj-$(CONFIG_IIO_ST_PRESS) += st_pressure.o st_pressure-y := st_pressure_core.o st_pressure-$(CONFIG_IIO_BUFFER) += st_pressure_buffer.o diff --git a/drivers/iio/pressure/sdp500.c b/drivers/iio/pressure/sdp500.c new file mode 100644 index 000000000000..7efcc69e829c --- /dev/null +++ b/drivers/iio/pressure/sdp500.c @@ -0,0 +1,144 @@ +// SPDX-License-Identifier: GPL-2.0-only +#include +#include +#include +#include + +#define SDP500_CRC8_POLYNOMIAL 0x31 // x8 + x5 + x4 + 1 (normalized to 0x31) +#define SDP500_READ_SIZE 3 +#define SDP500_CRC8_WORD_LENGTH 2 +#define SDP500_CRC8_INIT 0x00 + +#define SDP500_SCALE_FACTOR 60 + +#define SDP500_I2C_START_MEAS 0xF1 + +struct sdp500_data { + struct device *dev; +}; + +DECLARE_CRC8_TABLE(sdp500_crc8_table); + +static int sdp500_start_measurement(struct sdp500_data *data, const struct iio_dev *indio_dev) +{ + struct i2c_client *client = to_i2c_client(data->dev); + + return i2c_smbus_write_byte(client, SDP500_I2C_START_MEAS); +} + +static const struct iio_chan_spec sdp500_channels[] = { + { + .type = IIO_PRESSURE, + .info_mask_separate = BIT(IIO_CHAN_INFO_PROCESSED), + }, +}; + +static int sdp500_read_raw(struct iio_dev *indio_dev, + struct iio_chan_spec const *chan, + int *val, int *val2, long mask) +{ + int ret; + u8 rxbuf[SDP500_READ_SIZE]; + u8 rec_crc, calculated_crc; + s16 dec_value; + struct sdp500_data *data = iio_priv(indio_dev); + struct i2c_client *client = to_i2c_client(data->dev); + + switch (mask) { + case IIO_CHAN_INFO_PROCESSED: + ret = i2c_master_recv(client, rxbuf, SDP500_READ_SIZE); + if (ret < 0) { + dev_err(indio_dev->dev.parent, "Failed to receive data"); + return ret; + } + if (ret != SDP500_READ_SIZE) { + dev_err(indio_dev->dev.parent, "Data is received wrongly"); + return -EIO; + } + + rec_crc = rxbuf[2]; + calculated_crc = crc8(sdp500_crc8_table, rxbuf, SDP500_CRC8_WORD_LENGTH, + SDP500_CRC8_INIT); + if (rec_crc != calculated_crc) { + dev_err(indio_dev->dev.parent, "calculated crc = 0x%.2X, received 0x%.2X", + calculated_crc, rec_crc); + return -EIO; + } + + dec_value = get_unaligned_be16(rxbuf); + dev_dbg(indio_dev->dev.parent, "dec value = %d", dec_value); + + *val = dec_value; + *val2 = SDP500_SCALE_FACTOR; + return IIO_VAL_FRACTIONAL; + default: + return -EINVAL; + } +} + +static const struct iio_info sdp500_info = { + .read_raw = &sdp500_read_raw, +}; + +static int sdp500_probe(struct i2c_client *client) +{ + struct iio_dev *indio_dev; + struct sdp500_data *data; + struct device *dev = &client->dev; + int ret; + u8 rxbuf[SDP500_READ_SIZE]; + + indio_dev = devm_iio_device_alloc(dev, sizeof(*data)); + if (!indio_dev) + return -ENOMEM; + + /* has to be done before the first i2c communication */ + crc8_populate_msb(sdp500_crc8_table, SDP500_CRC8_POLYNOMIAL); + + data = iio_priv(indio_dev); + data->dev = dev; + + indio_dev->name = "sdp500"; + indio_dev->channels = sdp500_channels; + indio_dev->info = &sdp500_info; + indio_dev->modes = INDIO_DIRECT_MODE; + indio_dev->num_channels = ARRAY_SIZE(sdp500_channels); + + ret = sdp500_start_measurement(data, indio_dev); + if (ret) + return dev_err_probe(dev, ret, "Failed to start measurement"); + /* First measurement is not correct, read it out to get rid of it */ + i2c_master_recv(client, rxbuf, SDP500_READ_SIZE); + + ret = devm_iio_device_register(dev, indio_dev); + if (ret < 0) + return dev_err_probe(dev, ret, "Failed to register indio_dev"); + + return 0; +} + +static const struct i2c_device_id sdp500_id[] = { + { "sdp500" }, + { } +}; +MODULE_DEVICE_TABLE(i2c, sdp500_id); + +static const struct of_device_id sdp500_of_match[] = { + { .compatible = "sensirion,sdp500" }, + { } +}; +MODULE_DEVICE_TABLE(of, sdp500_of_match); + +static struct i2c_driver sdp500_driver = { + .driver = { + .name = "sensirion,sdp500", + .of_match_table = sdp500_of_match, + }, + .probe = sdp500_probe, + .id_table = sdp500_id, +}; +module_i2c_driver(sdp500_driver); + From patchwork Tue Apr 30 15:27:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petar Stoykov X-Patchwork-Id: 13649526 Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) (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 1839117B4F1; Tue, 30 Apr 2024 15:27:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.67 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714490862; cv=none; b=lfdJDxY7Vkq6oOBobSFk7q4kvD5EK0IHdFzIPLCkgRZjuP9iyoH0Ozpb1XXBVEVUh//E3m7dPnB0Q3pLfOk8xFRAigAQ2vb4mFsEjn/aq02CinJGcAlZQEBS9LQ5YOqq2y0O1nUF5MLafjNzM8FbePPQWvas4JnIg8fGoEnEgh4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714490862; c=relaxed/simple; bh=jWF+R6k2K8uFH2ZwLb7M5SwfeSLuAYQBwMI3KrqqS9o=; h=MIME-Version:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=QebiqatfXUIiuFAYm8anjWTEXJpSJKNrT3V93TK+T2gnaXEEZBkT9zENj+DN806Tx5BWo7acTnTJVefCKgB8TjDONK2uT/+FeeyOeZsbv9AXIH3HpDMfDRdTWEprBlXSiXU0giktt1arDFk6ZX7071yFxZmch4cGkds5yYvvxk8= 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=K/Oq/jVM; arc=none smtp.client-ip=209.85.166.67 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="K/Oq/jVM" Received: by mail-io1-f67.google.com with SMTP id ca18e2360f4ac-7da04b08b82so161583239f.0; Tue, 30 Apr 2024 08:27:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714490860; x=1715095660; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=S6EiQe0sO4zpsi2K9SK5LkhEBFfWw4caydHufI3cd9g=; b=K/Oq/jVMUmhDzXuWEYpTr+AqNe0D4lhc6yJwQESDsSLH70cOD+D580khWgnG/MA8eu TboDGuAZFay+ZVQQbLzi2sWcEt5zMBUvCpaEXJ+uly/kIEV7Pt1dQh2hL+upwfVS70jN 6cHwHM3gMRbYRFHhVYBvWNMxu623BCHhjmsQELXspXP6ALSokPFxbK4onpNhcANJArc1 61rf/j4eHVWCm2y6PY2zdMWvnUAz/oiKJ0vdnA2ui7Y2jypZFSsEN6R6i31CpcvCpwni eVv6mHSCMTU3oOAAt98HC1hKtaZGdlbkfk5IXB7mLsKyPN41ePF1Ijn4Zar9kpxYEua5 eoOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714490860; x=1715095660; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=S6EiQe0sO4zpsi2K9SK5LkhEBFfWw4caydHufI3cd9g=; b=qPd8hJGdtnWboYkP4sqMH3vyv1JjSm7xT7NRHfGGMwsHAANGHu8KO0Sq344K3NQxsj 62bKBkwB5EieKo/zP5c9mLB6iuXs5WseqNBxzJuHW4prF7FTs+n60BazaTd0R1lxsPG5 zFyvb3WnY1xOnwWUglzsKnimrgUv5FB9P7SagwP/QsiINdAgfI9wIlJ8WauVwsFruyAU MHTb5YuK1BLwKzEUKf9OCpeir74bjaaam7ksCcdbed/UplmsaAbg0b3+iY27ZHUibB3a E2pugyaRxE+sQbWt+Drkk0fXcwX2LKFDYYRWUpQE01aehCUB6SpzAFa9R20V+h2DO8TX xwpw== X-Forwarded-Encrypted: i=1; AJvYcCUnAOLLzfoWRxBvlVWcZIvqKco2EVtAzKut3n2usxPuTYgSJ3+1R6l6nr0Xepr3Du19i2qDemVCsEzC/7mpYFf0RBDtWxUBnsqLHvF7iewmCPx5pFOYQIPSq0b6088rrgOmvd0P6qs45g== X-Gm-Message-State: AOJu0Yx1OrQMsmOMvAvghyPiVlXirEbdgWy0FKCiTTg83yF/xfST86JQ d52KADQ0yqVtTf3wJhTjivUkxYxDrIE4tXLkbwfyUCXEplS7C3jaZsR45K5ybC0KfvMeWNfbusW R0fnHVRXqM8ZkiKJaGuJ2pvBKE+e7fmzPRz4= X-Google-Smtp-Source: AGHT+IE0//FQwR5UIdVVFw2WGgKiJkdMJcXHNiF4QNIpntmkbmTTI+WUxzf9IYa+Nz70K6B3N/w9svoZP0aAL9JqlIM= X-Received: by 2002:a5e:924b:0:b0:7d5:dd91:4b47 with SMTP id z11-20020a5e924b000000b007d5dd914b47mr171678iop.7.1714490860191; Tue, 30 Apr 2024 08:27:40 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Petar Stoykov Date: Tue, 30 Apr 2024 17:27:27 +0200 Message-ID: Subject: [PATCH v2 3/3] MAINTAINERS: Add Sensirion SDP500 To: linux-iio@vger.kernel.org Cc: Jonathan Cameron , Krzysztof Kozlowski , Lars-Peter Clausen , Rob Herring , Andy Shevchenko , Angel Iglesias , Conor Dooley , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org From c4437fd0ea296c4c964b1fb924144ae24a2ce443 Mon Sep 17 00:00:00 2001 From: Petar Stoykov Date: Mon, 15 Jan 2024 14:57:57 +0100 Subject: [PATCH 3/3] MAINTAINERS: Add Sensirion SDP500 Add myself as a maintainer for Sensirion SDP500 pressure sensor driver Signed-off-by: Petar Stoykov --- MAINTAINERS | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 40c754b4c39c..11e8f353dc9e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -19533,6 +19533,12 @@ S: Maintained F: Documentation/devicetree/bindings/iio/chemical/sensirion,scd4x.yaml F: drivers/iio/chemical/scd4x.c +SENSIRION SDP500 DIFFERENTIAL PRESSURE SENSOR DRIVER +M: Petar Stoykov +S: Maintained +F: Documentation/devicetree/bindings/iio/pressure/sdp500.yaml +F: drivers/iio/pressure/sdp500.c + SENSIRION SGP40 GAS SENSOR DRIVER M: Andreas Klinger S: Maintained