From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 70A80C433B4 for ; Thu, 15 Apr 2021 16:40:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4DA7D6124B for ; Thu, 15 Apr 2021 16:40:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234085AbhDOQkl (ORCPT ); Thu, 15 Apr 2021 12:40:41 -0400 Received: from mail-oi1-f176.google.com ([209.85.167.176]:42499 "EHLO mail-oi1-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233916AbhDOQkg (ORCPT ); Thu, 15 Apr 2021 12:40:36 -0400 Received: by mail-oi1-f176.google.com with SMTP id n140so24868142oig.9; Thu, 15 Apr 2021 09:40:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=sNbinBAo/5NA8QLcwtnCqydROuE/q5gCZdDvbMIWpto=; b=VhiklPryflj2cXtXa73Ur5KQ70Fg9mQ0QhX+xNCr9R+wVgdabIi9JTzoI4Z7e7udlm kxbdWAPNxpghig5FgWc/X59JsWd/hAP5Y0EiFIhpS51Xq7eLj51ggYgvkriSzerQtSTf itFXLPhtE0Pa9JFwT/Bk3v1WEm9XoHeM2z6BqPjRsqT6BjZRbrFrTYWqHJNsA3CFvsG9 KX9B9kemhYLNPFvPpb2gJ5UAwZX1XqGc55cE1y9SPI5aVwDVswj9WNYbFg5xib1pKSei aV84OSvwAfoww3+C+QMUYCWO+aR9vsGP2KTlxncwev/OgsPiaa5D9OB9+VLgD/Fmd39v qxtw== X-Gm-Message-State: AOAM531KjUg2U2o2wkpwIB2raawoN/6KjBc+Eh/1NZXqpzmtqwzu4yhT lUcfyi78cB7VDObeU7+QMDFoTyqKyA== X-Google-Smtp-Source: ABdhPJw1wNTGv09rmaL86iTOfnFYVM9FwmSM3O9bB1v/h1nqYWkWzRcd5kCg12eFtbNWJT1zalbV3Q== X-Received: by 2002:aca:ad87:: with SMTP id w129mr3180608oie.35.1618504813073; Thu, 15 Apr 2021 09:40:13 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id e44sm747794ote.21.2021.04.15.09.40.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Apr 2021 09:40:12 -0700 (PDT) Received: (nullmailer pid 1534646 invoked by uid 1000); Thu, 15 Apr 2021 16:40:11 -0000 Date: Thu, 15 Apr 2021 11:40:11 -0500 From: Rob Herring To: Eugen Hristev Cc: devicetree@vger.kernel.org, linux-media@vger.kernel.org, jacopo@jmondi.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 30/33] dt-bindings: media: add microchip,xisc device bindings Message-ID: <20210415164011.GA1533489@robh.at.kernel.org> References: <20210413105731.610028-31-eugen.hristev@microchip.com> <20210415085846.824796-1-eugen.hristev@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210415085846.824796-1-eugen.hristev@microchip.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 15, 2021 at 11:58:46AM +0300, Eugen Hristev wrote: > Add bindings for the Microchip eXtended Image Sensor Controller. > Based on the atmel,isc.yaml binding. > > Signed-off-by: Eugen Hristev > --- > .../bindings/media/microchip,xisc.yaml | 129 ++++++++++++++++++ > 1 file changed, 129 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/microchip,xisc.yaml > > diff --git a/Documentation/devicetree/bindings/media/microchip,xisc.yaml b/Documentation/devicetree/bindings/media/microchip,xisc.yaml > new file mode 100644 > index 000000000000..c829fa3d2e0e > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/microchip,xisc.yaml > @@ -0,0 +1,129 @@ > +# SPDX-License-Identifier: GPL-2.0-only Dual license still missing. > +# Copyright (C) 2021 Microchip Technology, Inc. > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/microchip,xisc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Microchip eXtended Image Sensor Controller (XISC) > + > +maintainers: > + - Eugen Hristev > + > +description: | > + The eXtended Image Sensor Controller (XISC) device provides the video input capabilities for the > + Microchip AT91 SAM family of devices. > + > + The XISC has a single internal parallel input that supports RAW Bayer, RGB or YUV video. > + The source can be either a demuxer from a CSI2 type of bus, or a simple direct bridge to a > + parallel sensor. > + > + The XISC provides one clock output that is used to clock the demuxer/bridge. > + > +properties: > + compatible: > + const: microchip,sama7g5-isc > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + clock-names: > + items: > + - const: hclock > + > + '#clock-cells': > + const: 0 > + > + clock-output-names: > + const: isc-mck > + > + microchip,mipi-mode: > + type: boolean > + description: > + As the XISC is usually connected to a demux/bridge, the XISC receives > + the same type of input, however, it should be aware of the type of > + signals received. The mipi-mode enables different internal handling > + of the data and clock lines. > + > + port: > + $ref: /schemas/graph.yaml#/properties/port > + description: > + Input port node, single endpoint describing the input pad. > + > + properties: > + endpoint: > + $ref: video-interfaces.yaml# > + > + properties: > + bus-type: > + enum: [5, 6] > + > + remote-endpoint: true > + > + bus-width: > + enum: [8, 9, 10, 11, 12] > + default: 12 > + > + hsync-active: > + enum: [0, 1] > + default: 1 > + > + vsync-active: > + enum: [0, 1] > + default: 1 > + > + pclk-sample: > + enum: [0, 1] > + default: 1 > + > + required: > + - remote-endpoint > + - bus-type > + > + additionalProperties: false > + > + additionalProperties: false > + > +required: > + - compatible > + - reg > + - clocks > + - clock-names > + - '#clock-cells' > + - clock-output-names > + - port > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + > + xisc: xisc@e1408000 { > + compatible = "microchip,sama7g5-isc"; > + reg = <0xe1408000 0x2000>; > + interrupts = ; > + clocks = <&pmc PMC_TYPE_PERIPHERAL 56>; > + clock-names = "hclock"; > + #clock-cells = <0>; > + clock-output-names = "isc-mck"; > + > + port { > + xisc_in: endpoint { > + bus-type = <5>; /* Parallel */ > + remote-endpoint = <&csi2dc_out>; > + hsync-active = <1>; > + vsync-active = <1>; > + bus-width = <12>; > + }; > + }; > + }; > + > -- > 2.25.1 > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7CF5DC433ED for ; Thu, 15 Apr 2021 16:42:17 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DEF056113D for ; Thu, 15 Apr 2021 16:42:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DEF056113D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=VtSDZghqk7t2Uv3UcYVpRwjrdxOY+6XfpIXjMP4N/xg=; b=o9YCxs0ElUQNoCrygyb9OxN3G qXWnezopwIArc1eeF8TlzexgeSOil0ml4eDUUzoX9uQfD8o+oKKZZbfjaKt+6YDv+7ibwNtdU4A9y fwFnxnzvjXILX9qQuta/ztCYEcM7f9uuwQm3GzbSguwHN2FIEhm85lOzPAMFYLcLRpt8KonM9m+y6 XFiqkws+3QiBXQcY2ucqRCKxZF4jsjOWH3FlDyAGh/IW+ZGBOTX5qGdwk5Prz1GjKgEK3yHhFA0kR Zb0zew5j8xD+5h/FT5GPiOePSFkSf+WKs43aRyHjHhZVojsdy3/nISsHcX25gqZiroddnNfvBzQv8 NCdSQ7gwA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lX52U-00Gl6t-0y; Thu, 15 Apr 2021 16:40:22 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lX52Q-00Gl6j-2b for linux-arm-kernel@desiato.infradead.org; Thu, 15 Apr 2021 16:40:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=sNbinBAo/5NA8QLcwtnCqydROuE/q5gCZdDvbMIWpto=; b=DeBl9BvpEAwx5eJOdEFvxMbvxy rjZAB7VQdqyru9q/os/TuFWz02sMXvviy0CzLkFRJqKeTJtt2TfU/DAXt7pTx7oswY8OevBf9ytfA 07qJ3R/1MDVY6cWMJ1Tt2GsFjk4Slz+FYKsVNcAhYuii/F1OYB2Dev3p2KeaCDGny9bOGjBwz8Vrb TtQmVp1GOn9OVScyWwQb0HAyjhOR/9xTujmpaA9yeRhvoAjF7nM0aw7DFGtFUaMyidNkskhfU3WDZ xY/9dH1TJ1u9JeKyteRDg1r2z/rIewz9D6tyZfOAac3ODgfalFkjxnSN6GaSe0/9K5+KEMOoDeEsa GRwALy/Q==; Received: from mail-oi1-f180.google.com ([209.85.167.180]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lX52M-008kYK-8c for linux-arm-kernel@lists.infradead.org; Thu, 15 Apr 2021 16:40:16 +0000 Received: by mail-oi1-f180.google.com with SMTP id x77so15500705oix.8 for ; Thu, 15 Apr 2021 09:40:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=sNbinBAo/5NA8QLcwtnCqydROuE/q5gCZdDvbMIWpto=; b=nl1gyVo/ewUbrg5B1fDPj0RGzGBIFrqmv4HOsBfRhdjD2vzBOVLB7Kf/vcqBKpJkCu dGyW28zUFxAoXz9LGL5/0t0f9xUG9ZdIN7lSxP0JdKcJtbfRN35vFx/HudXN29y4LFKB d+lhpq6r+jkVcFDAmNllZ4Z5dr4oZdF9BwnVDyUT43LdpkpM8jc/fcJzIfYGdwhz1spe aUk/ya/cy1pW1wZFmFd7kIxl0VHMHlhfKOuKZlrh0r4Ntnab/qm1TGe2XgQ2XH1AmGxB KcXIdikc9xQ4R0M2n4lyJi144TuRpSgCiMFm79Ml1o+BiyODon823PrtYnXRKF1oQTi+ DUVw== X-Gm-Message-State: AOAM530U0PaV8SCspjQ5r++15Hv/iCNlV1jN1ZMP5jm/tAmMUa2pQcZj 4MInlXyNV4c5KDIsHmryEg== X-Google-Smtp-Source: ABdhPJw1wNTGv09rmaL86iTOfnFYVM9FwmSM3O9bB1v/h1nqYWkWzRcd5kCg12eFtbNWJT1zalbV3Q== X-Received: by 2002:aca:ad87:: with SMTP id w129mr3180608oie.35.1618504813073; Thu, 15 Apr 2021 09:40:13 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id e44sm747794ote.21.2021.04.15.09.40.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Apr 2021 09:40:12 -0700 (PDT) Received: (nullmailer pid 1534646 invoked by uid 1000); Thu, 15 Apr 2021 16:40:11 -0000 Date: Thu, 15 Apr 2021 11:40:11 -0500 From: Rob Herring To: Eugen Hristev Cc: devicetree@vger.kernel.org, linux-media@vger.kernel.org, jacopo@jmondi.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 30/33] dt-bindings: media: add microchip,xisc device bindings Message-ID: <20210415164011.GA1533489@robh.at.kernel.org> References: <20210413105731.610028-31-eugen.hristev@microchip.com> <20210415085846.824796-1-eugen.hristev@microchip.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210415085846.824796-1-eugen.hristev@microchip.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210415_094014_329506_4475475C X-CRM114-Status: GOOD ( 23.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Apr 15, 2021 at 11:58:46AM +0300, Eugen Hristev wrote: > Add bindings for the Microchip eXtended Image Sensor Controller. > Based on the atmel,isc.yaml binding. > > Signed-off-by: Eugen Hristev > --- > .../bindings/media/microchip,xisc.yaml | 129 ++++++++++++++++++ > 1 file changed, 129 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/microchip,xisc.yaml > > diff --git a/Documentation/devicetree/bindings/media/microchip,xisc.yaml b/Documentation/devicetree/bindings/media/microchip,xisc.yaml > new file mode 100644 > index 000000000000..c829fa3d2e0e > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/microchip,xisc.yaml > @@ -0,0 +1,129 @@ > +# SPDX-License-Identifier: GPL-2.0-only Dual license still missing. > +# Copyright (C) 2021 Microchip Technology, Inc. > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/media/microchip,xisc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Microchip eXtended Image Sensor Controller (XISC) > + > +maintainers: > + - Eugen Hristev > + > +description: | > + The eXtended Image Sensor Controller (XISC) device provides the video input capabilities for the > + Microchip AT91 SAM family of devices. > + > + The XISC has a single internal parallel input that supports RAW Bayer, RGB or YUV video. > + The source can be either a demuxer from a CSI2 type of bus, or a simple direct bridge to a > + parallel sensor. > + > + The XISC provides one clock output that is used to clock the demuxer/bridge. > + > +properties: > + compatible: > + const: microchip,sama7g5-isc > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + clocks: > + maxItems: 1 > + > + clock-names: > + items: > + - const: hclock > + > + '#clock-cells': > + const: 0 > + > + clock-output-names: > + const: isc-mck > + > + microchip,mipi-mode: > + type: boolean > + description: > + As the XISC is usually connected to a demux/bridge, the XISC receives > + the same type of input, however, it should be aware of the type of > + signals received. The mipi-mode enables different internal handling > + of the data and clock lines. > + > + port: > + $ref: /schemas/graph.yaml#/properties/port > + description: > + Input port node, single endpoint describing the input pad. > + > + properties: > + endpoint: > + $ref: video-interfaces.yaml# > + > + properties: > + bus-type: > + enum: [5, 6] > + > + remote-endpoint: true > + > + bus-width: > + enum: [8, 9, 10, 11, 12] > + default: 12 > + > + hsync-active: > + enum: [0, 1] > + default: 1 > + > + vsync-active: > + enum: [0, 1] > + default: 1 > + > + pclk-sample: > + enum: [0, 1] > + default: 1 > + > + required: > + - remote-endpoint > + - bus-type > + > + additionalProperties: false > + > + additionalProperties: false > + > +required: > + - compatible > + - reg > + - clocks > + - clock-names > + - '#clock-cells' > + - clock-output-names > + - port > + > +additionalProperties: false > + > +examples: > + - | > + #include > + #include > + #include > + > + xisc: xisc@e1408000 { > + compatible = "microchip,sama7g5-isc"; > + reg = <0xe1408000 0x2000>; > + interrupts = ; > + clocks = <&pmc PMC_TYPE_PERIPHERAL 56>; > + clock-names = "hclock"; > + #clock-cells = <0>; > + clock-output-names = "isc-mck"; > + > + port { > + xisc_in: endpoint { > + bus-type = <5>; /* Parallel */ > + remote-endpoint = <&csi2dc_out>; > + hsync-active = <1>; > + vsync-active = <1>; > + bus-width = <12>; > + }; > + }; > + }; > + > -- > 2.25.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel