Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9627226imu; Wed, 5 Dec 2018 07:49:54 -0800 (PST) X-Google-Smtp-Source: AFSGD/XeYcBfXyNufjINcerUOzEZVyIhSadtW94PJtxS25H88xCU5VdyjSc5c6wwDGzXpRamR+fU X-Received: by 2002:a62:798f:: with SMTP id u137mr25038435pfc.168.1544024994286; Wed, 05 Dec 2018 07:49:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544024994; cv=none; d=google.com; s=arc-20160816; b=rKZCkcOht6d08uuVrBxI5/cetftbLrGeRwpNUvrLgEkGlhPmmK/SjB8MLDeQ8d7tfF zY+ROqTml5nGqKHo/17a+XdOAYQHb+bpc+m46BwKAmzBZSAZbxbYRdjoxdDj0seez68i fOBZiYoeTfDNVIY82qboBn07VlinNYIcTxwy/QDyFC88ZjaAeLst8mL8DMroVrGslsPh LoiA+wQefH5CgSTSFQwYsmfBxDIHj58EQEFNMj4J5HWn7f9FuwK7ecGQqFjMjVy6ZQ2V OTFW9B8rFXD3msJwouFeI90x2wrbkDw4ZOU3vvM+OcYHPkZbIknjgcKbqUi+ziwvF8I9 P1eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=lC1bscAw3ERKT7j82pFtPcdCQjQeQywp1wrjwJ+vU4Y=; b=YBL+0baGrLtD9PJ3m5l4AgW4bYF5JHLtD/UWgQnK+nAv8aHGPvQQALhaxMcoPrp8w3 5O2fo5urCMlASqELyaoVB8dghxjo2ijtWZoCpRsn+MIsINM1KbMEutw3LKFqNSLDoTQy ThQ4/QBjamTfeFEAoxvrFthlYX05u93jEdTfYis2u+SOu9KPPSUDg5r/Gvliv8Z6cbNK pFiJyR7AexRxRnXWWLVfL05TBTqsy5mICftBtaCcUvFxkgqQkqA/5EPrhLC6g+qWSDSK f2pfxjM1wvJlhSBYnfSmuLKNZFA3eQFJjpwKL46DkbByF67bk4cWD6YCvexoaM/zzQJT RpPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MwSmj0X1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x141si18007392pgx.266.2018.12.05.07.49.39; Wed, 05 Dec 2018 07:49:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MwSmj0X1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728053AbeLEPsw (ORCPT + 99 others); Wed, 5 Dec 2018 10:48:52 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:43588 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727182AbeLEPsw (ORCPT ); Wed, 5 Dec 2018 10:48:52 -0500 Received: by mail-lf1-f66.google.com with SMTP id u18so15082719lff.10; Wed, 05 Dec 2018 07:48:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=lC1bscAw3ERKT7j82pFtPcdCQjQeQywp1wrjwJ+vU4Y=; b=MwSmj0X1ylP+T1KxpmQRONZ50lcsNXbkyXNsyfy67dV6N+YGE2JppTIKRJ8CtbfBvU fLxrukxLToJ8PieOdc28mcNbRFNW2Et6Om/lPnFaB1zOeXDXPctsuW6LV17UpQrE37uV x8cyDBNpP1SvXtZdHYyjro/J0OZbngk9Rw5KTZUjV9vHoW5vGlGaNX20cWWcnO3ZHbpu CnHgDr3CnHR3c2jS+fyZ3hUe+33DG+7PJ0XemUW7EGY/jEPbA/dlMxxAaRN34vB2Y6gW nf5zeImU56jemOX2W0f4Ebm33R2DNLMLlmQ9/3CMEg0S02bcG3u1JATi4l1vVSsfpV5Y 3kyQ== 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=lC1bscAw3ERKT7j82pFtPcdCQjQeQywp1wrjwJ+vU4Y=; b=OlHXH2rC75xhtVNthkDXf6ArpbdnA4CTD791A61ovOMZVv/Mgkv7xeAD+UlejZMuBA PnHaKAfD8aObdCJ0zPWF/ed8tknQdin1H+CF0rLr819grAeXConvWUjFmTLaL4ZF+4hJ m9YcU4OfBDB/AXZHbqecwgvlG2GgO926flOQuOpwyOvrh4cXUbOcRZPUQ82Tel/AOeUU y1l3dHYMSK6G4mb0SKVT+CtjORIyzsJxWso8j0330l0sDq6BDVg/awLXHIuxfvs/DRk5 SiqZucZczKqj6jPuNN5Yn8M6wJgMy4Kopy5IU8kneUHvjKThVPjIjnXl7pW7YcFxk/yW 6teg== X-Gm-Message-State: AA+aEWZbqmev97xANNEl0AQJ1RMdtPd/6A8BaUVpGfetZNgRYKbaKIS4 afW9k4qC7kPpi2Q49+NiF9U= X-Received: by 2002:a19:f115:: with SMTP id p21mr14367015lfh.20.1544024929739; Wed, 05 Dec 2018 07:48:49 -0800 (PST) Received: from localhost.localdomain ([2a02:a315:5445:5300:41e8:260c:942a:b736]) by smtp.googlemail.com with ESMTPSA id t18sm3592517lft.93.2018.12.05.07.48.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Dec 2018 07:48:48 -0800 (PST) From: =?UTF-8?q?Pawe=C5=82=20Chmiel?= To: mchehab@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: hverkuil@xs4all.nl, fischerdouglasc@gmail.com, keescook@chromium.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, =?UTF-8?q?Pawe=C5=82=20Chmiel?= Subject: [PATCH 0/5] media: radio-si470x-i2c: Add device tree and reset gpio support Date: Wed, 5 Dec 2018 16:47:45 +0100 Message-Id: <20181205154750.17996-1-pawel.mikolaj.chmiel@gmail.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset adds support for device tree and reset-gpios to si470x i2c radio driver. First two patches adds and documents device tree support. Third patch simplifies code by using managed resource helpers. Last two patches adds and documents new optional reset gpios support. It was tested on Samsung Galaxy S (i9000) phone. Paweł Chmiel (5): si470x-i2c: Add device tree support media: dt-bindings: Add binding for si470x radio si470x-i2c: Use managed resource helpers si470x-i2c: Add optional reset-gpio support media: dt-bindings: si470x: Document new reset-gpios property .../devicetree/bindings/media/si470x.txt | 26 ++++++++++ drivers/media/radio/si470x/radio-si470x-i2c.c | 52 ++++++++++++------- drivers/media/radio/si470x/radio-si470x.h | 1 + 3 files changed, 61 insertions(+), 18 deletions(-) create mode 100644 Documentation/devicetree/bindings/media/si470x.txt -- 2.17.1