Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7494119rwr; Tue, 25 Apr 2023 14:03:31 -0700 (PDT) X-Google-Smtp-Source: AKy350ZCNGL1qMK+mnpNNOGKv/mudueffC2AxyanCPtGl24Arc5SaVJ3buyLekSlLKEovyqx6nUX X-Received: by 2002:a05:6a00:1989:b0:63b:5501:6795 with SMTP id d9-20020a056a00198900b0063b55016795mr24516087pfl.24.1682456611279; Tue, 25 Apr 2023 14:03:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682456611; cv=none; d=google.com; s=arc-20160816; b=gGaAsoq/B0+9JewKL+7a88yZZhHUK6LsDyKZph6sRm4xUyfRPh9yGMberq0h9G0kr+ VvPxsouaxe8SN28DPDrDAj7O6b1ywAjrLR9FzlHH408IvRhcr4/3CBz4hUbjPIMxiY2D jfCpwe/p/w/nb3y8eNMtZBJ384frgxkcgt91Q0jgSi2OBkLcsgAIAspB7OACmqxetWf7 7cuJ1YDjmoFoZ/QPw4FjqTADLyNwo6ViW7068BamOuRzwFerHVq43od/HKUbBdxCETsg 13NBWWRENG3HdkxE2B/G3Gpkw3bZ4B5WR4IY3ZspQ5JO7fc6thLWH3q9xN3Tz/5UW1Eb 1n6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=vgRVIXe+P2Wjfmla/rXAZJKk1sI+D1ImKYegwRHDTks=; b=pbD45btdOybxh05fN5QARdZiYZJdiRaUFqhkXBjxvTgvHY6pBWOJ1Lz1kah8Jb7cnv FCi2bfZH1drZjX913gEffmeefbcJtlZFhx5Iotbz2+F/aea+K0bthBzM0/hm8jUCT/gi Ybz5T3GFFlomfzEHFBc5ENsicN71SeKbJL8tF+RNEnqp+tz6Gu2ZxmV+sJUw1NieL1iY SA882x0SVQL8bafsyBMrtMowpazm2EN5dIWXZwwYbo144VLZl/nkKZ54O4hkMCB7vwvw 2PIN2aW9dJUvbnlqjd6l08elr1YzenvUU8Hybpg1flzf1KXjSBhmfPevwu0Cfrekbfhx k/Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=Ig8rGX6P; 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=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r14-20020a632b0e000000b0050f64740c13si14511138pgr.622.2023.04.25.14.03.09; Tue, 25 Apr 2023 14:03:31 -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; dkim=pass header.i=@canonical.com header.s=20210705 header.b=Ig8rGX6P; 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=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236215AbjDYU5u (ORCPT + 99 others); Tue, 25 Apr 2023 16:57:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236198AbjDYU5r (ORCPT ); Tue, 25 Apr 2023 16:57:47 -0400 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F15F16181 for ; Tue, 25 Apr 2023 13:57:44 -0700 (PDT) Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 4BD603F229 for ; Tue, 25 Apr 2023 20:57:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1682456261; bh=vgRVIXe+P2Wjfmla/rXAZJKk1sI+D1ImKYegwRHDTks=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Ig8rGX6PV8bg6ln9oVlnGLEjc14RtxwSxXHhHg8U+eZxHrb9VIjkUuj+RVPN6H7MM ho313fl6EwSl+i7PdzJLFmhqHiZZGmjcONnSSXN4RJ3oqSoiU8Dh3uhV2Yar4KxW5U Ol97OVb5nLl/3xxYqrWLfQeUSwqstegUObWnYoCtGHW9CNWVcXAsCvQVwjNPikPwCy UECH8u5deFwgeM5+psatjnH53b4FZRbYXuYnkr7I8UPgAPc723YJAoQ8oa33oHfbeM ixkbzzAkTGkz/P7vdZU760tX4MSXAuIu2vWz+OxKdkQquiAe5KCHq5MDNvq231Aevn gaKU60kRNdoKg== Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-3f0a65d5a1dso27774341cf.2 for ; Tue, 25 Apr 2023 13:57:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682456260; x=1685048260; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vgRVIXe+P2Wjfmla/rXAZJKk1sI+D1ImKYegwRHDTks=; b=eDJyFR2HDt9Au0MMQytnj+g4r5OAN7rp86VM0/fZ2brn6hqqktfiVB9IxmDtsVZiLD rEy8kYTJdVuVUl9LaBAhPbGJNIHDdsXyqhpq4HAFhFAFxGbvzCIOa5U0WGY2Mw2gq8NM FVTj/iF/LzNrqgk2QDeihLkw+DJvVHqu9tdGWnahYrPmrZPVN01BNEdBOUuRTEVf9/dl t7ix91GRfuLMUeKwodWvfdWFdCN9SMOUbPGLsba8ZIrImrpejZKxPd9Dt3UHplsKzHIT M96xFYzXfe5X9ocsKycXB5MaYwrkIoiOFqvdgiz7BFDfnUFHxubmiTNUZs8zCtTxlYlZ vsZg== X-Gm-Message-State: AAQBX9cRJcFwOCgn8gWSo87YGJZpyyHN/T0F0l5clmfFFJ7CyT2vxNvF SjPmeL44T4VokLOf+TXwRZ2EI7zVCifOQVKHJuvoDhjrCK3X6Cn3dkztOThv/uqeuKi7FmF1dfE VKVeZX81rn9n/JzUZGBPOezMC51TtLsBn8dniWbkkIPrnPnzY5aywpOKtzw== X-Received: by 2002:ac8:5d8d:0:b0:3ef:46b0:80e8 with SMTP id d13-20020ac85d8d000000b003ef46b080e8mr30845692qtx.19.1682456260305; Tue, 25 Apr 2023 13:57:40 -0700 (PDT) X-Received: by 2002:ac8:5d8d:0:b0:3ef:46b0:80e8 with SMTP id d13-20020ac85d8d000000b003ef46b080e8mr30845680qtx.19.1682456260117; Tue, 25 Apr 2023 13:57:40 -0700 (PDT) MIME-Version: 1.0 References: <20230420024118.22677-1-walker.chen@starfivetech.com> <20230420024118.22677-5-walker.chen@starfivetech.com> <20230421-dropper-upstage-200ae7e47092@spud> <607f3604-056c-6f3a-b154-0f298b870811@starfivetech.com> <20230424-roundness-everybody-659599d44963@spud> In-Reply-To: <20230424-roundness-everybody-659599d44963@spud> From: Emil Renner Berthing Date: Tue, 25 Apr 2023 22:57:23 +0200 Message-ID: Subject: Re: [PATCH v2 4/4] riscv: dts: starfive: add tdm node and sound card To: Conor Dooley Cc: Walker Chen , Jaroslav Kysela , Takashi Iwai , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Mark Brown , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 Mon, 24 Apr 2023 at 18:27, Conor Dooley wrote: > On Mon, Apr 24, 2023 at 11:21:11AM +0800, Walker Chen wrote: > > > > > > On 2023/4/22 0:50, Conor Dooley wrote: > > > Hey Walker, > > > > > > On Thu, Apr 20, 2023 at 10:41:18AM +0800, Walker Chen wrote: > > >> Add the tdm controller node and sound card for the StarFive JH7110 SoC. > > > > > > Is this one of these waveshare things + a visionfive 2? > > > https://www.waveshare.com/wm8960-audio-hat.htm > > > > Hey Conor, > > I'm glad to receive your comments. > > > > Now we are using this board + VisionFive2 : > > https://wiki.seeedstudio.com/ReSpeaker_2_Mics_Pi_HAT/ > > > > > > > > I'm a bit lost as to why this needs a whole new board, should it not > > > just be an overlay that you can apply to the existing dts? > > > > > > Taking this to an extreme, should I expect to see a new devicetree for > > > everything RPi hat that you decide to use with a VisionFive 2? > > > > For your response, I did some thinking. Because wm8960 codec is not integrated > > on the VisionFive2 board, perhaps using overlay is a better way. > > Aye. I think so too. From my PoV, if this particular seeed audio board > is something you're bundling with VisionFive 2 boards on your storefront > etc, then I'm fine with taking it as an in-tree overlay. > If it is just a "random" RPi hat (that happens to be exactly what you > need for testing the audio drivers), then I don't know where to draw a > line for what is & what is not acceptable for inclusion. > > In both cases, it's Emil's call. I'm not aware of any shop bundling the VF2 with an audio board. I agree: please don't add device trees for combinations of VF2s and hats. That should be an overlay. /Emil > > > Also, it'd be nice to provide a Link: to where someone can find more > > > info on this combination of items. Google for "wm8960 visionfive 2" > > > gives me nothing, nor does "starfive audio card" etc. >