From patchwork Fri Jan 20 09:50:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herve Codina X-Patchwork-Id: 4299 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp108356wrn; Fri, 20 Jan 2023 01:55:08 -0800 (PST) X-Google-Smtp-Source: AMrXdXvXyq9/m/GwY7XcTykR2FZzxzGkzwCikmcbyal8WsBGSOJ+X2E3JVdPuCxGly9OU4++ZGlK X-Received: by 2002:a05:6a20:c18a:b0:b8:db12:b90c with SMTP id bg10-20020a056a20c18a00b000b8db12b90cmr14192688pzb.17.1674208508245; Fri, 20 Jan 2023 01:55:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674208508; cv=none; d=google.com; s=arc-20160816; b=Y6ZQvIOSKYR0DniJIlyOQyxU4pjKs8LrzkjTWTwZWaJbiyDIMYu5kxk0eXrwON6pVi NxEXQkCWh4PRd20aCTaw414zmJMYgpoduetFgKUkwAzQLWO76QDt4tMGcDMcUyEBeatQ n6+I6IMxJ0I7Yu7WjeePgPmcMHbmgWUOsFJYAiCXFg5r4gXUez7zxvZp5hV3nAgDHiEm SWQBerrwObzemY1H+kcDnn0uTpM4H/OnsWc+DIurZ8GAI+/3Tp0FddBtYKpMGCburQH3 P7CPHLw6yz68oJIEREVhXK8nqyoFksHchjZqZftgBVUs2ttfr9+syfitgnnKRp1moc+1 uiyA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=lhmoz3o5whEWeMQjpRNQYi4NdVypuHsB2pUQfSBp09A=; b=Pu+OZRFp9xvJZXn7FkG6YVvQYryWWm99QMcSMak8eWy4qv6hikjyXXRP7qGGfBhLLw OLHqcNXnV1ibNlNgG7rBhQERojl/MYdkX+pellURwRmk7m9SZvDCWARH99W3tjoja05/ oM6VxDw1MXWc4R7CW0OPm1P1dyFCXvmlOZUtoR70SkoU0Gr/VIVXcIIJdW1iXJSIjnN7 3xXvog8Isk//Jm7qV9kMIT0wsgpqEXMkdy+wXXQBSjdbktbiTOMihXDB9gNyd3bDTD85 nbE0QL6Wp7+YXndozcLY2pUZXmJznE1gVCVVtfEB0xtiD3XV2Wak5byZJjrmL0KoeI0C b/XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=cV+FiBTW; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o25-20020a635a19000000b004aef9c39bb5si37172076pgb.393.2023.01.20.01.54.56; Fri, 20 Jan 2023 01:55:08 -0800 (PST) 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=@bootlin.com header.s=gm1 header.b=cV+FiBTW; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229586AbjATJut (ORCPT + 99 others); Fri, 20 Jan 2023 04:50:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbjATJuq (ORCPT ); Fri, 20 Jan 2023 04:50:46 -0500 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A08C83E5; Fri, 20 Jan 2023 01:50:45 -0800 (PST) Received: (Authenticated sender: herve.codina@bootlin.com) by mail.gandi.net (Postfix) with ESMTPA id BF483FF810; Fri, 20 Jan 2023 09:50:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1674208243; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=lhmoz3o5whEWeMQjpRNQYi4NdVypuHsB2pUQfSBp09A=; b=cV+FiBTWA5HBwpddXDbEkqJt1WcV6bG6R1zMmPTLcBKYWDOp/IY5jF6dl2tlqf+guLHUhA ymJlJIAbqVlnZp8N5BBTNfMfwagzJjQ3iFAvXLfe5bAuYUTBPk1oQJqKj4trCYL64b5TUa gZKpI5UO3nHyi1fL+jg7o6CZYjkzsdqZvFG8wEAvgqy113s2lMKZQ2DKyTeq7TfN9Vh4uU N4P87OdGkme28/3mgoYkjjkX7Wqm7IlFa+GyvKDxBQMlYUnDBRxNNW5qtFyAg8R+unKmpu 4yvLSt5HuLWCiAwdsj/+LDG8BS6w0kBskS64+FJ//i5azLpKZhyJ5iPCsHVzeg== From: Herve Codina To: Herve Codina , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Linus Walleij , Bartosz Golaszewski , Jaroslav Kysela , Takashi Iwai Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Christophe Leroy , Thomas Petazzoni Subject: [PATCH v2 0/3] Add the Renesas IDT821034 codec support Date: Fri, 20 Jan 2023 10:50:33 +0100 Message-Id: <20230120095036.514639-1-herve.codina@bootlin.com> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755534860388977928?= X-GMAIL-MSGID: =?utf-8?q?1755534860388977928?= Hi, The Renesas IDT821034 codec is four channel PCM codec with on-chip filters and programmable gain setting. It also provides SLIC (Subscriber Line Interface Circuit) signals as GPIOs. Based on previous iteration: https://lore.kernel.org/all/20230111134905.248305-1-herve.codina@bootlin.com/ the bigger change is the codec driver rework in order to remove the regmap virtual registers layer. Best regards, Herve Codina Changes v1 -> v2: - All patches Reformat commit log - Patch 1 Remove '$ref: /schemas/gpio/gpio.yaml#' Use 'unevaluatedProperties: false' Update the node name and remove the sound node in the example - Patch 2 Change the file header comment format Rework in order to remove the regmap virtual registers Herve Codina (3): dt-bindings: sound: Add Renesas IDT821034 codec ASoC: codecs: Add support for the Renesas IDT821034 codec MAINTAINERS: add the Renesas IDT821034 codec entry .../bindings/sound/renesas,idt821034.yaml | 75 ++ MAINTAINERS | 7 + sound/soc/codecs/Kconfig | 12 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/idt821034.c | 1200 +++++++++++++++++ 5 files changed, 1296 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/renesas,idt821034.yaml create mode 100644 sound/soc/codecs/idt821034.c