Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3373525pxv; Mon, 28 Jun 2021 03:12:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgfSWt3uEzLdvrMr8rLy8TxzDXhiIQL5NhnDpS7rI/XPyCpzjXytYVNeSG1QFPf983VHeR X-Received: by 2002:a92:dc0f:: with SMTP id t15mr8613050iln.228.1624875166057; Mon, 28 Jun 2021 03:12:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624875166; cv=none; d=google.com; s=arc-20160816; b=paxgNAAcR2qDwet2VpqDSbXr+SH6U3UMXjWR+ziXXz7tcDGQtULy6tT+nfixEb0gLa tbyaePYf91JcrQkRLCEEWAUt3+k3mCNffM9KSUNns+mlNubrc7WATkrWQhjCOa/zBTTc mdd1GFmiCDfj8fOWb0V4ZY/Vdjnn4rFvwT6Q2yKQpKGQGvaLdvk6i+6JUv1eQzx9JPdP UE2Qv2/UeP/1eY2GiX1ryJA3sjFPlu9aQigqw+wMPptrq/lylEd9K73M5KRFUV4nrvfn 63ijLsK2acJw5IjAfdCibDGnPOPDvUZC/1AlcTDcFZUbOeo/OD/y0XbApIvlOr5QklEa uJfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:date :subject:cc:to:from; bh=4MiduNHCPBJ5872wlPu/StuojDkV5FU0NgMQcdtjeY8=; b=T26sE3Yx7ivyCHSPN/RBXLnfPYv+sBuCVzcZNsT64K7NgkkUDaziIIQAUQHpVRKI2H /LdJr2Zsci9DO0gm1W43ZumkHgAWJnLACHgE08zxdz08cRAl2JwnIo2lmaLoKwM2Sspt M7SpcoadiTdPVmABUinjn2w+3u4cVyhF45y0NI1E79lWQSa5ChowyxbYYNmtJy9YOR8j h+4n0dVF4NP+oPf+2J1d0NbErgAGIJzNznMQb4ZIBbXeuVksI/PIhlJD1gXhB9vJd/eZ UC1A+e+nvDvFC8C1hZ4EuUwbjAQ4Q24aTBakfhG0Vg6B83C/1lQcYyRzrq041vHN9ult AKRQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y7si11224920ill.108.2021.06.28.03.12.32; Mon, 28 Jun 2021 03:12:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232590AbhF1KNo (ORCPT + 99 others); Mon, 28 Jun 2021 06:13:44 -0400 Received: from comms.puri.sm ([159.203.221.185]:37290 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232605AbhF1KNl (ORCPT ); Mon, 28 Jun 2021 06:13:41 -0400 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id AD110DFFE5; Mon, 28 Jun 2021 03:11:14 -0700 (PDT) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pTfszlv8GQBC; Mon, 28 Jun 2021 03:11:13 -0700 (PDT) From: Martin Kepplinger To: martin.kepplinger@puri.sm, krzysztof.kozlowski@canonical.com, laurent.pinchart@ideasonboard.com Cc: devicetree@vger.kernel.org, kernel@puri.sm, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, mchehab@kernel.org, paul.kocialkowski@bootlin.com, pavel@ucw.cz, phone-devel@vger.kernel.org, robh@kernel.org, shawnx.tu@intel.com Subject: [PATCH v6 0/5] Add support for the Hynix Hi-846 camera Date: Mon, 28 Jun 2021 12:10:49 +0200 Message-Id: <20210628101054.828579-1-martin.kepplinger@puri.sm> Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org hi, This patchset adds support for the SK Hynix Hi-846 CMOS images sensor. It includes dt-bindings and the driver. Patches 4 and 5 are basically optional: if i2c-cardlist is deprecated, ignore it and act on it appropriately, and the arm64 defconfig is just convenience for now. best wishes, martin revision history ---------------- v6: * better digital gain defaults * lane config fix found by smatch * fix regulator usage in power_on() v5: (thank you Laurent and Rob) * minor dt-bindings fixes * driver: disable lens shading correcting (no seed values yet used from "otp" for that) * add reviewed-tags * https://lore.kernel.org/linux-media/20210611101404.2553818-1-martin.kepplinger@puri.sm/ v4: (thank you Laurent, Sakari and Rob) many driver changes, see v3 review for details. they include: * add get_selection(), remove open() callback * use gpiod API * use regulator_bulk API * fix power supply timing sequence and bindings * https://lore.kernel.org/linux-media/20210607105213.1211722-1-martin.kepplinger@puri.sm/ v3: (thank you, Laurent) * use do_div() for divisions * reset-gpios DT property name instead of rst-gpios * improve the dt-bindings * add the phone-devel list * https://lore.kernel.org/linux-media/20210531120737.168496-1-martin.kepplinger@puri.sm/ v2: sent a bit early due to stupid mistakes * fix build issues * fix dtschema issues * add enable for arm64 defconfig * https://lore.kernel.org/linux-media/20210530212337.GA15366@duo.ucw.cz/T/#t v1: * https://lore.kernel.org/linux-media/20210527091221.3335998-1-martin.kepplinger@puri.sm/ Martin Kepplinger (5): dt-bindings: vendor-prefixes: Add SK Hynix Inc. dt-bindings: media: document SK Hynix Hi-846 MIPI CSI-2 8M pixel sensor media: i2c: add driver for the SK Hynix Hi-846 8M pixel camera Documentation: i2c-cardlist: add the Hynix hi846 sensor arm64: defconfig: enable VIDEO_HI846 .../admin-guide/media/i2c-cardlist.rst | 1 + .../bindings/media/i2c/hynix,hi846.yaml | 108 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 6 + arch/arm64/configs/defconfig | 1 + drivers/media/i2c/Kconfig | 13 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/hi846.c | 2128 +++++++++++++++++ 8 files changed, 2260 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml create mode 100644 drivers/media/i2c/hi846.c -- 2.30.2