lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 6 Oct 2022 02:48:50 +0000
From:   Trevor Wu (吳文良) <Trevor.Wu@...iatek.com>
To:     "robh+dt@...nel.org" <robh+dt@...nel.org>,
        "matthias.bgg@...il.com" <matthias.bgg@...il.com>,
        "p.zabel@...gutronix.de" <p.zabel@...gutronix.de>,
        "angelogioacchino.delregno@...labora.com" 
        <angelogioacchino.delregno@...labora.com>,
        "broonie@...nel.org" <broonie@...nel.org>,
        "tiwai@...e.com" <tiwai@...e.com>
CC:     "linux-arm-kernel@...ts.infradead.org" 
        <linux-arm-kernel@...ts.infradead.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "linux-mediatek@...ts.infradead.org" 
        <linux-mediatek@...ts.infradead.org>,
        "alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
        "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>
Subject: Re: [PATCH 08/12] ASoC: mediatek: mt8188: add platform driver

On Tue, 2022-10-04 at 11:36 +0200, AngeloGioacchino Del Regno wrote:
> Il 30/09/22 16:56, Trevor Wu ha scritto:
> > Add mt8188 platform driver.
> > 
> > Signed-off-by: Trevor Wu <trevor.wu@...iatek.com>
> > ---
> > This patch depends on the following series that has not been
> > accepted.
> > 
> > [1] Add power domain support for MT8188
> > 
https://urldefense.com/v3/__https://patchwork.kernel.org/project/linux-mediatek/list/?series=681359__;!!CTRNKA9wMg0ARbw!3U0sxKMgA8D7xhhaJ3nSEOj4DWLrWj6_QsYGwDbCvtBvZpoKuDq5yXLDfMW1acoPog$
> >  
> > (linux/soc/mediatek/infracfg.h is included)
> > ---
> >   sound/soc/mediatek/Kconfig                 |   13 +
> >   sound/soc/mediatek/Makefile                |    1 +
> >   sound/soc/mediatek/mt8188/Makefile         |   12 +
> >   sound/soc/mediatek/mt8188/mt8188-afe-pcm.c | 2945
> > ++++++++++++++++++++
> > 
..snip

> > +#include <linux/arm-smccc.h>
> > +#include <linux/delay.h>
> > +#include <linux/dma-mapping.h>
> > +#include <linux/module.h>
> > +#include <linux/mfd/syscon.h>
> > +#include <linux/of.h>
> > +#include <linux/of_address.h>
> > +#include <linux/of_platform.h>
> > +#include <linux/pm_runtime.h>
> > +#include <linux/reset.h>
> > +#include <linux/soc/mediatek/infracfg.h>
> > +#include <linux/soc/mediatek/mtk_sip_svc.h>
> > +#include <sound/pcm_params.h>
> > +#include "mt8188-afe-common.h"
> > +#include "mt8188-afe-clk.h"
> > +#include "mt8188-reg.h"
> > +#include "../common/mtk-afe-platform-driver.h"
> > +#include "../common/mtk-afe-fe-dai.h"
> > +
> > +#define MTK_SIP_AUDIO_CONTROL MTK_SIP_SMC_CMD(0x517)
> 
> This definition goes to include/linux/soc/mediatek/mtk_sip_svc.h
> 
Hi Angelo,

If I move the definition to "include/linux/soc/mediatek/mtk_sip_svc.h",
I should submit it to another tree.
In the case, do you have any suggestion to handle the dependent
problem?

> > +
> > +#define MT8188_MEMIF_BUFFER_BYTES_ALIGN  (0x40)
> > +#define MT8188_MEMIF_DL7_MAX_PERIOD_SIZE (0x3fff)
> > +
> > +#define MEMIF_AXI_MINLEN 9 //register default value
> 
> ...and please fix comments style.

OK.
> 
> > +
> > +struct mtk_dai_memif_priv {
> > +	unsigned int asys_timing_sel;
> > +	unsigned int fs_timing;
> > +};
> > +
> 
> ..snip..
> 
> > +
> > +MODULE_DESCRIPTION("Mediatek ALSA SoC AFE platform driver for
> > 8188");
> 
> MediaTek SoC AFE platform driver for ALSA MT8188
> 
OK. I will update the description in V2.

Thanks,
Trevor

> > +MODULE_AUTHOR("Chun-Chia.Chiu <chun-chia.chiu@...iatek.com>");
> > +MODULE_LICENSE("GPL");
> 
> 
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ