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=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 D7648C433B4 for ; Thu, 20 May 2021 11:08:18 +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 5B01360FDB for ; Thu, 20 May 2021 11:08:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5B01360FDB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com 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:MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Gz0K4mHf0kvM9KVDlbngstCVu1YpF5ZsTcNAXEEKdgg=; b=BDYrsKz4DmimxLRhZCYXO5KGyp rGg6ZXHprOundq7nT0heOdjd5rAc9nMtude2ZP1anRvSPFVD732XBxV6Ep9cmsSiObkyFep1zvloB z726af2cmlLSsIK0wfFmwosTvgh1B7FsDJW50BoSx6kzlYeBM92CVn5pRqov0eBg4JZ0u3cgJ1ORa mcM9MXLvAFNX+1gFVdIBtLH1x4dWLvJXIsRyyqEyJNVOT3PKKMjGtwnVzvG+VYcgDw7aDaSa9V0A8 fVpK+dqU6hrBRi94x9CJ9nP0mwNlpBSAUBPUxUbBn8mpsLyQ04BpBCnzlxSGQSsyLkHotRNyNr8vZ 9Nrpge4Q==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljgVD-000Jqb-Dt; Thu, 20 May 2021 11:06:07 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ljgUs-000Jm3-BF for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 11:05:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=References:In-Reply-To:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description; bh=XBy9vet7ecbTieMl5w7ONcl3S+12Ffks8ZHajUtvih4=; b=eKhx/rKMDAa8Hr7dG0KD0mezos +Z8xYt6+gHYIRWL9IGMVJ8RNKe5QRxLYXcqag0AZvra4TeOqBxAEiBv9/x+QSYa8RJigt/u2jSlJQ OvQhPtv++5vLa2GxnWPnRV+FbtstfK4bTobKsoBYX2RkSE+67u7bxQqCmOeVdB0PXFksVaprMUpvh rkH2gguj7ilGjpyk9qyTOOWomVfLxpFGK2C/KbXMl9EIrKR/81u+/zYPzY/X//FEUqPybL0ukpI5x LD0ACFh1MZ2jlAWhXce9btMom+2uOYaHY+6IjRdf9eLU1v/uCWqQy2M7giKZXHl45oZXw33ZcrfYL O8XDnCkA==; Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljgUp-00GDYb-HC for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 11:05:45 +0000 Received: by mail-pl1-x62b.google.com with SMTP id u7so252548plq.4 for ; Thu, 20 May 2021 04:05:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=XBy9vet7ecbTieMl5w7ONcl3S+12Ffks8ZHajUtvih4=; b=X0HdMz5ZwR9zT2Q8z3IGYnpAH3nk/I9nRl2oFclAbogcoCLk1CobJMr5cU/P/NOLa5 K2ZDAgiCheDTEHXLpP3Ijky9EFzhg2GOHvjDSFWjzBTjZw1hE+ZPBe9GKe+KUE1bhA5A 1rQx5lquADoJXygBiqLId5iqY2DOe554IE4Q0vhEeRKzz46Rwb8eow89ytrRXs23vhXq PFODefq1UVbzZkkWFeJWA0PM8uWIs8zUF4IS2JS/5U1JzS09E1FVYRrfpFhnnAGxtYs/ z8qRxM6vTl0faDTzbRNmbEahovudKPlBcJLyFrSQwbINqwDF2gJcZnXIR38quKxH2+vD N6/Q== 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:in-reply-to :references; bh=XBy9vet7ecbTieMl5w7ONcl3S+12Ffks8ZHajUtvih4=; b=tGWhGDnJF2bof0KZ1gjc7BWFfgAKYtL8Jw+PqH7QrYgJ35oYVCB0b7x+PqowDnPNLF Ql2pRnbflWuXAGOf+MPQaLx23wTJMZPQ3TXuIsp1/seoLvRgx9a4egxplcRbQhwM3Glw FYbOyyBEC2zqdgyx/thRRJV8ksmjfwwbuCbl2n05VJ0WgnxWoIclIBS1N0VPHVGjd9zs 3+mLWGe+2XkBGBJrby4oPipr0IzZQhOwsH9CyOXVTuKdgH8fLLdkEdgmectf2pj5U+tB ExdbMv0lY6X7N8Cq3PEMHsfebHOjOFBtmJzJHj6vDhdPKCzaXJ47avWjwhPKaEj35Zk5 JfNA== X-Gm-Message-State: AOAM5318nWghu+tS37FE+WCAQfvv2XX8J2CRBY6bkEW1BfWPY5Hxf1eJ +xhH0818QvphP0fB1562d/E= X-Google-Smtp-Source: ABdhPJx4bbnNZMo/QBlVObti6Fy8xgBBS897VBNNSetxObrcuWvv34rqucpZqtf5HBvS8mfyWi9FQg== X-Received: by 2002:a17:90a:ab0c:: with SMTP id m12mr4249958pjq.179.1621508742496; Thu, 20 May 2021 04:05:42 -0700 (PDT) Received: from fmin-OptiPlex-7060.nreal.work ([137.59.103.165]) by smtp.gmail.com with ESMTPSA id hk15sm5839121pjb.53.2021.05.20.04.05.38 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 May 2021 04:05:42 -0700 (PDT) From: dillon.minfei@gmail.com To: mchehab@kernel.org, mchehab+huawei@kernel.org, hverkuil-cisco@xs4all.nl, ezequiel@collabora.com, gnurou@gmail.com, pihsun@chromium.org, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org Cc: patrice.chotard@foss.st.com, hugues.fruchet@foss.st.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, Dillon Min Subject: [PATCH 2/7] media: dt-bindings: media: add document for STM32 DMA2D bindings Date: Thu, 20 May 2021 19:05:22 +0800 Message-Id: <1621508727-24486-3-git-send-email-dillon.minfei@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1621508727-24486-1-git-send-email-dillon.minfei@gmail.com> References: <1621508727-24486-1-git-send-email-dillon.minfei@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210520_040543_601768_47FA6C7F X-CRM114-Status: GOOD ( 16.26 ) 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: , MIME-Version: 1.0 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 From: Dillon Min This adds documentation of device tree bindings for the STM32 DMA2D Signed-off-by: Dillon Min --- .../devicetree/bindings/media/st,stm32-dma2d.yaml | 71 ++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/st,stm32-dma2d.yaml diff --git a/Documentation/devicetree/bindings/media/st,stm32-dma2d.yaml b/Documentation/devicetree/bindings/media/st,stm32-dma2d.yaml new file mode 100644 index 000000000000..f97b4a246605 --- /dev/null +++ b/Documentation/devicetree/bindings/media/st,stm32-dma2d.yaml @@ -0,0 +1,71 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/st,stm32-dma2d.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics STM32 Chrom-Art Accelerator DMA2D binding + +description: + Chrom-ART Accelerator(DMA2D), graphical hardware accelerator + enabling enhanced graphical user interface with minimum CPU load + + It can perform the following operations. + + - Filling a part or the whole of a destination image with a specific color. + - Copying a part or the whole of a source image into a part or the whole of + a destination image. + - Copying a part or the whole of a source image into a part or the whole of + a destination image with a pixel format conversion. + - Blending a part and/or two complete source images with different pixel + format and copy the result into a part or the whole of a destination image + with a different color format. (TODO) + + +maintainers: + - Dillon Min + +properties: + compatible: + const: st,stm32-dma2d + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: dma2d + + resets: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - resets + +additionalProperties: false + +examples: + - | + #include + #include + dma2d: dma2d@4002b000 { + compatible = "st,stm32-dma2d"; + reg = <0x4002b000 0xc00>; + interrupts = <90>; + resets = <&rcc STM32F4_AHB1_RESET(DMA2D)>; + clocks = <&rcc 0 STM32F4_AHB1_CLOCK(DMA2D)>; + clock-names = "dma2d"; + }; + +... -- 2.7.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel