Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2254371pxm; Fri, 4 Mar 2022 12:25:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJwMuXwggc62MUW59OpQT0LhsjRLKMmzQB2CgodhGFdnVdQsqDofb5/a43Gfns7J1gbwqsCc X-Received: by 2002:a63:5d09:0:b0:372:9a55:bf89 with SMTP id r9-20020a635d09000000b003729a55bf89mr119108pgb.321.1646425510685; Fri, 04 Mar 2022 12:25:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646425510; cv=none; d=google.com; s=arc-20160816; b=Mzbf/X962uDVfbKcwUnCNocjtZ3GsbxHblCgsgDzI7CmbV+ivlJEg5ArsOcQ+IgAnI sD0hgtnqXBbiW39wIQR/3LaiPfcB4TBQyNZP9TSwIIj4Crje9HR2WWige8cXtBt6XEk9 0QWqPjHH6B5doB78NXP3LmX3RQbRTLO7o4ewkvfugGxWCme0YaZnEgGsSs7brMpy6bO9 zB1u9IWDAt86FCu6HT7YlpPH+bNhaImhmrqLvyk1xNtz15+gi55cyxKuznD2+g8b7cwL L1lTMzGdkmTUa/3swa6Pb6Y1o+gFBcFWdHxw3CB/M7PgRqftJOfAVNLvLGfCYVGcdRiF EcCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=RJJQkXEtIZssPACfh5YufyI5icApc9EN826U5KQ4k8I=; b=HXV2MHqc0nC9T+k0WPDZLhR7KjDDd0QahCZ9EpZ45oytmO6A28beQ0FJAF9PpSdBAY LHYpn6rj4XW+XpmapAeNVRW2LkhfC/Jn6XvZu7gjxuvzmbf6tR2AChYDT4oRgHhNfu/7 UMjjvxShIioUVSbVe/+JCPgJOHxx2qYdC2W2EHh5h4d5Ls9kLnaNagANm7667tyDhLuT svovtVOeIOq+BrZRdHlNCmCfDAs5qFN1UJh19hdDVdQ3S63NjrabOaK6V3e74pPs1yO9 G7p58LpiuIu+efSEaYfWp+g/RXxsE/gb0yGy57SaU63YLcQv+PeuEZtZvSEFSjVEvM7r PMuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=nptw50rM; dkim=neutral (no key) header.i=@suse.de; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id r9-20020a17090a2e8900b001bd14e030a0si427521pjd.120.2022.03.04.12.25.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Mar 2022 12:25:10 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=nptw50rM; dkim=neutral (no key) header.i=@suse.de; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4D477D0070; Fri, 4 Mar 2022 11:33:09 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239499AbiCDRGR (ORCPT + 99 others); Fri, 4 Mar 2022 12:06:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238754AbiCDRGP (ORCPT ); Fri, 4 Mar 2022 12:06:15 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61C7419D759; Fri, 4 Mar 2022 09:05:27 -0800 (PST) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 032901F38A; Fri, 4 Mar 2022 17:05:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1646413526; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=RJJQkXEtIZssPACfh5YufyI5icApc9EN826U5KQ4k8I=; b=nptw50rM0VdvC9u79m/n4x6+NNExCelgY72Il6bnoAyPzJ9JytdRX3jDexAeYzvQWJSBEr 6UvOeWXWeCCK92sKZNUdK49zzK5e5PGpCQk8hDbUXgVvW8cYB2NBGNIDS3GRVs+z48xg/e XhF/VHO3wBLnWSAZIruvaxtYIXVDCHE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1646413526; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=RJJQkXEtIZssPACfh5YufyI5icApc9EN826U5KQ4k8I=; b=wJxIZo8wxjPX5NVD/TrbS09rZdD/C7Qq2ck3W9lpbIsm3rNWSGJciMzss6th6E/tFgVuB6 AGVpZVGzwWkXBvAQ== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id E5437A3B8A; Fri, 4 Mar 2022 17:05:25 +0000 (UTC) Date: Fri, 04 Mar 2022 18:05:25 +0100 Message-ID: From: Takashi Iwai To: Lucas Tanure Cc: Liam Girdwood , Mark Brown , Rob Herring , Jaroslav Kysela , Takashi Iwai , , , , Subject: Re: [PATCH v2 00/20] Support external boost at CS35l41 ASoC driver In-Reply-To: <20220304150721.3802-1-tanureal@opensource.cirrus.com> References: <20220304150721.3802-1-tanureal@opensource.cirrus.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,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, 04 Mar 2022 16:07:01 +0100, Lucas Tanure wrote: > > Move the support for CS35L41 external boost to its shared library > for ASoC use. > This move resulted in cs35l41_hda_reg_sequence being removed, > and its steps were broken down into regmap writes or functions > from the library. And hardware configuration struct was unified > for its use in the shared lib. > While at it, some minor bugs were found and fixed it. > > v2 changelog: > - Instead of removing the log, playback actions will log the last regmap access. > - Documentation patch with the correct subject line and fixed bug reported by Rob Herring on the > provided example. > > Previous versions: > v1: https://lkml.org/lkml/2022/3/3/759 > > David Rhodes (2): > ASoC: cs35l41: Fix GPIO2 configuration > ASoC: cs35l41: Document CS35l41 External Boost > > Lucas Tanure (18): > ASoC: cs35l41: Fix max number of TX channels > ASoC: cs35l41: Fix DSP mbox start command and global enable order > ASoC: cs35l41: Remove unnecessary param > sound: cs35l41: Unify hardware configuration > sound: cs35l41: Check hw_config before using it > sound: cs35l41: Move cs35l41_gpio_config to shared lib > hda: cs35l41: Fix I2S params comments > hda: cs35l41: Always configure the DAI > hda: cs35l41: Add Boost type flag > hda: cs35l41: Put the device into safe mode for external boost > hda: cs35l41: Mute the device before shutdown > sound: cs35l41: Enable Internal Boost in shared lib > hda: cs35l41: Move boost config to initialization code > hda: cs35l41: Remove cs35l41_hda_reg_sequence struct > hda: cs35l41: Reorganize log for playback actions > hda: cs35l41: Handle all external boost setups the same way > hda: cs35l41: Move external boost handling to lib for ASoC use > ASoC: cs35l41: Support external boost Through a quick glance, the code changes look OK in general. But please correct the subject prefix. For non-ASoC patches (that begin with either "hda" or "sound" in this patch set) should be with "ALSA: hda: xxx" or such. Also, although I respect the spirit of Haiku, the patch logs could be a bit more verbose and descriptive, and the texts can be folded at the right column. Some patch descriptions are too short, e.g. patch 15 doesn't mention about the new usleep_range() addition in the code. thanks, Takashi