From patchwork Tue Jul 28 15:12:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Campello X-Patchwork-Id: 11689309 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8014D913 for ; Tue, 28 Jul 2020 15:13:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 67F8C20786 for ; Tue, 28 Jul 2020 15:13:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="h7elNg17" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730651AbgG1PNE (ORCPT ); Tue, 28 Jul 2020 11:13:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730499AbgG1PND (ORCPT ); Tue, 28 Jul 2020 11:13:03 -0400 Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98410C0619D2 for ; Tue, 28 Jul 2020 08:13:03 -0700 (PDT) Received: by mail-io1-xd42.google.com with SMTP id q75so12952078iod.1 for ; Tue, 28 Jul 2020 08:13:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WI3fumWYUK+x328Qo7vj3Eg0qcEK6KoFgm7ErCr4104=; b=h7elNg17cYKsZqrZyaL2ZdS9YLt+W+ZWu55JLROmCbh1O95nsJ/+NZlCy0qQ4UL2Mr qW3EZC2DlmQ0QGl21rf5q4DJPRlUfBiphwDy69CfIt02HtxvnRUNv/FYZO3cNo+ysuOq 9qbmC1nesGgKDu5RmF9LfZzbIxIVRt318tjZk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WI3fumWYUK+x328Qo7vj3Eg0qcEK6KoFgm7ErCr4104=; b=n8w4dCFloOmaG3SOknj4Dkzrg73Pw+MxfINAf+880TD9cnKohH+jiOqgw3h+EBrFlR AmkCCj7Fi4TFmbf76W3FSnxJYTM6PV2/nBPOBJBxy2IcJz9dxVfyDcsyxpTWLrHW7iTT fZItbfCLh7gx+KAlpw9Ts/WxwgJWsawe6IVn2i9ac2/Fha8FDUWHjF9a6kt1VQQ4zz37 WrNe0E6W7OcJ4/DrflPaJbLSHyuq/QFEw5xE6FbrfxqqorHD+18UN7ufFXX8LLzLx2Cj 7LJC01DvSNOOcojIh5shUNr7mbyRPHfrieYJJAOfuF6KkufyJSLa6OA93K7SsTm9OI9Y OJsA== X-Gm-Message-State: AOAM533poaB0Q7R+Z1WbaYlPcvOYCPF4odtbaLn//mQRWMiSSCxdQ0yr OsO1lBlSok0ECq9ZGCaPxeoO/A== X-Google-Smtp-Source: ABdhPJz16mmv05HpXxjY6ax+58ko05ihbP6i/A3DYP1AdvM9yMATQllxrAzERVsTsaADDG8IlFk9oA== X-Received: by 2002:a05:6602:2c83:: with SMTP id i3mr28854532iow.144.1595949182954; Tue, 28 Jul 2020 08:13:02 -0700 (PDT) Received: from derch.Home (97-122-92-59.hlrn.qwest.net. [97.122.92.59]) by smtp.gmail.com with ESMTPSA id q70sm6399781ili.49.2020.07.28.08.13.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jul 2020 08:13:02 -0700 (PDT) From: Daniel Campello To: LKML , LKML Cc: Jonathan Cameron , Daniel Campello , Douglas Anderson , Enrico Granata , Gwendal Grignou , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Rob Herring , Stephen Boyd , linux-iio@vger.kernel.org Subject: [PATCH 00/15] sx9310 iio driver updates Date: Tue, 28 Jul 2020 09:12:43 -0600 Message-Id: <20200728151258.1222876-1-campello@chromium.org> X-Mailer: git-send-email 2.28.0.rc0.142.g3c755180ce-goog In-Reply-To: <20200724183954.1.I2e29ae25368ba8a72a9e44121cfbc36ead8ecc6b@changeid> References: <20200724183954.1.I2e29ae25368ba8a72a9e44121cfbc36ead8ecc6b@changeid> MIME-Version: 1.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org The first patch resends the DT binding for the driver that was merged in v5.8-rc1 with a small change to update for proper regulators. The second through the eleventh patch fixes several issues dropped from v8 to v9 when the initial patch was merged. The twelveth patch fixes a few printks that are missing newlines and should be totally non-trivial to apply. The thirteenth patch drops channel_users because it's unused. The final patch adds support to enable the svdd and vdd supplies so that this driver can work on a board where the svdd supply isn't enabled at boot and needs to be turned on before this driver starts to communicate with the chip. Daniel Campello (12): dt-bindings: iio: Add bindings for sx9310 sensor iio: sx9310: Update macros declarations iio: sx9310: Fix irq handling iio: sx9310: Remove acpi and of table macros iio: sx9310: Change from .probe to .probe_new iio: sx9310: Align memory iio: sx9310: Use long instead of int for channel bitmaps iio: sx9310: Use regmap_read_poll_timeout() for compensation iio: sx9310: Update copyright iio: sx9310: Simplify error return handling iio: sx9310: Use variable to hold &client->dev iio: sx9310: Miscellaneous format fixes Stephen Boyd (3): iio: sx9310: Add newlines to printks iio: sx9310: Drop channel_users[] iio: sx9310: Enable vdd and svdd regulators at probe .../iio/proximity/semtech,sx9310.yaml | 60 +++ drivers/iio/proximity/sx9310.c | 407 +++++++++--------- 2 files changed, 263 insertions(+), 204 deletions(-) create mode 100644 Documentation/devicetree/bindings/iio/proximity/semtech,sx9310.yaml --- 2.28.0.rc0.142.g3c755180ce-goog