From patchwork Tue Aug 1 11:58:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 129268 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp2640378vqg; Tue, 1 Aug 2023 05:42:59 -0700 (PDT) X-Google-Smtp-Source: APBJJlGcA9qfdQhQw2kVp1ChA31Esh4bkXVhUNWKxNnifTbfn7vC7m+7I1QIG058+/sJ+E+nxe16 X-Received: by 2002:aa7:c2d8:0:b0:51f:f079:875f with SMTP id m24-20020aa7c2d8000000b0051ff079875fmr3304780edp.4.1690893779268; Tue, 01 Aug 2023 05:42:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690893779; cv=none; d=google.com; s=arc-20160816; b=IujiawgCBmIfGF73rQn6cP5asp/cRFE7jrzv/yXANJx2cIdN2CA3HIwXPFgBtiJtIv xy5+BpLRFzns0UFavxHteghVy8ZEkh/maJnEoz2vApyftNpV3tAVvzuXamDEdndNqGQk 3G5nJL5O0s/rT/WER74JFUaT+OKsA9jfq2ySd2EXcjDF913ZmqP8BDyRvU6Oye75knrF WdaqO1Ly6K55Y/UNkZ/gTIqnuQRZHpZJfalvotJIP9MzbVfYP06xC5PDMokqI7y8fhHA 8eOT++gjbsgXKPtdcOxvGAxwR21U+ByZNulRfOv22fTi+BpF8ZZKtkDNSEEbt8jw/fbP 1FXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=tQTAYDiE+GfEtCgeFY9JHF01J93fSPWmXQearA4iWSs=; fh=9Aon3jQEVE1p+dS8p5fghxMOlPjmNOu/O0E5mCMmCJg=; b=QYv5NB83X+XoygqCyrsF1bcmh9GzJ46LzGJ120+NuJRbOHM7Kmsm7/z+D61Bz4ssIp sWXnb32fzEddadZHgfR8HxLKkuI0hK6OzrGVivurjw0owC4968CJ+FDQX/KVrNp3r5Wk IOuBP+vT23Zo4lufzKuXxgy5wJRCGKJ2DXppRIa/Gv0zcioFREA/xaBUMZbPZlJa+nYZ m5qdRlhfotMKHNjtA8RntICnz7rA3gSzKa6iDJqpXmjWSuFBwIp226vYwLH2ipextLdC J3sx7CgXEEecpha8a0Ye+/KKzcDJHlOBDTPSRNqdGah7Grangd9B9VCrxWxWTH62I/DO XJQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=a3R6cqlK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c22-20020a056402121600b0052239083be7si8765611edw.636.2023.08.01.05.42.34; Tue, 01 Aug 2023 05:42:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=a3R6cqlK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234441AbjHAL7s (ORCPT + 99 others); Tue, 1 Aug 2023 07:59:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234426AbjHAL7X (ORCPT ); Tue, 1 Aug 2023 07:59:23 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E10331FC6 for ; Tue, 1 Aug 2023 04:59:13 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id C19D8660719E; Tue, 1 Aug 2023 12:59:11 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1690891152; bh=0jjC3Fg5s2rO0VQ/mVis11uZqJIg4LIgSGY5cW68WVw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a3R6cqlK085xUWcXg6UptkC6YQqgymple26EyBKjt8cibwdgFJLxSMb0TBo0TN9PG J9q54fpBncBXTs8/k7du/CgnSaitIeQ5LB5p+Pp3d0r3rPygOT6Kiyx5d+SpYYWz1H cSpSwaoX5rPj/yproq3zCXGXnIm9v+uDIeIQjyYTzLP9juHfwFrpGe2fIDupS4+poF GjUYeYnDVAk2WPPFmXF6QC/nFXKI+dXAyUExbLnjM1r6jp8wmZg2A+RLfSdZaIzgV9 Wa81e+0VxsNYQ59vj54uxwiu1Vd1XWhhmWN4+zGspDYbLLM6XwE03Sjn2eDZRWK3Xn eEd/Q+2OaRhCA== From: AngeloGioacchino Del Regno To: chunkuang.hu@kernel.org Cc: p.zabel@pengutronix.de, airlied@gmail.com, daniel@ffwll.ch, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, wenst@chromium.org, kernel@collabora.com, ehristev@collabora.com Subject: [PATCH v8 13/13] drm/mediatek: mtk_disp_gamma: Add kerneldoc for struct mtk_disp_gamma Date: Tue, 1 Aug 2023 13:58:54 +0200 Message-ID: <20230801115854.150346-14-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230801115854.150346-1-angelogioacchino.delregno@collabora.com> References: <20230801115854.150346-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773030635343855147 X-GMAIL-MSGID: 1773030635343855147 The mtk_disp_gamma structure was completely undocumented: add some kerneldoc documentation to it. Signed-off-by: AngeloGioacchino Del Regno --- drivers/gpu/drm/mediatek/mtk_disp_gamma.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_disp_gamma.c b/drivers/gpu/drm/mediatek/mtk_disp_gamma.c index c6b77ca3e655..9be1efa9766c 100644 --- a/drivers/gpu/drm/mediatek/mtk_disp_gamma.c +++ b/drivers/gpu/drm/mediatek/mtk_disp_gamma.c @@ -54,8 +54,12 @@ struct mtk_disp_gamma_data { u8 lut_bits; }; -/* - * struct mtk_disp_gamma - DISP_GAMMA driver structure +/** + * struct mtk_disp_gamma - Display Gamma driver structure + * @clk: clock for DISP_GAMMA block + * @regs: MMIO registers base + * @cmdq_reg: CMDQ Client register + * @data: platform data for DISP_GAMMA */ struct mtk_disp_gamma { struct clk *clk;