From patchwork Thu Jul 25 15:37:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petar Stoykov via B4 Relay X-Patchwork-Id: 13742040 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1E0B019D890; Thu, 25 Jul 2024 15:39:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721921967; cv=none; b=SfdVuXPOxGE1l31fkflXXhiUL8MrUV0q1PxtYM0VuQwLQIUWHrb4ZEthNM4/PQ0WqdoxIX7QQIp8hxROeoacUWffqmU8T5sHW6YDYRHwL9o+8Mmhzb268g5k0CmaJbgegFZjUf+TDpZ6Qoqw82Gwh/FV6+ZWa3F5wpjAlc4/va4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721921967; c=relaxed/simple; bh=/wBRLebwG31hM1unaHmj6E0Gz+snstWvcgj51ocAYQ0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KeneB+AT3/SwM/hHftmc3vklOj+Dh1FwShGE4jfpljyjtMGipacs8UUop5AIVELDYPvaUiDJXi+m3QlE6a9vdGqH7HyL13cbIXTILaBeanXkklT/zahbPHiMSsaP/pjCoSjl4e3kwc/TEUWwiW+rNKaC1YetbEsLsGA+CY9TwQg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=rI1EcAkW; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rI1EcAkW" Received: by smtp.kernel.org (Postfix) with ESMTPS id E9743C4AF07; Thu, 25 Jul 2024 15:39:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721921967; bh=/wBRLebwG31hM1unaHmj6E0Gz+snstWvcgj51ocAYQ0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=rI1EcAkW8BZQLVLZ5HmeYdGozf4DmtfoiOSKKVuOKy91OQ7+/2TvnS3R8OgRQ1MGT DxEZl3zeVL9ix76LAMzbzeMPkTXdbKPO/678s3K05cQJvTtIuL729OsO4V9wpXKJ3u q3wtdUgSqylLcCcCx1bRf1/m+TWzrsCD9m10+FfWiOoAt+ok6VpSJ6pXP6EfPuTx7e bWlSQNym1eK8f42D7Jq2CONKYQqo9rqU3tmhLRDgLpmAoGfALx9zcItvEQRNzd7lbE 1WObtXtHXIO36RBNC1AL2t2uYFR1rO3ayuABu18nkfGdGtAa47IUxwjTFLyAThWFJ/ 1Ux03I9py/v2w== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D0E80C3DA5D; Thu, 25 Jul 2024 15:39:26 +0000 (UTC) From: Petar Stoykov via B4 Relay Date: Thu, 25 Jul 2024 17:37:27 +0200 Subject: [PATCH v4 1/3] dt-bindings: iio: pressure: Add Sensirion SDP500 Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240725-mainline_sdp500-v4-1-ea2f5b189958@gmail.com> References: <20240725-mainline_sdp500-v4-0-ea2f5b189958@gmail.com> In-Reply-To: <20240725-mainline_sdp500-v4-0-ea2f5b189958@gmail.com> To: linux-iio@vger.kernel.org, Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Shevchenko Cc: Petar Stoykov , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1721921965; l=1741; i=pd.pstoykov@gmail.com; s=20240702; h=from:subject:message-id; bh=cENh+/xF32OA/T3EWLu9J0STlExFqa0Gg1TOizqGn2k=; b=iI57uw6+stMrgYDIPBqiB1P+4gMO6pVCpRLFNu1ExAf2Bkqauqioz+oInk5S+HHU1OBm/rBvx zCNSdyhzfhLBrTqnqnfTr2VV1m1dAtsggXiOLy1xgHVdAEAMbIAS+th X-Developer-Key: i=pd.pstoykov@gmail.com; a=ed25519; pk=oxcGqcVV5O6wqlTh+39SbOwfbpD763i5x4TavUAHiCg= X-Endpoint-Received: by B4 Relay for pd.pstoykov@gmail.com/20240702 with auth_id=179 X-Original-From: Petar Stoykov Reply-To: pd.pstoykov@gmail.com From: Petar Stoykov 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 Reviewed-by: Krzysztof Kozlowski --- .../bindings/iio/pressure/sensirion,sdp500.yaml | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) 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..813239f6879a --- /dev/null +++ b/Documentation/devicetree/bindings/iio/pressure/sensirion,sdp500.yaml @@ -0,0 +1,46 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/pressure/sensirion,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: + oneOf: + - items: + - const: sensirion,sdp510 + - const: sensirion,sdp500 + - const: sensirion,sdp500 + + reg: + maxItems: 1 + + vdd-supply: true + +required: + - compatible + - reg + - vdd-supply + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + pressure@40 { + compatible = "sensirion,sdp500"; + reg = <0x40>; + vdd-supply = <&foo>; + }; + }; From patchwork Thu Jul 25 15:37:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petar Stoykov via B4 Relay X-Patchwork-Id: 13742042 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 78E8019D8BA; Thu, 25 Jul 2024 15:39:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721921967; cv=none; b=pW490zaXi+zO/1yXClZhVdkJY1kDP6lTtEHhAw2/jdcv9SJuZMulgWlsMTM5vEwp2Xd6sr/0iYQQC7dApWz8iY6PH3LOFCkiSfG3ZdxT6qR/9W57eBcnqijbeQatkDb4n5cRY+ML40LJu/joR26cC5YL1Y4VFj9BPj18qALeLB0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721921967; c=relaxed/simple; bh=rJC8TnzVzczQ8OjMGgUHyz88SCI7N13JVouBp5NnY0k=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=fJZVY2WHDw5oG9hEbsC94WxvzdH6xGtmqCWgCVMoiCUYAY97Yo93VfQnxBYteDuk1AlKOEzObFKtHa5m45TpC7s4EXaQrxgY1GtvUyzcxeRS51v6RysRYVGs1wyLRH42HzJx9ke+W5AIGlXNEnmdnW4mycZqIg5uekNVXrt+lzY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gsCqfwpP; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gsCqfwpP" Received: by smtp.kernel.org (Postfix) with ESMTPS id 07ADFC4AF0F; Thu, 25 Jul 2024 15:39:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721921967; bh=rJC8TnzVzczQ8OjMGgUHyz88SCI7N13JVouBp5NnY0k=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=gsCqfwpPeG/6MOK0O9K7tRki4+LTHnrjjOCJlszuXmKb60r93YCK3LjwmNecZfW9I WLrpFk/LVP6TQr3tYM065OCWogvlDbqb6vLovWFFQJscsUjWvVLcP16bEurma4CE+6 ld7EdWsj4Fv33hZCwfS3cWirQPC2L81bXuVapOfk9Ygt3QhyKi0BpXUsHfwDDn9KZ+ fqIa8gRFzFpBphsvSlkdbtpHxz3Mymm88bD5a8/51Zy19cJW45m2YsUlxJPCrN9wL5 bFvjqzbCnbiVUNfB/bVzoXg419qBpYYYd1MIQ62Ysra4DI66771/eEiKXM9QwsfNwc PTDDF8GX6jXrg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id EA2EEC3DA49; Thu, 25 Jul 2024 15:39:26 +0000 (UTC) From: Petar Stoykov via B4 Relay Date: Thu, 25 Jul 2024 17:37:28 +0200 Subject: [PATCH v4 2/3] iio: pressure: Add driver for Sensirion SDP500 Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240725-mainline_sdp500-v4-2-ea2f5b189958@gmail.com> References: <20240725-mainline_sdp500-v4-0-ea2f5b189958@gmail.com> In-Reply-To: <20240725-mainline_sdp500-v4-0-ea2f5b189958@gmail.com> To: linux-iio@vger.kernel.org, Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Shevchenko Cc: Petar Stoykov , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1721921965; l=6101; i=pd.pstoykov@gmail.com; s=20240702; h=from:subject:message-id; bh=gsTGfB1B8JVxf9xS9ZBNvloEoNT22K5Qk0yTwqauMHs=; b=x9FuG6EE/hk2Q9rCIZ2UxyaBvbsttbPVQa8Po/wgUSdNs5CjVMCEcDHczaaH777vMtBtvrUGP kM1KHOAzg6sBf/yvKZLliCcXvsAuzVe1QDnAS67Z8/K53r2/m8E5URu X-Developer-Key: i=pd.pstoykov@gmail.com; a=ed25519; pk=oxcGqcVV5O6wqlTh+39SbOwfbpD763i5x4TavUAHiCg= X-Endpoint-Received: by B4 Relay for pd.pstoykov@gmail.com/20240702 with auth_id=179 X-Original-From: Petar Stoykov Reply-To: pd.pstoykov@gmail.com From: Petar Stoykov 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 | 157 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 167 insertions(+) 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..77d7e68f5dea --- /dev/null +++ b/drivers/iio/pressure/sdp500.c @@ -0,0 +1,157 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Driver for Sensirion sdp500 and sdp510 pressure sensors + * + * Datasheet: https://sensirion.com/resource/datasheet/sdp600 + */ + +#include +#include +#include +#include +#include +#include + +#define SDP500_CRC8_POLYNOMIAL 0x31 /* x8+x5+x4+1 (normalized to 0x31) */ +#define SDP500_READ_SIZE 3 + +#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) +{ + 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_RAW) | + BIT(IIO_CHAN_INFO_SCALE), + }, +}; + +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 received_crc, calculated_crc; + struct sdp500_data *data = iio_priv(indio_dev); + struct i2c_client *client = to_i2c_client(data->dev); + + switch (mask) { + case IIO_CHAN_INFO_RAW: + ret = i2c_master_recv(client, rxbuf, SDP500_READ_SIZE); + if (ret < 0) { + dev_err(data->dev, "Failed to receive data"); + return ret; + } + if (ret != SDP500_READ_SIZE) { + dev_err(data->dev, "Data is received wrongly"); + return -EIO; + } + + received_crc = rxbuf[2]; + calculated_crc = crc8(sdp500_crc8_table, rxbuf, + sizeof(rxbuf) - 1, 0x00); + if (received_crc != calculated_crc) { + dev_err(data->dev, + "calculated crc = 0x%.2X, received 0x%.2X", + calculated_crc, received_crc); + return -EIO; + } + + *val = get_unaligned_be16(rxbuf); + return IIO_VAL_INT; + case IIO_CHAN_INFO_SCALE: + *val = 1; + *val2 = 60; + + 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]; + + ret = devm_regulator_get_enable(dev, "vdd"); + if (ret) + return dev_err_probe(dev, ret, + "Failed to get and enable regulator\n"); + + 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); + 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" }, + { .compatible = "sensirion,sdp510" }, + { } +}; +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); + +MODULE_AUTHOR("Thomas Sioutas "); +MODULE_DESCRIPTION("Driver for Sensirion SDP500 differential pressure sensor"); +MODULE_LICENSE("GPL"); From patchwork Thu Jul 25 15:37:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petar Stoykov via B4 Relay X-Patchwork-Id: 13742043 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 78E0319D8B6; Thu, 25 Jul 2024 15:39:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721921967; cv=none; b=WT2DypSTA7d6OWaZ96xnhaNOVvmH4RWB107iaYYxA7BZ9LNc1aEOp4LTBg/ZmOB8GXPO+EeeZGlkuvD09cq2uHM60Mwpihmeu1MG/rmFmmZruDX0xNt1rnf4oekhflvVcSEQD1jrvOHNj410tpy+CKXwIYQhP+X7KRoNC4C89xU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721921967; c=relaxed/simple; bh=ePv4OXqlEMgDTFPhZe1AViEKXOvO26Hib4+/bwTwazQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jwpafrcvSf9AREenbSqUXqIFRzNDfQFMd8iB1LnA2s/lmksbAE/57jvpPRRjeL0wUs7Sb5Tb/Yu3GklbJp5FDRLHOV2YAJCMaJ4MaOhzOHTsVM9Cm0n0QpzXUOZFwmavODrEmLx0R1hpct3ezGAcouGdjV1eThs0uV/iVlD0ZX0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VRyF0mi1; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VRyF0mi1" Received: by smtp.kernel.org (Postfix) with ESMTPS id 21827C4AF13; Thu, 25 Jul 2024 15:39:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721921967; bh=ePv4OXqlEMgDTFPhZe1AViEKXOvO26Hib4+/bwTwazQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=VRyF0mi1GgtlIqD3xepwJPvntR2IvnINa5pHGYnjATCuMKZSOK9pHcGRTJPnDbAN+ 1ApiIbQNu9xWrjYrJsNVMNtEkY9vp25D4ZNuxW89PS4pg+uXHw1NGXq6sUBJdsVZ+S pXLn4hdntoCfxU9nJrjmGhykPgIpdOTmVQKv/1YOHZlM+6sWGNjIxtmCSr6QjEQgiM Saxdq8WKonNS/XstUb7KlPXmavuGyrT7z+5GrRGidRo0birZdVONrGvqxJ7qk5j9oV gUSefKNk7xut2eCc97zTdGqIkZc0KAmM1gDa79pcvD7bB/ghGMBS7YVGAAUtee+3Mz 7kRHXqHcqhoXQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15BF6C3DA64; Thu, 25 Jul 2024 15:39:27 +0000 (UTC) From: Petar Stoykov via B4 Relay Date: Thu, 25 Jul 2024 17:37:29 +0200 Subject: [PATCH v4 3/3] MAINTAINERS: Add Sensirion SDP500 Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240725-mainline_sdp500-v4-3-ea2f5b189958@gmail.com> References: <20240725-mainline_sdp500-v4-0-ea2f5b189958@gmail.com> In-Reply-To: <20240725-mainline_sdp500-v4-0-ea2f5b189958@gmail.com> To: linux-iio@vger.kernel.org, Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Shevchenko Cc: Petar Stoykov , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1721921965; l=814; i=pd.pstoykov@gmail.com; s=20240702; h=from:subject:message-id; bh=FLAhfhEw/kb4vXK4acn1ghnoUaHh0QtVdAQd8Si6n7c=; b=7xkmAXxsLkwjB25+M1dMumspAWOT0w4Bp+r4IJoF6imXvAJz+2ITqfoT4n42VhNPx2dQUiQwi iwOwy3PALbWC5KwMQKLo70ieNwZQJU1dOiJgLNFQZ4qijpAd4+CJGBm X-Developer-Key: i=pd.pstoykov@gmail.com; a=ed25519; pk=oxcGqcVV5O6wqlTh+39SbOwfbpD763i5x4TavUAHiCg= X-Endpoint-Received: by B4 Relay for pd.pstoykov@gmail.com/20240702 with auth_id=179 X-Original-From: Petar Stoykov Reply-To: pd.pstoykov@gmail.com From: Petar Stoykov 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..fae39d65d676 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/sensirion,sdp500.yaml +F: drivers/iio/pressure/sdp500.c + SENSIRION SGP40 GAS SENSOR DRIVER M: Andreas Klinger S: Maintained