From patchwork Sat May 18 22:41:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?B=C3=A1rbara_Fernandes?= X-Patchwork-Id: 10949213 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 6B3DE912 for ; Sat, 18 May 2019 22:41:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5C80B28565 for ; Sat, 18 May 2019 22:41:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4E5B528562; Sat, 18 May 2019 22:41:54 +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 0869628562 for ; Sat, 18 May 2019 22:41:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727305AbfERWlu (ORCPT ); Sat, 18 May 2019 18:41:50 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:46853 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728395AbfERWls (ORCPT ); Sat, 18 May 2019 18:41:48 -0400 Received: by mail-qt1-f193.google.com with SMTP id z19so12107636qtz.13 for ; Sat, 18 May 2019 15:41:47 -0700 (PDT) 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:mime-version :content-transfer-encoding; bh=YfANJ0NjSuT03hGxYrrybmRloobQ2aNV6k4ZVS8sjkk=; b=s/VAevDUzrN4FYKLzj6wS9/MMwq+kuH3vDcW/F4Fujom2rI550pYSulPYPa2DHYIoa vziuEPs7+KFZKSOy4dl3S8XsA3rR1xpt4h67jOFUcGvczSirRSoPZZ+ophuYFsVN0nKA KJXJ7PjsM6A0QMDUt4mE2IpJKVMc0JBo+JQlHXzpUXpOCQi3bR+vLnDAiEUhXrmDpJpx 2jS67Tl+3ptVLwfqcKW8MDhwDjGiqfldiuA3Byur4rqXRY2LArH0gKJQirF/Ybv2wWXT 9PyynABXznVJI7sX4K9U1EYK+stMfTaBmSqOdaQWcTOgDPZVPt6aFNn6D0wrEJNNO2o3 rMIQ== 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=YfANJ0NjSuT03hGxYrrybmRloobQ2aNV6k4ZVS8sjkk=; b=Y0JuHLNx8n1Hv3/yks2rFkSW5w5qbyxMKLEBz05xjwKrLzay5I8EpQ4USzNW5Rjt4e ujw4J9wXEBb8vkbi3JSQx8kOY3h1ceB5KsHlhGSHS5YbNjykETHmPRbsfKbD3+wvibss dXGnVovOPfxS6PMhJqE7nYu4oKjSa/eonQm0co6NYGKoQtjgY8ItkQMX3/u3GSObBTDs 8TnJKpN/ofsNRKDA888uOvipCs6mWw5QiN9IvakSah4eHWW2wmYKqE0+02IIJsIyy7GC BttcqMg5x3WlccYzHmy7f/s+n2cLwczjb1s8s3ZTlTYpP5/zMsy2aWnu9uriIhaOhTrQ MToA== X-Gm-Message-State: APjAAAXBW3v80QPfqptn1RoCTtjGiuVZ/szyQDKupCrQSTON1E//JHGp OhgvGcdGLy9rQ1kS88EDFZv3Bw== X-Google-Smtp-Source: APXvYqwdNGqtocpFV8e81epFjCB39YB58+eSXKAmOz6uUNBChWqLKg71GxYgbQw6wTK6oeDaMXtTQg== X-Received: by 2002:a0c:94b9:: with SMTP id j54mr14290525qvj.54.1558219307081; Sat, 18 May 2019 15:41:47 -0700 (PDT) Received: from greta.semfio.usp.br ([143.107.45.1]) by smtp.gmail.com with ESMTPSA id d32sm7348992qtk.0.2019.05.18.15.41.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 May 2019 15:41:46 -0700 (PDT) From: =?utf-8?q?B=C3=A1rbara_Fernandes?= To: Lars-Peter Clausen , Michael Hennerich , Stefan Popa , Jonathan Cameron , Hartmut Knaack , Peter Meerwald-Stadler , Greg Kroah-Hartman Cc: linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, =?utf-8?q?B=C3=A1rbara_Fernandes?= Subject: [RESEND PATCH 0/2] Enhance dt support and channel creation Date: Sat, 18 May 2019 19:41:34 -0300 Message-Id: <20190518224136.16942-1-barbara.fernandes@usp.br> X-Mailer: git-send-email 2.22.0.rc0.1.g337bb99195.dirty MIME-Version: 1.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 series of patches set a struct of_device_id with all the devices this driver is able to manage and also add a macro to facilitate channel creation for its two capacitance channels. Bárbara Fernandes (2): staging: iio: cdc: ad7150: create of_device_id array staging: iio: cdc: ad7150: create macro for capacitance channels drivers/staging/iio/cdc/ad7150.c | 39 ++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 17 deletions(-)