From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22A3DC433E0 for ; Fri, 24 Jul 2020 21:33:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E3C61206F6 for ; Fri, 24 Jul 2020 21:33:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="H+qRJk2E" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726591AbgGXVdc (ORCPT ); Fri, 24 Jul 2020 17:33:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726573AbgGXVdc (ORCPT ); Fri, 24 Jul 2020 17:33:32 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7B53C0619D3 for ; Fri, 24 Jul 2020 14:33:31 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id k27so6143131pgm.2 for ; Fri, 24 Jul 2020 14:33:31 -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:mime-version :content-transfer-encoding; bh=B1AqK3EUiV48d+3lz3iz1nmsFf9iop99UmpDlzqxx6Q=; b=H+qRJk2Evf7iT6t/qQ/AMdP3HNwHlxLDJA50SR6M1C4GL4Ep2nb146xLvxVr0l19MX i5xb/UegDEnSnRHKvBwcgq9NY5W7JlU05DU8G+FLh573udW0vO0hOzP5ditlUXmnOqon jOWluibwkrfbqzFhIItHje/FZpqToWAdVWA44= 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:mime-version :content-transfer-encoding; bh=B1AqK3EUiV48d+3lz3iz1nmsFf9iop99UmpDlzqxx6Q=; b=GULyEmXQEyBvhadEJxbno4UllBhGkZwTvLJMsxHs4E3pLwXFD+kJeE7r4FWek6S2Hk UbgGQxtpERMR2ymOVlNorAQcZWfnqcZKZ5FIibRvZCOGDSv4S2RtuvSeRoBM/vXFvi9L tZ5jvqBtum6tfdCL4ofyBC4LhkVjxX7qeXObvMxkJyynUT7jZnQOe/GZt6U/hmwcqLVk zK2PKOVBXAGlzpDQFUlM4bzz72slIjCshuiKmqtO9NGq9wUcsb5GAOSqEnxyZh1SrbFr uzF6A+YkRaPIng0T7LNBHd+APKh2s3SIuTL77J+FS5hz5GlrfKuSVqxg3U5Uco4phSUG NAcQ== X-Gm-Message-State: AOAM530VazDLGkiq0GBH+HhmemY/F8OADQyAxVPOcZMStBlsKyzCM+r0 +6/EfKlCIotao8NPJU4e20OeNg== X-Google-Smtp-Source: ABdhPJzOJ9pzQnXog72nAIt8UsLKIvb78RU5GK02GZWpuU7oQHATBjt5kG0YapGEpLzXC28sQMiqiw== X-Received: by 2002:a65:620f:: with SMTP id d15mr9918451pgv.270.1595626411314; Fri, 24 Jul 2020 14:33:31 -0700 (PDT) Received: from smtp.gmail.com ([2620:15c:202:1:3e52:82ff:fe6c:83ab]) by smtp.gmail.com with ESMTPSA id z6sm7312919pfn.173.2020.07.24.14.33.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 14:33:30 -0700 (PDT) From: Stephen Boyd To: Jonathan Cameron Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Rob Herring , Douglas Anderson , Daniel Campello Subject: [PATCH 0/3] Some sx9310 iio driver updates Date: Fri, 24 Jul 2020 14:33:24 -0700 Message-Id: <20200724213329.899216-1-swboyd@chromium.org> X-Mailer: git-send-email 2.28.0.rc0.142.g3c755180ce-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org These patches are only related because I'm looking at this driver. The first one 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 patch fixes a few printks that are missing newlines and should be totally non-trivial to apply. The third patch changes whoami to unsigned to avoid confusing. The fourth 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 I have where the svdd supply isn't enabled at boot and needs to be turned on before this driver starts to communicate with the chip. Changes from v1: * Two new patches for whoami and channel_uesrs * Use bulk regulator APIs for supplies patch * Support both regulators Daniel Campello (1): dt-bindings: iio: Add bindings for sx9310 sensor Stephen Boyd (4): iio: sx9310: Add newlines to printks iio: sx9310: whoami is unsigned 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 | 46 +++++++++++--- 2 files changed, 97 insertions(+), 9 deletions(-) create mode 100644 Documentation/devicetree/bindings/iio/proximity/semtech,sx9310.yaml Cc: Hartmut Knaack Cc: Lars-Peter Clausen Cc: Peter Meerwald-Stadler Cc: Rob Herring Cc: Douglas Anderson Cc: Daniel Campello base-commit: b3a9e3b9622ae10064826dccb4f7a52bd88c7407 -- Sent by a computer, using git, on the internet