Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3435701iog; Mon, 27 Jun 2022 16:21:11 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uyFqsCxtaP5gTon9T5sQPw8iiKjHVQ5jF+EXZ4vZR3f/OfvNGrSkCjDSNr1C4VeLhFFKdY X-Received: by 2002:a17:906:4302:b0:726:8efe:3bda with SMTP id j2-20020a170906430200b007268efe3bdamr12501701ejm.184.1656372071163; Mon, 27 Jun 2022 16:21:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656372071; cv=none; d=google.com; s=arc-20160816; b=X7nEJi00x9YNCHM4Dm1aKwf3vE9p2gMD33hGXWWnkqkSbbz701Voe5J3ZzH3p3fabs slYSPtI2tYh2PdqGrRjwqjbuKrR5omWU6LXUcrymPuBpLuWBjZ6GzM6I1iJTdbJutJKN DYmW3vyRWKLWTKud18GXW16gKVjcKktYJi1Jb8PjXHanIrtf728PXDgUOyMatLMb1LZB y7b4RXkXkEAVr2oxM0plMmlOMzLrV/mAKYtnlzQ4VhfmoI0ObZxDptUXiC2caKohMM7I Vz/toIxusbItOK/Bx0sCcU/9oCzTEo9Ag1VOSYHYyA7gdH264SpE7O4gD/agMJUNmjwi RuUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=BBFolvCCjJnxhxohRNSfL/AQrqOPHqKgSw2LBcN2NnQ=; b=iU7Dyf1KJkxga0IgIBl9mRfoTxf9eDvMQf/H5QMeNbrZ1se272z2xgU2bX+IjK2DXs aebp3TsTOfduyjiHPy5fkl7ySq8hf1kvSg+I+6ffwwv6z86YOxknrpGfHA35DJ2ghVT9 V7IXWBlqPdFExY6HMUbroziu9bRNwc0Y4I4SRvw0pbLzshU8vwmSJSeKa1382WnIyp3V q+FFA9EgwMz19P3YvQxF6XKfgU1I3iyPR5V/5pxg9OW6/xHJ0Caz3gGGqHp3BTCK4ryV c+pWk9r1rUb12wVMWCdA0r1/cQwk77fcXpdT/3abJ8WXuixR7ae56hGvrnbQ6J/OmSfx o2qw== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w14-20020a50f10e000000b004355261f78csi14252617edl.531.2022.06.27.16.20.45; Mon, 27 Jun 2022 16:21:11 -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; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242039AbiF0XAT (ORCPT + 99 others); Mon, 27 Jun 2022 19:00:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241243AbiF0XAQ (ORCPT ); Mon, 27 Jun 2022 19:00:16 -0400 Received: from mail-il1-f172.google.com (mail-il1-f172.google.com [209.85.166.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95B9120F61; Mon, 27 Jun 2022 16:00:15 -0700 (PDT) Received: by mail-il1-f172.google.com with SMTP id p9so6749546ilj.7; Mon, 27 Jun 2022 16:00:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=BBFolvCCjJnxhxohRNSfL/AQrqOPHqKgSw2LBcN2NnQ=; b=bfXVza1My8NSlUM8fMnH6rlEd9095RBvJGqKsD3Zsdz7rTOiJnG252FT3Sb/axL2E1 cHTl+aYPFp1SNDQZ79q/9KrLR+p9sndPKTqGIup2ydW+V02jbfongpRrmXx8ENLS4mJX UXAVwVviNmomi0kmLf/qNF+iKR46jlnAMlNQxomIuBW8UFtK7nhAtfBdaS627M1KdopS xqSfRf+57ma3Z8tHl6DljT5HQbtiNsQMtK66X46s15KUPRzyupoTB4rdTn2cdQdLNhmu bR94PUVvOqY4TUyaEffV8Xr3x4sDAta0ybSrJC/b55lV//7JLUEUj9HaTJ6mjtS2/mHs YysQ== X-Gm-Message-State: AJIora+Yhm21t4Q9bqmh40J4StOcbHE0IldgvsqGTP3tAVuV90qX8tA4 2bnHhiiSFVT/MbdvomkViw== X-Received: by 2002:a05:6e02:154d:b0:2da:9539:3093 with SMTP id j13-20020a056e02154d00b002da95393093mr4813252ilu.131.1656370814723; Mon, 27 Jun 2022 16:00:14 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.253]) by smtp.gmail.com with ESMTPSA id u18-20020a92ccd2000000b002d8d813892csm5083745ilq.8.2022.06.27.16.00.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jun 2022 16:00:14 -0700 (PDT) Received: (nullmailer pid 3126600 invoked by uid 1000); Mon, 27 Jun 2022 23:00:12 -0000 Date: Mon, 27 Jun 2022 17:00:12 -0600 From: Rob Herring To: Shengjiu Wang Cc: nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, shengjiu.wang@gmail.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, krzk+dt@kernel.org, devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 6/7] ASoC: dt-bindings: fsl-sai: Add new property to configure dataline Message-ID: <20220627230012.GA3122063-robh@kernel.org> References: <1655451877-16382-1-git-send-email-shengjiu.wang@nxp.com> <1655451877-16382-7-git-send-email-shengjiu.wang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1655451877-16382-7-git-send-email-shengjiu.wang@nxp.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Fri, Jun 17, 2022 at 03:44:36PM +0800, Shengjiu Wang wrote: > "fsl,dataline" is added to configure the dataline of SAI. > It has 3 value for each configuration, first one means the type: > I2S(1) or PDM(2), second one is dataline mask for 'rx', third one is > dataline mask for 'tx'. for example: > > fsl,dataline = <1 0xff 0xff 2 0xff 0x11>, > > it means I2S type rx mask is 0xff, tx mask is 0xff, PDM type > rx mask is 0xff, tx mask is 0x11 (dataline 1 and 4 enabled). > > Signed-off-by: Shengjiu Wang > --- > Documentation/devicetree/bindings/sound/fsl-sai.txt | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/sound/fsl-sai.txt b/Documentation/devicetree/bindings/sound/fsl-sai.txt > index c71c5861d787..4c66e6a1a533 100644 > --- a/Documentation/devicetree/bindings/sound/fsl-sai.txt > +++ b/Documentation/devicetree/bindings/sound/fsl-sai.txt > @@ -49,6 +49,14 @@ Required properties: > receive data by following their own bit clocks and > frame sync clocks separately. > > + - fsl,dataline : configure the dataline. it has 3 value for each configuration > + first one means the type: I2S(1) or PDM(2) > + second one is dataline mask for 'rx' > + third one is dataline mask for 'tx'. > + for example: fsl,dataline = <1 0xff 0xff 2 0xff 0x11>; > + it means I2S type rx mask is 0xff, tx mask is 0xff, PDM type > + rx mask is 0xff, tx mask is 0x11 (dataline 1 and 4 enabled). You mean 0 and 4 enabled? Or 1 and 4? How many 3 cell entries can you have? Rob