From patchwork Tue Feb 28 16:01:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 9596125 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 4D4CE600CB for ; Tue, 28 Feb 2017 16:06:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3E77226E4D for ; Tue, 28 Feb 2017 16:06:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3347B28551; Tue, 28 Feb 2017 16:06:35 +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 BCDFE26E4D for ; Tue, 28 Feb 2017 16:06:34 +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=X1vl0xR2RlpvFi9XtAbOcFmXOS Q4hDzZnLfN4cxifS+8SJfaRbofYuviHIlFdyxWWF/9dv3U4lovCrCAUCySl1+xaBvJLV6XW0HwheZ 1Tv0GgDHyYdyCscpk7B3ylDW8qDgiJveqLvi15L6oa+Msxsm8+FhAi871cbmW+lmj5RWyLjDYTqCS dqZNqffW6EF2/lJ9Cw+9qMaU7577fVykRj0GnCyoyfI0OA97O83VbckSvzbKEPgjDAiLFNTIIdtLH I2em0fPG1xA8W9MnrAnncfUuWUt6L1orhQOqDN5OLpz3+538XtCxXcRcBE4rPTqEgodgZ4foReI4P gyeH2ISw==; 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 1cikII-0007Gl-R9; Tue, 28 Feb 2017 16:06:30 +0000 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cikEP-0004FU-EV for linux-arm-kernel@lists.infradead.org; Tue, 28 Feb 2017 16:02:33 +0000 Received: by mail-wm0-x22c.google.com with SMTP id v77so15404463wmv.0 for ; Tue, 28 Feb 2017 08:02:08 -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=E2bQEcmgCYXCa7wCvXgj2RH0MCdd2EUqzOjw8RCcchki8ilc6w1S3oUiynJGOmRuIa TBFnu3tq8Bu67TM8k5Ayng70Z33t6GInJq5+VL8afyH2ELCSAb8/ewGp/iBJ5jMR8Prq l2kdRlE/Or9tn1900T/cqR5kkiOIQrWMvVba3Fg/63JgYOI0ffm+E6arvZbKzYSJosAf Bom6QDKRwVNpZTg3wcTTljD51dhvLj2g+4qF0u1WVbTwVx5gz+mXx/eOcPN8RsEAG3DA mX5e8sHDWIg1ioRy09iowfq2Kx27m7OdNDUJxhoAbU8/lOVJJWOCmHvfWyfFDjnSV+UG iofg== 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=WbP/a7EJ5Rr26ggrYSuQ4uLeSQiBgzpivhtFU/uRffuLMDnwlgZF/8i1RDS6Zko6S5 InY58m9IwN5ymHaEBhvzKj1veed9H0zAOVpKwZ2+Jb+B95Q27Nv8hGXPyL2oWZ+PxW18 1PGD4cJI/JxoDSiuoSf89NaGpxe6rUZheoPYH8jJildw9XCiLm6IvGHXkDdlXm61NhJf 8RaHpwSPGy4Da6Z4Hy5Yl9C0oxlLz3CmCy6flmBTaQ9NX1zX1Thr2009qFnYh1ng7J5n qChLgKp4LKQt6nhmoFMzSPqvBwCKNU+eavPr7tuL8jqLMv063nRz4IdaeHKe8sEKjTw4 ozFw== X-Gm-Message-State: AMke39nDbOwsfDgztayE+ClEAeHpG4+a5J0DMvOX5nfvDcVFgeWQH9nGo6bmz4zZNekiMpsW X-Received: by 10.28.30.12 with SMTP id e12mr3220833wme.125.1488297727618; Tue, 28 Feb 2017 08:02:07 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id k8sm2887327wre.19.2017.02.28.08.02.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Feb 2017 08:02:06 -0800 (PST) From: Bartosz Golaszewski To: Sekhar Nori , David Lechner , Kevin Hilman , Michael Turquette , Patrick Titiano , Laurent Pinchart , Russell King Subject: [PATCH v4 2/6] ARM: davinci: board-da850-evm: add I2C ID for VPIF Date: Tue, 28 Feb 2017 17:01:56 +0100 Message-Id: <1488297720-4558-3-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1488297720-4558-1-git-send-email-bgolaszewski@baylibre.com> References: <1488297720-4558-1-git-send-email-bgolaszewski@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170228_080229_716733_3B92C137 X-CRM114-Status: GOOD ( 11.78 ) 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),