From patchwork Fri Nov 9 22:00:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matheus Tavares X-Patchwork-Id: 10676581 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4ADBE15E9 for ; Fri, 9 Nov 2018 22:01:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 342F12F196 for ; Fri, 9 Nov 2018 22:01:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 244272F2F9; Fri, 9 Nov 2018 22:01:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5F2E92F196 for ; Fri, 9 Nov 2018 22:01:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726764AbeKJHnm (ORCPT ); Sat, 10 Nov 2018 02:43:42 -0500 Received: from mail-qk1-f194.google.com ([209.85.222.194]:34058 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726181AbeKJHnm (ORCPT ); Sat, 10 Nov 2018 02:43:42 -0500 Received: by mail-qk1-f194.google.com with SMTP id a132so4349946qkg.1 for ; Fri, 09 Nov 2018 14:01:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=usp-br.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=dING+HiS7HKWkkFEB+SEPaXGLx4JAuKSkz5VRR/7Cok=; b=nm6yixIcEHATojXTP/rq2iz5I/4kTmTMqHMHOt7MY0MywCm9N1SPwtvHGCmrOTy8lt w7eiZypRk4RJkBI7vzCYeOMq8qSKrcwR3D5V1LV9YR19Tg0YNGWXdhTUgMfi1JgCQSHJ 2WwKw/228Z5ow1xWIWbGpPM31Ml5vsEwa1teB7D/5232ZGKKqeNpCzPsi4SQBgJH1dyf EGMzy7zAL7bzgX24sQ74sqamxnuvl0XH+HSNVU5dXXS5D9LPuGbCE/Ch3eag4axTD5U+ kA8AxDruoABbYpXb81qq/QEshqaRfuM1MFFTPKoMHN+r+KOKv61i3fOjCgH0aD2+muIn 8uDw== 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; bh=dING+HiS7HKWkkFEB+SEPaXGLx4JAuKSkz5VRR/7Cok=; b=sSv8AwI7NG6Lv1W0hK/oh6ZIMnutVpf+k00nReZLLpfmvz7T6Soo4VNzWsR8TLOm3W bmqjTDPEg0jFTcPaaa1T8NFObW2spglA3/mLKGhkKFJxqIfKrqGD7V4weDIiEwESDky/ Wtwj+x972oMHmm1c5HJvqK3riw4nJ19XVRsHIbBBiv2wNAxMDOnDh1SLX8UuHIg58PW0 sw3kz6Vo4XfWWy+IUeGB4SQl3lLO209/F2UV5Kcgv6Tc51YRZLdW+Osee4AELKauObDl MgXWfsEMJLG1hAU8X6ApgtNY9hYkjGW4216eHJuVuwW+Or8C51g0LtqyhWsPb64Stww+ 12Xg== X-Gm-Message-State: AGRZ1gKb7AwOtZ6rOovnSRUIV3/Xcq2T/iI54STFm3hLL1a9TG3BhDK5 zc057tAt91XcL2vpKop74pLNhzCML5ccYQ== X-Google-Smtp-Source: AJdET5cNWuv9507medUqibxB0PSrpjZYicTEqXFXix34g14kjH2Txps/84MyW7H4rC0zNB0eyimv2w== X-Received: by 2002:a37:a703:: with SMTP id q3mr9985720qke.272.1541800871772; Fri, 09 Nov 2018 14:01:11 -0800 (PST) Received: from mango.spo.virtua.com.br ([2804:14c:81:942d::1]) by smtp.gmail.com with ESMTPSA id k6sm6082723qtk.41.2018.11.09.14.01.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Nov 2018 14:01:10 -0800 (PST) From: Matheus Tavares To: Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Hartmut Knaack , Peter Meerwald-Stadler , Greg Kroah-Hartman , Rob Herring , Mark Rutland Cc: linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Alexandru Ardelean , kernel-usp@googlegroups.com, victorcolombo@gmail.com Subject: [PATCH 0/6] staging:iio:ad2s90: Add dt support and move out of staging Date: Fri, 9 Nov 2018 20:00:38 -0200 Message-Id: <20181109220044.24843-1-matheus.bernardino@usp.br> X-Mailer: git-send-email 2.18.0 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch set adds device tree support to ad2s90, with standard device tree id table, adds the respective dt-binding documentation, solves a codestyle warning and move the driver out of staging. This patch set completes all the remaining itens listed to be done before moving the driver out of staging, enumerated in this mail thread: https://marc.info/?l=linux-iio&m=154028966111330&w=2, except by one codestyle problem: "CHECK: struct mutex definition without comment". It seems to be a commonly ignored check for mutexes of device states. If I am wrong, please, let me know and I will be happy to send a patch to tackle it. Matheus Tavares (6): staging:iio:ad2s90: Add device tree support staging:iio:ad2s90: Remove spi setup that should be done via dt staging:iio:ad2s90: Add max frequency check at probe dt-bindings:iio:resolver: Add docs for ad2s90 staging:iio:ad2s90: Add SPDX license identifier staging:iio:ad2s90: Move out of staging .../bindings/iio/resolver/ad2s90.txt | 26 ++++++++++++++++ drivers/iio/resolver/Kconfig | 10 ++++++ drivers/iio/resolver/Makefile | 1 + drivers/{staging => }/iio/resolver/ad2s90.c | 31 ++++++++++++------- drivers/staging/iio/resolver/Kconfig | 10 ------ drivers/staging/iio/resolver/Makefile | 1 - 6 files changed, 57 insertions(+), 22 deletions(-) create mode 100644 Documentation/devicetree/bindings/iio/resolver/ad2s90.txt rename drivers/{staging => }/iio/resolver/ad2s90.c (81%)