Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3398846ybl; Sun, 15 Dec 2019 09:01:52 -0800 (PST) X-Google-Smtp-Source: APXvYqxIrXFxDleBbPu7pQPPu5XvK7Z+WJ8xkQRAHS4pyQ9U6zwCe7me3KfIDpPRNw7RolgquYii X-Received: by 2002:a9d:4789:: with SMTP id b9mr28166558otf.110.1576429312116; Sun, 15 Dec 2019 09:01:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576429312; cv=none; d=google.com; s=arc-20160816; b=aQf6T+uReZ0w2tSbGTUj/EMBvqMhM3DeoNG2n9MvouDHRZE6EOk/J7o/PQJJjR/ZXf 1T++TZyfr/i1pzg70hUH7pxV0DuODxqG55kouNOBmjqRiL64S4+meoDcOpYROWNhukf/ rWGN3Eha6h6XLNsvXLT9v0jPnBJ4vaSFbcH66++jqQHRVi5nWjgCtUkW2dkdBaoy6MNL SZGuyNIgvw1Dk39TXjwo7JQXSeBb51oP4JUIzlvpeXXkjRAtvIE+CpeNUvWm4gWn7/7Q D52ju8mtX8o8umNqEcqqSwzaQRs9tPS4SQZDUjMj/63up/1GM804KAhhdMKIF+bKmD9r wa5A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZM/rZWDg2hQObKgk+J79HTmWkyCTX41UDOFUPm80JjA=; b=VsPZrxEMf8QyLWI6oQoxvWTiJ/WN8/q2iosNU+GNsEV8vWwADxnWzmt6tFNjI69lnC deqPED4DxpV6YT2StyC59JzUsoHwBKZ32Q6+Gu0eyt2S3/zY4oWVUl6HHqFlXoGpWS6f plcbnD+wK605jQb3jqMBUfRRX3QffdmnWIE0bi16R2OxDAYRSf9MoXFlfyxoZr7U+GFp juwiV1rnELRnxN9J46mFbpqDRlvzAF3rStR9v5S2LF6HbXoOO2rOWL2vDUZPxOksl5na 9exT2XqTc/pvDWRXUB6Zr1RZjGuF5fFphc9K1H4nrA0QRps7rVvayod72srsDM8L+A0d FpXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kjb8SO0l; 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 k130si8556031oih.135.2019.12.15.09.01.41; Sun, 15 Dec 2019 09:01:52 -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=kjb8SO0l; 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 S1726295AbfLOQ7a (ORCPT + 99 others); Sun, 15 Dec 2019 11:59:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:54860 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726130AbfLOQ7a (ORCPT ); Sun, 15 Dec 2019 11:59:30 -0500 Received: from wens.tw (mirror2.csie.ntu.edu.tw [140.112.30.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 61D1822B48; Sun, 15 Dec 2019 16:59:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576429169; bh=AggvsG1/GZy0NVHIzr7eHUOA85RmCqX0dOr608p8zzA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kjb8SO0ljbi+aEGO76d4lW2vkCTjPXBcJEiB5YmicJ5tnekR7Bo8nxXTjwOGFKgl0 4FTvCWTEShVqVAs4AIZqM7d7S6IEHs3SOTtLitqhccgYJ4nBWYIy4HwGXcKtZ/x8Vt ZgX9Dv1i4h3TNz0hi9zQMc5zRZ9TZPSWlvMtriio= Received: by wens.tw (Postfix, from userid 1000) id 271EE5FD21; Mon, 16 Dec 2019 00:59:26 +0800 (CST) From: Chen-Yu Tsai To: Maxime Ripard , Mauro Carvalho Chehab , Sakari Ailus , Rob Herring , Mark Rutland Cc: Chen-Yu Tsai , linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Chen-Yu Tsai Subject: [PATCH 02/14] dt-bindings: media: sun4i-csi: Add compatible for CSI0 on R40 Date: Mon, 16 Dec 2019 00:59:12 +0800 Message-Id: <20191215165924.28314-3-wens@kernel.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191215165924.28314-1-wens@kernel.org> References: <20191215165924.28314-1-wens@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chen-Yu Tsai 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. Add a compatible string for the CSI0 block in the R40, with the A20 compatible string as a fallback. Signed-off-by: Chen-Yu Tsai --- .../devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml b/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml index 221fe630c7d5..d486321b13f5 100644 --- a/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml +++ b/Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml @@ -22,6 +22,9 @@ properties: - items: - const: allwinner,sun7i-a20-csi1 - const: allwinner,sun4i-a10-csi1 + - items: + - const: allwinner,sun8i-r40-csi0 + - const: allwinner,sun7i-a20-csi0 reg: maxItems: 1 -- 2.24.0