From patchwork Mon Aug 8 14:48:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Crt Mori X-Patchwork-Id: 12938852 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6538BC00140 for ; Mon, 8 Aug 2022 14:48:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243619AbiHHOsu (ORCPT ); Mon, 8 Aug 2022 10:48:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243077AbiHHOse (ORCPT ); Mon, 8 Aug 2022 10:48:34 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B130AB7F4 for ; Mon, 8 Aug 2022 07:48:29 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id o22so11604049edc.10 for ; Mon, 08 Aug 2022 07:48:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=melexis.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YC8oAmOD0EWSr0qf5Ff8MSZfqRgbTMyuirH/vAO1tUw=; b=CKCZ8aIPbRMTFTWhAKKcpP1Hc1aiODp11elYBagY0w/FAyvoJuqeW7NwiaKjbO4l79 K9bzWFLa7dQ+8JDwtQy8qxsnuCXKI9aLllJOhnIFMzkUIW2DH+irrgXxr5qUx3mmDYpJ UDvmSW+CZEEMTvDnKN0fmBet7gQsQqQAzv2rn/soDUfw+WFp4imWiY15A6DG8GxI5EYG 1rMqjnEyXdbbYO76MePYsL8Opd/GHQhTw1L8sv6F0mogZ0Om2g2CltWlZ+7NTvybJpOc 2W9PsyUvZCgWD6QEx6losLrgD1NjoomngDpv7vgQVVPK3bjvuBTyZnUZ0n7/CEJFVR+H v46A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YC8oAmOD0EWSr0qf5Ff8MSZfqRgbTMyuirH/vAO1tUw=; b=KBwfhhYT2xyRFjP8Vj9KfIp7OT8EIySDYHfYJO4I551lN8DfUjKmEgugSmaQUqMrhX N69ZwPRaJ5EGwNyVoFIqHCkMQx9xT+gbbY+xh5FesSwK5X6QXbnWwhuyqeK89OZvHOX2 XNw4FkS/7Yc64ClD5Cc4ZjoDvy46heAswl5nxoeCIrKCNs1RsKj9vm0gvAgRR006Xk+8 pOaycOUAi09OLhz8w0PoZa5YHGJ9qCVTpMquixBmanTbfpB93KxRY+q/SigmBssac8UQ kTT4Qr1erHkYcrOpBK4tnFKQctuQiwBX93Y/C6MlcoEHt95w9dmTirnYlZRJlHrEjFHq aT2Q== X-Gm-Message-State: ACgBeo0FH0nzSS1E9Vzdu5c6ACf2JuF2ANdrdt1ZiYn4eR/7SUr77yaF 0ekRUTMSiqOoVVoaAnzzIt98mw== X-Google-Smtp-Source: AA6agR6Lf7IIZzRUPVWIQKNn++M9hDxdEZrrs1Z5fz50qIrQZeOkHs2PHt1zeStj3UCIOE/L0spK/w== X-Received: by 2002:a05:6402:524c:b0:43e:aba4:a42d with SMTP id t12-20020a056402524c00b0043eaba4a42dmr17160905edd.328.1659970108269; Mon, 08 Aug 2022 07:48:28 -0700 (PDT) Received: from localhost.localdomain (ptr-4xh0y3vuv1059rd6h4r.18120a2.ip6.access.telenet.be. [2a02:1810:a44c:8f00:cd22:c517:e143:e53b]) by smtp.gmail.com with ESMTPSA id j17-20020a17090623f100b007306a4bc9b4sm5106408ejg.38.2022.08.08.07.48.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Aug 2022 07:48:27 -0700 (PDT) From: Crt Mori To: Jonathan Cameron Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Lars-Peter Clausen , Crt Mori Subject: [PATCH v3 0/2] iio: temperature: mlx90632: Add supply regulator Date: Mon, 8 Aug 2022 16:48:04 +0200 Message-Id: <20220808144804.1558849-1-cmo@melexis.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org Add supply regulator to the sensor as initial update before proper power management is presented. This will reduce the diff for the following patches. Changes in v3: - Style changes of few more arguments in one line Changes in v2: - Regulator voltage was removed as per comments from Jonathan Cameron and Lars-Peter Clausen - Style handling for the error reporting of the regulator DT binding was adjusted - NEW: Delay function was created and grouped together with call from the reset command, to ensure consistency and reduce the amount of code. Crt Mori (2): iio: temperature: mlx90632 Add supply regulator to sensor dt-bindings: iio: mlx90632 Add supply regulator documentation .../iio/temperature/melexis,mlx90632.yaml | 4 ++ drivers/iio/temperature/mlx90632.c | 61 +++++++++++++++++-- 2 files changed, 60 insertions(+), 5 deletions(-)