Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp2703227pxb; Mon, 6 Sep 2021 03:30:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjOKUNz1u6ZtSjhVs9LievSn8tbLVbsmAxDK/LiAh95UD4AXmGRFw+nfaK4+4rL1+lr5CE X-Received: by 2002:a02:7355:: with SMTP id a21mr9984432jae.53.1630924237236; Mon, 06 Sep 2021 03:30:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630924237; cv=none; d=google.com; s=arc-20160816; b=vndspv4oIrHcXTUffjI5PFrFzgjenyZXsN9t2krejvSVei2O7+ocMq1y5+i83v+ig+ V2xPLV5TSICQr42vZpiu7q43brbaEpFXdYXt9JSP+7yNv9HnM52jVBkVTpRTqy4oVCWw qPoNSZ+FQPtp9um9XhoZhZrdX7wWlp5mej0HSvf7Lv63eXBCEuIYis+woEe41XyLZyVS 3AXgLcmrRWV8ikm8s07PDjIw/O5jEns82Lct7R3ZJyQC8Wc1pzi2J2UZZ/QvqqrpoHMJ aq+0VERFLwvNuJkIb3A+UG/91A4qkcNb6sTDrSH+WbDx4BcuyA51ml0QqddqmPoAjaBW CnpA== 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=ntXtTPtJAlR1eEtGN+m04vHZxcusvj1ILGLsMgs/zH8=; b=OniyPd5USv+1JtW8KP3neiw8XVvxgtScYW8NQcfQ0crzAvo3Vc7gYSYFXOYuC5p9jg 1jPfJTRQL8wDq/bEpd+rervb/zn7xqBLcbJovXjvpMaNxSB/2PfXaG6sxxtbA5nty3o4 VKwHBfcadxg3rX05d5c5o6+uz5cqynQLj1i6lCA4T/HShY51TLDFOdJ2VG+UwflrWJ+Q HdKQCAWU5lzonmSbInugWaP/uTAmwsuihTJEuo/ZFsElzZyl3NWgzrHTwtJ6G/AEGqn3 OlRtebk2O7dDZglmONHSqqr+MQmtlpAV8DegunNtRpIplvk3IGjKEuEaH7ocFQSU8nE2 wtQQ== 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 ay15si7135482iob.92.2021.09.06.03.30.25; Mon, 06 Sep 2021 03:30:37 -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 S241975AbhIFKan (ORCPT + 99 others); Mon, 6 Sep 2021 06:30:43 -0400 Received: from comms.puri.sm ([159.203.221.185]:55564 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241961AbhIFKam (ORCPT ); Mon, 6 Sep 2021 06:30:42 -0400 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 28FDDDFE32; Mon, 6 Sep 2021 03:29:08 -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 TTLMWKiI9g-L; Mon, 6 Sep 2021 03:29:03 -0700 (PDT) From: Martin Kepplinger To: pavel@ucw.cz, laurent.pinchart@ideasonboard.com, mchehab@kernel.org, sakari.ailus@iki.fi Cc: devicetree@vger.kernel.org, kernel@puri.sm, krzysztof.kozlowski@canonical.com, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, martin.kepplinger@puri.sm, paul.kocialkowski@bootlin.com, phone-devel@vger.kernel.org, robh@kernel.org, shawnx.tu@intel.com Subject: [PATCH v9 0/4] Add support for the Hynix Hi-846 camera Date: Mon, 6 Sep 2021 12:28:33 +0200 Message-Id: <20210906102837.2190387-1-martin.kepplinger@puri.sm> Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org hi, This series adds support for the SK Hynix Hi-846 CMOS images sensor. It includes the dt-bindings and the driver. best wishes, martin revision history ---------------- v9: (thank you Pavel and Sakari) * fix the probe() error paths (that I broke in v8) * cheanups v8: (thank you Laurent) * add fwnode properties support for orientation and rotation on the board * remove the arm64 defconfig addition patch. deal with that later. * https://lore.kernel.org/linux-media/20210831134344.1673318-1-martin.kepplinger@puri.sm/ v7: (thank you Sakari) * move the check for supported nr_lanes for a mode to set_format() * change get_selection() according to the Sakaris' review * check for the mipi link frequencies from DT * check for the external clock rate and add assigned-clock-rates requirement * https://lore.kernel.org/linux-media/20210712084137.3779628-1-martin.kepplinger@puri.sm/ v6: * better digital gain defaults * lane config fix found by smatch * fix regulator usage in power_on() * https://lore.kernel.org/linux-media/20210628101054.828579-1-martin.kepplinger@puri.sm/ 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 (4): 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 .../admin-guide/media/i2c-cardlist.rst | 1 + .../bindings/media/i2c/hynix,hi846.yaml | 120 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 6 + drivers/media/i2c/Kconfig | 13 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/hi846.c | 2190 +++++++++++++++++ 7 files changed, 2333 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml create mode 100644 drivers/media/i2c/hi846.c -- 2.30.2