Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp664504yba; Sat, 13 Apr 2019 10:17:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqy9mJHYoB/14g9XdgOs/iDl38S7vaAcxgFi1UomZ6PGMTSiAaFIW/Hc6TQPp/7O0I7ii5nx X-Received: by 2002:a63:e304:: with SMTP id f4mr56986597pgh.374.1555175874897; Sat, 13 Apr 2019 10:17:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555175874; cv=none; d=google.com; s=arc-20160816; b=T95Zm18eyyLhXu610j5akIz4sJIaknd77B4ziGJ+iTlPCvFwTU0TpSbxQjJdBtxTJq 2a7CP48ttR92XkOlCgYRzYP6Jb59HTxsvcA/Q1F3f0T3Ewx7EpUPORn16EJYGLbgIalA u1TRnvax4ryQVOXhSIxMNEVgsnKF3+3B5CiclKC4nMb2sYWD9BV/ip435uPNHPY20caG TFbMiiCLG4D6C3oc5etHpYAi0hqDQffU4NolpptnaATm2DRVQ7r8UHTdnnSVa2dsJtka 0Lc+PXSJdhD0U1ehPJQtbGyMcUSLjAjWS+Tg7UA/ZwRYdOQsuI4wbELbJip1WoQydXaa X9ZA== 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=OZ3paJ4iaXOzR0Hh0oek905P7Hhbe2Wppg/n8TWnHTU=; b=CXG0gE0JTCRdd/Ly5mWgD0rXj+L9l1CSx1qkmKHoZOgqJG40yUPxpLWSLB9grqahVg W6Lhr1/148mgRPp5CWy2H6va6qEy2DibxmlvbqkLk0iWrN2tTWTt8ZPZgfgsVoTZ6hzx jbQ+7WcGXE/nj7MW5XmcW0KXjq8KlRUx1TYQVwhounLQ2Peb2RbnEA7bRct04TCjTB0e dtdTR4CVbszOl7aqCBz553EKKjMgfOrbiC6rukl7qa9GbdctpGPyfIbgKnCKqunJpZZ1 +fR1EOjWcNq4H6oheA03+5eDkI3Dno0QDFnduQhEdLMeLR1tk2MxIMylVoD8sLwh8HE6 bAbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=bIpUOE8j; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n1si25003987pld.280.2019.04.13.10.17.39; Sat, 13 Apr 2019 10:17:54 -0700 (PDT) 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=@googlemail.com header.s=20161025 header.b=bIpUOE8j; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727341AbfDMRPr (ORCPT + 99 others); Sat, 13 Apr 2019 13:15:47 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:46420 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726973AbfDMRPr (ORCPT ); Sat, 13 Apr 2019 13:15:47 -0400 Received: by mail-wr1-f65.google.com with SMTP id t17so15960044wrw.13 for ; Sat, 13 Apr 2019 10:15:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OZ3paJ4iaXOzR0Hh0oek905P7Hhbe2Wppg/n8TWnHTU=; b=bIpUOE8jEzfxn96g3+L1cxFhVg5eOBg6wm3FOY1b4ni8R4YIqZAXDQ4ViGxB2s13vn oaRJorQjEvbqQcyt0vDtc11KV7eQOhUvrm1FxYbP+LAeRv2mybvLaDNi71/UfbDTq9NX 1qwg/yByJLwZc1WCL+zpVKfWmrHw9X8w5gGdL5Riikk6nwdbxQWCQuWAxpAddDk4Ujm3 xnDDFPtw+oCdnQdbOF+YxfpWsZsAgwPQvHAgAQgdgSc/ckC2ZrzAGI0fz42HIBMwL5Os 8Ne4gEchcHb94vIrZVucFlw17V3FhfzSkjhSPVN89bLExBQ2QFhSfP4PnfxUfdnWjbAb aCKA== 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=OZ3paJ4iaXOzR0Hh0oek905P7Hhbe2Wppg/n8TWnHTU=; b=Es6e3+wkoiQ1G+R9c8L0L4DBWMpCw06G52Ml3sW4xU1nWxCRCq2uNOf4AsmsVScs2o fh4kRYHObw0aGlR0BIlEkG8mLpbcJh+yQv+wD0mLc59yEM2OhZTo6plcVJXZEROgYmFE ENKvsveS+NDULy/54JE4+eMaL95THIJKpsXCNbWBFD4gPXnk+EOI4ckBSWeMa0wNcoS3 Cr4YQYHUr8g8drtlfvp2AvME4NrKjjWuk3LyvI+D8F2vLdjpQWEoyZe5FrKK7yuP7KAK NRMxdMlkzzi9adLfw3eL8L91tCAZwTPfc57GQgw1RimhfZ1erXh4D6c1wvfWtUXj3L3m 3KWQ== X-Gm-Message-State: APjAAAXMbZC6qPlQ7K/1liYfxPZC4SKC36OGBjKwCSGog9EAv8wLIkTe 6QrYEIgulOxapQ78LkBFPLU= X-Received: by 2002:adf:e443:: with SMTP id t3mr13640311wrm.257.1555175745527; Sat, 13 Apr 2019 10:15:45 -0700 (PDT) Received: from blackbox.darklights.net (p200300F133C8AD0010B8127C043607D1.dip0.t-ipconnect.de. [2003:f1:33c8:ad00:10b8:127c:436:7d1]) by smtp.googlemail.com with ESMTPSA id h84sm16745965wmf.15.2019.04.13.10.15.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Apr 2019 10:15:44 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, khilman@baylibre.com Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, mjourdan@baylibre.com, Martin Blumenstingl Subject: [PATCH 0/3] 32-bit Meson: add the canvas module Date: Sat, 13 Apr 2019 19:15:29 +0200 Message-Id: <20190413171532.25967-1-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.21.0 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 This adds the canvas module on Meson8, Meson8b and Meson8m2. The canvas IP is used by the video decoder hardware as well as the VPU (video output) hardware. Neither the VPU nor the video decoder driver support the 32-bit SoCs yet. However, we can still add the canvas module to have it available once these drivers gain support for the older SoCs. I have tested this on my Meson8m2 board by hacking the VPU driver to not re-initialize the VPU (and to use the configuration set by u-boot). With that hack I could get some image out of the CVBS connector. No changes to the canvas driver were required. Due to lack of hardware I could not test Meson8, but I'm following (as always) what the Amlogic 3.10 vendor kernel uses. Meson8b is also not tested because u-boot of my EC-100 doesn't have video output enabled (so I couldn't use the same hack I used on my Meson8m2 board). This series meant to be applied on top of "Meson8b: add support for the RTC on EC-100 and Odroid-C1" from [0] [0] https://patchwork.kernel.org/cover/10899509/ Martin Blumenstingl (3): ARM: dts: meson8: add the canvas module ARM: dts: meson8m2: update the offset of the canvas module ARM: dts: meson8b: add the canvas module arch/arm/boot/dts/meson8.dtsi | 21 +++++++++++++++++++++ arch/arm/boot/dts/meson8b.dtsi | 21 +++++++++++++++++++++ arch/arm/boot/dts/meson8m2.dtsi | 10 ++++++++++ 3 files changed, 52 insertions(+) -- 2.21.0