Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp567639img; Tue, 26 Feb 2019 05:06:12 -0800 (PST) X-Google-Smtp-Source: AHgI3IYuLAadu3OhptAEfLaJi4eH9E1bQkF9zdDfibWEDo5kAlwutGLCrAwabHg7oYY8qft6mmmU X-Received: by 2002:a17:902:b101:: with SMTP id q1mr26365282plr.296.1551186372247; Tue, 26 Feb 2019 05:06:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551186372; cv=none; d=google.com; s=arc-20160816; b=bV4zQqJK8VYI7sGvPnx8zlMIo6n9osPFlQDkKcDjxgkNPLrIPvYZ3CeX34i0WVIKGu 8ejkRxqx+Bfs7UGn9439JA/XQ0PsXlaDdlgsoTAAQRj4/S5nwuzvYh+oblb9gm+CTMxb dskrFQh4Bfu923+YNft+yAsM9i7syHNK9SjkuQ1bN5NjclNFKwWsArRvH+RjiShHghpx zKMluHSCYzNUxY6XohjBtN0U5ZMY5uqkn8cTEnjNiSed+nqQS459ZcdtAWdOZVpBRAYB iBoMj1+BS6rck6q3irbgsW5S1r2ANKdIScVtKbXHwxX0l7k3zhoEfMMn49RkTSArQuXt fRdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=81RgWyYCtHg0Be6F/oJvEJ6i+v9q+5k0Z8Yu1a/PYIA=; b=mQPJi8hHsLum4kyF/G6ZRPvKok+3fp298qPTmRt6/dg1Qivz04AfyYSPzitpbtym7a E+te9KwldEiMo8uOWrLhitGEWJF0go2dqxob2NFgsZtfZE9mls2hmD8+W/TyjIx9fvcP 6LPll0m6EmuXJ8nLWgbApM1FCIRXTTsFcT6DAVs0DdwspmwUIu/etw3ha27T9MsBsjbE 11lICMo4nywZSlxkxtqcCJW4MQWVXOtRxEbNPnyQ5T9RVP7/E+BBLMmuNEGHodnSUeUq 8ldQgJZMdn37GIo+EDUSliCzxR+F98AOj9cBg3ZhX0xCPRV3FiWKLU/oA5kz7iAAo87s Kr4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CCSCszBD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u24si12882512pfa.78.2019.02.26.05.05.57; Tue, 26 Feb 2019 05:06:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CCSCszBD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726539AbfBZNFe (ORCPT + 99 others); Tue, 26 Feb 2019 08:05:34 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:40579 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726115AbfBZNFe (ORCPT ); Tue, 26 Feb 2019 08:05:34 -0500 Received: by mail-ed1-f65.google.com with SMTP id 10so10640548eds.7; Tue, 26 Feb 2019 05:05:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=81RgWyYCtHg0Be6F/oJvEJ6i+v9q+5k0Z8Yu1a/PYIA=; b=CCSCszBD/P/4CITusqmG1VEw0yVBGGWFufDeNKhItQkD4ye0Ls+egXVr+pePl9ZrUB BeUScdTqo3JOAicb18iJsfkt137USIfJJJEGFDBDgkPyEKf3zSYIqP7Z4OnLAq5OEV1e FDJ4lCa5rRMGhlOiqC0F609XLneZMenA7n/Av01idBZTqMB60hFPTO0dQQ6k9wx3qX6E Zc/0hdt6MOyuQeJn1YSNKCZrfD+N0fUhRFJdvDWQd/JZl4wNhAGZ87wT4dLFr+VQuUMA SN15/rU3HzLXJwl3sZEpZuyEwk+m+fKsh6vv46NmGlGOvBYLz8v2rSQz8RJuYiPS1WKI k80Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=81RgWyYCtHg0Be6F/oJvEJ6i+v9q+5k0Z8Yu1a/PYIA=; b=VY8d0jROmEj7K8Z23ouZEYKZ8VD702ZHVjoeiTEMeGZp8YyOzb5yZa21G2j4V4FiPo DOmnrbtAN+ZipBa//GNAhL7xJRECh9Fdt3Lu+KaTywGgtl6gIjqq3IYN0JC6aqt99B6j ak+UHwFFQP8NMSeL7A8BBcvyUXT4SX8z1qXWDNWkWHJZbWa/Lck4kgCW5qUkXVhP0qQO ONLgO4U5w2zW2PF51q18rZw+sfVgsL7p+e668z7XXOjoGRAwSYp0tryeyHYs/DsyJRgI qwf5ylCWnhBF/SG0i+iSuv1smLCLl6+oaO5nq7rGjwORpeBe6/TKdV0tqTF+u0mYn64D R+Qg== X-Gm-Message-State: AHQUAubI+T42Hssp65a8RIkQ30ujP28xIww13xrlGWs1l2kyLEKfXjfq +2shmyJr2ZbMLPSgOGn90rGPKoteV7NL4QtsiQU= X-Received: by 2002:a17:906:f1d8:: with SMTP id gx24mr16656106ejb.227.1551186332278; Tue, 26 Feb 2019 05:05:32 -0800 (PST) MIME-Version: 1.0 References: <20190226070742.30551-1-daniel.baluta@nxp.com> In-Reply-To: From: Daniel Baluta Date: Tue, 26 Feb 2019 15:05:20 +0200 Message-ID: Subject: Re: [PATCH v3 0/5] Enable wm8524 on i.MX8MQ To: Fabio Estevam Cc: Daniel Baluta , "shawnguo@kernel.org" , "S.j. Wang" , "angus@akkea.ca" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "l.stach@pengutronix.de" , Abel Vesa , "ccaione@baylibre.com" , "baruch@tkos.co.il" , "agx@sigxcpu.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx , Aisheng Dong , "kuninori.morimoto.gx@renesas.com" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 26, 2019 at 2:53 PM Fabio Estevam wrote: > > Hi Daniel, > > On Tue, Feb 26, 2019 at 4:08 AM Daniel Baluta wrote: > > > > On i.MX8MQ we can start the party using the wm8524 codec > > which gets it's data through the SAI2 interface. > > > > In order to make it work this patch series enables the SDMA nodes, > > sets the correct pinctrl configuration and uses the simple card > > machine driver to put everything together. > > > > Changes since v2: > > - s/QM/MQ after Chris comments > > > > Changes since v1: > > - added cover letter > > - remove "fsl,imx8mq-sdma" compatible for sdma. > > Why? It is good practice to add the new compatible entry. I get your point here. But for the moment it is identical with "fsl,imx7d-sdma" so there is no need to add it now! See the discussion here, and comment from Lucas: https://lkml.org/lkml/2019/1/28/194 So, I prefer to keep it simple. > > In case we find out a need for a fix that only affects imx8mq in the > future we can do that by using the specific compatible and no dts > change will be needed. > > > > > Daniel Baluta (5): > > arm64: dts: imx8mq: Add SDMA nodes > > arm64: dts: imx8mq: Add SAI2 node > > arm64: dts: imx8mq: Add SAI pinctrl configuration > > arm64: dts: imx8mq: Enable SAI2 for wm8524 codec > > arm64: dts: imx8mq: Enable wm8524 codec > > I would suggest making the last three patches as a single one. I'm not convinced about this. I try to separate patches like this in order for people to really understand step by step how audio is enabled on i.MX board. I will give a second thought though. Maybe 3/5 and 4/5 could be squashed together. > > Also, please make the Subject as: arm64: dts: imx8mq-evk when a patch > is specific to the imx8mq-evk dts. Indeed, will fix in next version.