Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp21263613ybl; Mon, 6 Jan 2020 00:54:46 -0800 (PST) X-Google-Smtp-Source: APXvYqxUc3F0eAZMBcrXAZ+zVbsKNXsgaqGd3F/XnbWqEkxhb/op449Fvmbwvhy5d8R3HoucJola X-Received: by 2002:a9d:d0b:: with SMTP id 11mr118381866oti.287.1578300886103; Mon, 06 Jan 2020 00:54:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578300886; cv=none; d=google.com; s=arc-20160816; b=hAssZV1TgK1GbxLX/1Mo4m1FWf/MiV6zHe0TaRZM47ReGgzT8nI+e6Bv95/KQEkoXj Vf3Yo0voYtaT5HMWSPgHZiuYidywUKYRKjNrH0tO58Lc4Remh3VelDSdvWD3ejE/v/wN BiIqNPhnv0lJtRsamIbwldP7xTHfRDOR7gHFOKct4UIZJeucxg8T8yh1CV/v/2tDSdkf lbdBNj+8Evwl6t1Gx2FA91tqQSOc1Vk1KtLhkHklHqGhMky7MMvgHnrCxhjvZUEW/org 54RUabXyxs04Y5P7m8J7jSGoa/z/NVU+ChSoveGWd6tflVW6jkn2zibOCf48grJPzgL/ j6sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=/4lsKIz7oM6RX71gG+xZtZB7c/kNffOUljGmCdKp4ss=; b=BbnwA1yhpZpePj6BRcU+DtwVxezRXuuSTmQkFdBp2bJReAmI93ZDSm53pXwkIQlwAo 3fnpcSeNBqFPnK27KVht94uJSgGd4rNexm7kfk1jX5z+x8N7k6wXAsBvomVeT2jndfNV grPT0Yy0JiLBKp7QRo3uewP3RgxxYzH6ogLABaiOanCpBr97CdVXwdyrLFrZ9Yhv67MS K5AFcnFE6G6jc0d3flrExR+1wc0cWRTdAguZmZEB+NLOK7zkAP+aZP8gbxv6PwU57p1f AYBBQxQKzzRhCscNRLEVGN3wZzpTzU+aenfMK1tlZ/QUCamUWpkakYvzBx7p02jQje0A k58g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HTDnnWHe; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i65si32744610oif.15.2020.01.06.00.54.34; Mon, 06 Jan 2020 00:54:46 -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=@kernel.org header.s=default header.b=HTDnnWHe; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726290AbgAFIwm (ORCPT + 99 others); Mon, 6 Jan 2020 03:52:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:58400 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725446AbgAFIwm (ORCPT ); Mon, 6 Jan 2020 03:52:42 -0500 Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3771A20848; Mon, 6 Jan 2020 08:52:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578300761; bh=b6Jis3RiiTkEdaovjFiMev+VfEAJ4NDUdWfvEPs7Izk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HTDnnWHe5BMQnU1cBoXzYTmvaoDk/vche4AjdcYnWaVziDBfO8fcm0yi8nE35bAhd rQydGnEDNZbUSuPArT2zCGmx0+BnIbbalkc3Fo6GZQf3tkgaA0M7zwryjx2seDXC8y ZajiILbRR76q/JCxp99K1c6XXlfMztB1H3hwqLrQ= Date: Mon, 6 Jan 2020 09:52:39 +0100 From: Maxime Ripard To: Chen-Yu Tsai Cc: Rob Herring , Mark Rutland , Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/7] media: sun4i-csi: A10/A20 CSI1 and R40 CSI0 support Message-ID: <20200106085239.6cpynhhnkr2sx7mt@gilmour.lan> References: <20200106084240.1076-1-wens@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="24s53jh5fxrslbfy" Content-Disposition: inline In-Reply-To: <20200106084240.1076-1-wens@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --24s53jh5fxrslbfy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jan 06, 2020 at 04:42:33PM +0800, Chen-Yu Tsai wrote: > From: Chen-Yu Tsai > > Hi everyone, > > This is v2 of my A10/A20 CSI1 and R40 CSI0 series. v2 is simply the > remaining patches rebased on top of linux-next 20200106, with the > MBUS device tree binding changes converted to YAML format. > > This series adds basic support for CSI1 on Allwinner A10/A20 and CSI0 on > Allwinner R40. The CSI1 block has the same structure and layout as the > CSI0 block. Differences include: > > - Only one channel in BT.656 instead of four in CSI0 > - 10-bit raw data input vs 8-bit in CSI0 > - 24-bit RGB888/YUV444 input vs 16-bit RGB565/YUV422 in CSI0 > - No ISP hardware (CSI SCLK not needed) > > The CSI0 block in the Allwinner R40 SoC looks to be the same as the one > in the A20. The register maps line up, and they support the same > features. The R40 appears to support BT.1120 based on the feature > overview, but it is not mentioned anywhere else. Also like the A20, the > ISP is not mentioned, but the CSI special clock needs to be enabled for > the hardware to function. The manual does state that the CSI special > clock is the TOP clock for all CSI hardware, but currently no hardware > exists for us to test if CSI1 also depends on it or not. > > Included are a couple of fixes for signal polarity and DRAM offset > handling. > > Patches 1 and 2 add CSI1 to A10 (sun4i) and A20 (sun7i) dtsi files. > > Patch 3 adds a compatible string for the R40's MBUS (memory bus). > This patch needs to go through Rob's tree as it now depends on > the patch "dt-bindings: interconnect: Convert Allwinner MBUS > controller to a schema" that was already merged. > > Patch 4 adds CSI0 to the R40 dtsi file > > Patches 5 through 7 are examples of cameras hooked up to boards. Applied 1,2 and 4, thanks! Maxime --24s53jh5fxrslbfy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXhL1VwAKCRDj7w1vZxhR xfDyAQCkgCSqpGYC5RzFk6hId5gLqLdB/gJiXK0I0mFarhoq/gEAryLfeP9h5uAO wCxioJw0iIMDgJfMOOHQz69VhQbrYQY= =Gazn -----END PGP SIGNATURE----- --24s53jh5fxrslbfy--