From patchwork Wed Feb 22 14:13:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 9586905 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2B75E602A7 for ; Wed, 22 Feb 2017 14:16:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 24926286A1 for ; Wed, 22 Feb 2017 14:16:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 180C7286A7; Wed, 22 Feb 2017 14:16:48 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 88923286A1 for ; Wed, 22 Feb 2017 14:16:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=3sIA4K/MHCbh+lLzojQcdgVb/7/lMD2LumiAFA7d7IA=; b=Udo6SPOm5001x3p+Wq5eAvGp2Q RWGIQnGiuUQGla06AMRYfvJQhzQetIsMhJl/pnmPG3H/PtRe6je2+LNlALgKC9S9s7a/HW9QBK+3O TSq1Opoz1AboTVwqmu75VSy16OaGOqZ0QjZtK/1QrBUJj5f4hYQd+ys7Y88XPv3Xy6GS3Q2+NUY8P ss/d8rpPS4+4Gf5Y4IYlx7oGtPfQeWuLxR0fQmRWp8KdvGKOjEwUqOrhbdNs4XTQC+vbs5bc1lM/7 N2ZNinWSMQTj3jy4tD3eRnq6G+MPA3v1lBKyXN2PvD3KLoQhIA+L0IjxYVpIqeyRu+tG2gaynM8iA XvXTLR1Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cgXin-0004I9-Hc; Wed, 22 Feb 2017 14:16:45 +0000 Received: from mail-wr0-x22a.google.com ([2a00:1450:400c:c0c::22a]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cgXg5-0000ou-P2 for linux-arm-kernel@lists.infradead.org; Wed, 22 Feb 2017 14:14:00 +0000 Received: by mail-wr0-x22a.google.com with SMTP id z61so2830825wrc.1 for ; Wed, 22 Feb 2017 06:13:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=wnzDbesK0T0fN8BJ/WjgwqXou+q2Uwq3zmKcOWd0sQQ=; b=n2ieT7D6I4MvRqTjieRvuUytc41nkjZmavSsbgQ7lRtrNzI7kXO8UHqju/pnPTGxbp 1ZaEoIoTzDgw3HRVzbVZDyaWIoPbwppfs3UVjnGX+iq1g9P7wKQs8+UF0tqeShwPvWXW L7aFSzhZJ6ozD99OlwFvdUeV0tpRZGrTDwjkqjHgh+6TAyplEq7IU7ij0FrBO/svBBZH grUQesdrrAdwduzW6M25b9T9KJP846tB0Bji3wfCkw2vijvALlnneev5dD1LpiPzfz/j YW+/u+sfLmdOENmDB52YCe4vqBsCkjH7NYwqzAZvhyL31xjdPOHSJtXQPr6h06TbvpTB iTjQ== 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; bh=wnzDbesK0T0fN8BJ/WjgwqXou+q2Uwq3zmKcOWd0sQQ=; b=pKWu0Z+hwD3f1vUcsQIEvm9NkhL5sNgLDc0/U3WVNxb5yoErI7t3VSFisvqsLLHsxU mQloTgEw8xf5PFMtgFWKdcBSHBk3gNt6vLCXAeXP0CrnwcVai+LE16TBWFBuY4irKQLO aadzDTgWoL16kUCQvElAJqmkK8aOMlhU+P8EZtbRK6KyK/EghO4pCr05lOAn0jzfvqTV Q+TdAznQ/iDSPEMfSKPDV1tMZF/PiqnI48gll6ZaXkcT5sad1Fxt1Lhl9YfuRqC6Twt9 PLz+dTNEmGglcFvAUxGaNFEWOBX1pFkOVyHD5EUlSAuCM1Eo7EjCgMZRVP0n9XlhDaUV UCAQ== X-Gm-Message-State: AMke39l8RC7VtlxAEkb5Flm7jsmdvrSwPt8E8A8Mdik+AqFOxApvSbvAlyK6J+3Wdi73mQAZ X-Received: by 10.223.169.164 with SMTP id b33mr26492091wrd.132.1487772815574; Wed, 22 Feb 2017 06:13:35 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id f50sm1889573wrf.69.2017.02.22.06.13.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Feb 2017 06:13:34 -0800 (PST) From: Bartosz Golaszewski To: Sekhar Nori , David Lechner , Kevin Hilman , Michael Turquette , Patrick Titiano , Laurent Pinchart , Russell King Subject: [PATCH v3 2/6] ARM: davinci: board-da850-evm: add I2C ID for VPIF Date: Wed, 22 Feb 2017 15:13:21 +0100 Message-Id: <1487772805-19021-3-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1487772805-19021-1-git-send-email-bgolaszewski@baylibre.com> References: <1487772805-19021-1-git-send-email-bgolaszewski@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170222_061358_027691_6128996F X-CRM114-Status: GOOD ( 11.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kevin Hilman VPIF capture driver now has a way to specific I2C adapter ID (was previously hard-coded.) Use the new interface. Signed-off-by: Kevin Hilman --- arch/arm/mach-davinci/board-da850-evm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index 6f1e129..0b9ff2a 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c @@ -1213,6 +1213,7 @@ static struct vpif_subdev_info da850_vpif_capture_sdev_info[] = { static struct vpif_capture_config da850_vpif_capture_config = { .subdev_info = da850_vpif_capture_sdev_info, .subdev_count = ARRAY_SIZE(da850_vpif_capture_sdev_info), + .i2c_adapter_id = 1, .chan_config[0] = { .inputs = da850_ch0_inputs, .input_count = ARRAY_SIZE(da850_ch0_inputs),