Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp422188imm; Tue, 7 Aug 2018 22:28:36 -0700 (PDT) X-Google-Smtp-Source: AA+uWPx2+PE9dSbf/sWtefndPT5Oi75c0lQZHLpX/SsejgiFLh9IpmJBUYSRpXL+n+AGKT29SdaP X-Received: by 2002:a63:ef54:: with SMTP id c20-v6mr1099548pgk.368.1533706116518; Tue, 07 Aug 2018 22:28:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533706116; cv=none; d=google.com; s=arc-20160816; b=ef8EEym62OZIegDqWhglZ62GOfZRmYXCbrarGHx2629zy1tqXolItmwGIblsJlKque QVYjAhLPggUlUa/ipkoGK8oUtjGMUzQ1nt8boXU5Kh7HUAHXWR8VCegksjs7CIhJEDJr EC+QNmR+wwdtx5s8Dx90rOx5G/eOS8SzG3ebbMdNnGtnKQZEtKi929Bax1acXkluqj6B VMQxHCEX0Kv5+DtuwsD0GCGxNCwlkjaMlkCjHjk5MDsDjkO4ylM3ltI01YdSVC77iDLd 08Dis6RgJXyHdVbQT4LmaBmUMB4a9By1lf7XtUigOj6JC5dCV9vO9vaRXZuZSsSFy329 5h1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=QTE+Z4MDnytxS/V7XczC1gVHl2UaM2zA9nqMB7UtLrA=; b=qiNif5t04flkSq2KKSmNwtJfFpqPbVj9+tYbs1jcKICF7rSulij1JfsmVr/b8cBK0m LDmuT+EiZvEpaSKGDj3xQi7b1TqfU02AS5QqfpiCpm8jMgP427GDrYPrRIjXfyF9AW5y HjS1PMFM8LcYlq98Sz/vNrGL2AvBvGGMEt1imM1/V81PQI/4pfDJYBm3ZYZVpXALOTsu NFvWjTux0evXzhEn62BdvsAKJnMHV8aIesMYB+vgh7CxQiWV+fxI2DefzoUNu5VZt+Q2 7Kxp4nQRWga7VM11ACU4QXZmjaftZg3aTiGQwOW5Bylno1XLKg51xiMX18KieE8hK00k RBvA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e82-v6si3743470pfh.64.2018.08.07.22.28.21; Tue, 07 Aug 2018 22:28:36 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727026AbeHHHn1 (ORCPT + 99 others); Wed, 8 Aug 2018 03:43:27 -0400 Received: from mx.socionext.com ([202.248.49.38]:4065 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726538AbeHHHn1 (ORCPT ); Wed, 8 Aug 2018 03:43:27 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 08 Aug 2018 14:25:33 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id 5C04B18015C; Wed, 8 Aug 2018 14:25:33 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) by m-FILTER with ESMTP; Wed, 8 Aug 2018 14:25:33 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by iyokan.css.socionext.com (Postfix) with ESMTP id E437540372; Wed, 8 Aug 2018 14:25:32 +0900 (JST) Received: from aegis.e01.socionext.com (unknown [10.213.134.210]) by yuzu.css.socionext.com (Postfix) with ESMTP id BC548120415; Wed, 8 Aug 2018 14:25:32 +0900 (JST) From: Katsuhiro Suzuki To: Mauro Carvalho Chehab , linux-media@vger.kernel.org Cc: Masami Hiramatsu , Jassi Brar , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Katsuhiro Suzuki Subject: [PATCH v2 0/7] add UniPhier DVB Frontend system support Date: Wed, 8 Aug 2018 14:25:12 +0900 Message-Id: <20180808052519.14528-1-suzuki.katsuhiro@socionext.com> X-Mailer: git-send-email 2.18.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds support for DVB Frontend system named HSC support for UniPhier LD11/LD20 SoCs. This driver supports MPEG2-TS serial signal input from external demodulator and DMA MPEG2-TS stream data onto memory. UniPhier HSC driver provides many ports of TS input. Since the HSC has mixed register map for those ports. It hard to split each register areas. --- Changes from v1: DT bindings - Fix mistakes of spelling - Rename uniphier,hsc.txt -> socionext,uniphier-hsc.txt Kconfig, Makefile - Add COMPILE_TEST, REGMAP_MMIO - Add $(srctree) to include path option Headers - Split large patch - Remove more unused definitions - Remove unneeded const - Replace enum that has special value into #define - Remove weird macro from register definitions - Remove field_get/prop inline functions Modules - Split register definitions, function prototypes - Fix include lines - Fix depended config - Remove redundant conditions - Drop adapter patches, and need no patches to build - Merge uniphier-adapter.o into each adapter drivers - Split 3 modules (core, ld11, ld20) to build adapter drivers as module - Fix compile error if build as module - Use hardware spec table to remove weird macro from register definitions - Use usleep_range instead of msleep - Use shift and mask instead of field_get/prop inline functions Katsuhiro Suzuki (7): media: uniphier: add DT bindings documentation for UniPhier HSC media: uniphier: add DMA common file of HSC media: uniphier: add CSS common file of HSC media: uniphier: add TS common file of HSC media: uniphier: add ucode load common file of HSC media: uniphier: add platform driver module of HSC media: uniphier: add LD11/LD20 HSC support .../bindings/media/socionext,uniphier-hsc.txt | 38 ++ drivers/media/platform/Kconfig | 1 + drivers/media/platform/Makefile | 2 + drivers/media/platform/uniphier/Kconfig | 19 + drivers/media/platform/uniphier/Makefile | 5 + drivers/media/platform/uniphier/hsc-core.c | 515 ++++++++++++++++++ drivers/media/platform/uniphier/hsc-css.c | 250 +++++++++ drivers/media/platform/uniphier/hsc-dma.c | 212 +++++++ drivers/media/platform/uniphier/hsc-ld11.c | 273 ++++++++++ drivers/media/platform/uniphier/hsc-reg.h | 272 +++++++++ drivers/media/platform/uniphier/hsc-ts.c | 127 +++++ drivers/media/platform/uniphier/hsc-ucode.c | 416 ++++++++++++++ drivers/media/platform/uniphier/hsc.h | 389 +++++++++++++ 13 files changed, 2519 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/socionext,uniphier-hsc.txt create mode 100644 drivers/media/platform/uniphier/Kconfig create mode 100644 drivers/media/platform/uniphier/Makefile create mode 100644 drivers/media/platform/uniphier/hsc-core.c create mode 100644 drivers/media/platform/uniphier/hsc-css.c create mode 100644 drivers/media/platform/uniphier/hsc-dma.c create mode 100644 drivers/media/platform/uniphier/hsc-ld11.c create mode 100644 drivers/media/platform/uniphier/hsc-reg.h create mode 100644 drivers/media/platform/uniphier/hsc-ts.c create mode 100644 drivers/media/platform/uniphier/hsc-ucode.c create mode 100644 drivers/media/platform/uniphier/hsc.h -- 2.18.0