Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp1038641rdg; Fri, 11 Aug 2023 07:56:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHiaF96LdKlHWftoA4l493XWzSqn+GgQGaAJ6roECAHDKuIrEFoahHSj7Q8Qshdd8AcrGzF X-Received: by 2002:a17:902:b907:b0:1b9:de3e:7a59 with SMTP id bf7-20020a170902b90700b001b9de3e7a59mr1993241plb.10.1691765786058; Fri, 11 Aug 2023 07:56:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691765786; cv=none; d=google.com; s=arc-20160816; b=c42NtTRF+rWwdmlkMjHz1UG4tu6HepsQL0PgMTYM5zPDwJvyK6uXaz3KviDp2y2FkB z/AbYUstf+ljFrRzA5CdS4dns/FO3aR5MbRcTQVVam1Aho9gUIWD7XR6oCrBL9Y7MQiP xy7Jdr2yGx5gDurY5EmzhdYVm32mnp5Y6aeSeWlCtz91aC4virnl7z5Eo5gRlMfQW1Gc 65yqt2ztgnNNrwAyG/PJKQG2c8dsch2XuXRnmnBX9b2VimeJ/+WBnunDHZgFFhk/mrNa qdmqYvijmJRV1bli/hxSxY/h2raXJEmDqmtWnA/pBEBNeMFXW9mMHBf9ZG+brlQvfUnn A3UA== 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:dkim-signature:date; bh=ThgEcDB8JUzTndOqcy+Y5WmjStMnn8tsicZSZ/0y+p8=; fh=fPMJ/PMPSCcDv0G72/LbxQB2QNNiHwvMPpreGIUlYJ0=; b=sp/q8F7Xo2faxR8A6+wgKkxWXu5Q3WxL0nPUqxqjZ1tKpRc5aeV7UUbz/6UFNwIz+p JNRaLsQ3US4kGuPYQpncydwAoi4glNKp7sLcwnsliyCURFQcm5HeWN9YrIUBPYD73fV1 kTWxQL+XxudrCw0vUfJmYoDtIlPjYG7uT23W/4F+fsWYD2Ti/ZfaTSGl4WKjjFFHH2rc Hd9kkjRCebnhQQkg0N5MXkeDIDTv66FZAgAzCC3OABMpVc31CsrvO35t/c1bC3S0A8tU JPFNwd1zq8tC0ZVZnhOCDwgeCnh5KIhv8aJoSDY2S5TxLOKBedy9lc/jagU/7bRIVHlg 5hMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jookia.org header.s=key1 header.b=od31vtjh; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jookia.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z19-20020a170903409300b001bba9e34736si3351841plc.366.2023.08.11.07.56.11; Fri, 11 Aug 2023 07:56:25 -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=@jookia.org header.s=key1 header.b=od31vtjh; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jookia.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234384AbjHKO0r (ORCPT + 99 others); Fri, 11 Aug 2023 10:26:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235812AbjHKO0q (ORCPT ); Fri, 11 Aug 2023 10:26:46 -0400 Received: from out-121.mta1.migadu.com (out-121.mta1.migadu.com [IPv6:2001:41d0:203:375::79]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57E932D7B for ; Fri, 11 Aug 2023 07:26:45 -0700 (PDT) Date: Sat, 12 Aug 2023 00:26:15 +1000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jookia.org; s=key1; t=1691764002; h=from:from:reply-to:subject:subject: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=ThgEcDB8JUzTndOqcy+Y5WmjStMnn8tsicZSZ/0y+p8=; b=od31vtjhsH6yLn0+f3Xn0B057WY6B0uUIZNA7ZxIVUHn99CyOCcNo4Geoykt07xRnCEC31 ka1/woyaNakdNOs2NcizNBfqnLz8fDOLplrgacm7xqsLMlfvfFjA7QN6EZM4BQS0vl2baP vTTn/X8N6ebfa49tNWutNpONQEN+XRiTBNKJNGlxy4ICIRmtvRIll1QXRaV9AOS2wj7q59 wrr2r25yZb8S8kKtY0mGcdcd8byttl441GzZeVzKWlyWzQXu5U8JhCxVp8FUTdlznU1m8U 8ElCWg83QMYTMI6IZExxwzGZpblilcv01CxXMrPGNnvE9Dnnoy3CUOFDkhimqA== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: John Watts To: Mark Brown Cc: alsa-devel@alsa-project.org, Liam Girdwood , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , patches@opensource.cirrus.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] ASoC: dt-bindings: wlf,wm8782: Add max-rate property Message-ID: References: <20230810224930.3216717-1-contact@jookia.org> <20230810224930.3216717-4-contact@jookia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,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 Fri, Aug 11, 2023 at 02:59:35PM +0100, Mark Brown wrote: > On Fri, Aug 11, 2023 at 08:49:30AM +1000, John Watts wrote: > > > + - max-rate : max supported audio rate configured by FSAMPEN pin, defaults to 48000 > > This seems like a cumbersome and error prone way to configure this - why > not just have the binding specify the state of the pin? That's just a > boolean high/low whereas this requires getting the rate right and then > having the driver validate it. Hi there, the pin is tristate, Z, 0 and 1. How would that be represented? John.