Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp4900282rwn; Mon, 12 Sep 2022 00:36:14 -0700 (PDT) X-Google-Smtp-Source: AA6agR4K8deZKXXmkKYUeBIx7pkpO+kqP6eBr1k+j4yw77uFS9MTgJlCHq377nbmWzT5ZZ29Xo3s X-Received: by 2002:a17:902:c206:b0:176:a575:5ca8 with SMTP id 6-20020a170902c20600b00176a5755ca8mr25717257pll.74.1662968174153; Mon, 12 Sep 2022 00:36:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662968174; cv=none; d=google.com; s=arc-20160816; b=xh/us1RPE87FBUvxElTqbL9gVzxzJ1rhsrJbYCv2BFEHGj039DnBzsutpjmALKF1BI AZrZtTPUHaDit3574QAaYZkQ1IJjolIj8oVGOQBgkzfJ4++MFQrvKj3MqngQRyK5fe7+ XfNonU5LVqmMbqkGkAEHrVgd99LMn8/z5Li5yFBObCr0TplXkh5q4GsEwYfhkHlANAyT cQ1NJ5CiQQu6heHpyoz9WD1bXAfMOBWijKcxsLuREHFLNoQC6KbfDo939EG9alaiKYJl 5hXgMh+A6mfar23eQfaZtxaXEwM7cYtjBYpDWbTdRAEi/wdsIVvfjkIF5ELAF7oEoGV/ HwtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=GL/r0e3Bljjih6Nhnen38jSQxiap0mNwoK1npXft9aY=; b=pH6BpKZHbetWRrzM89AKcgzKOCthKFctUFjuJo8XHewlF+80gSsgg/9L+rHlKxCNqo 2/QsXs3fmRV5WALc8Gu3EeEfgoYPQLJS8HDYcwr6K0dN+DYOssbXAvJyIJvcCNt1djpT FYgT4Uod9J/6w8rtpzFuV2H0HyN2C5m9LQ6HSFkggXawX5bp6JiA21f9opmgQOifSEUX 3goMgykZ5iaqgs0Pdxyv5vpSPx8DgLkFCGfpAaHBVs6kxQByO/DnOD84afcbupFTQaN1 R+y/utA9dcDwtZxNFlsxWDiJIIHcGyBFxqw+WeSBmNsEfGbn52ZCE2jaWq3jvou2XlgS G6Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=eCg9++X3; 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=axis.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d21-20020a170902729500b001726a59e2desi7380922pll.133.2022.09.12.00.35.59; Mon, 12 Sep 2022 00:36:14 -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 (test mode) header.i=@axis.com header.s=axis-central1 header.b=eCg9++X3; 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=axis.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230272AbiILHUN (ORCPT + 99 others); Mon, 12 Sep 2022 03:20:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230123AbiILHTA (ORCPT ); Mon, 12 Sep 2022 03:19:00 -0400 Received: from smtp1.axis.com (smtp1.axis.com [195.60.68.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1BCD2E9ED for ; Mon, 12 Sep 2022 00:17:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1662967035; x=1694503035; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=GL/r0e3Bljjih6Nhnen38jSQxiap0mNwoK1npXft9aY=; b=eCg9++X3L2x9fR/Rbu3rdTMFwXdc3NH6RCGePhJ2JvzTt7lj/eSJSjjW FGEXK6xFQmerodOUrLnw+UObuLn0io0mFkGjSPokuMBfTNVgtxOZr3HUN oIpycaj8pjoX/PQ4pb1Vd3F4qVIY8SuPrVq23U4o8GFg3D4P5VtfhcXo1 j3x2opOzQynkiUQQPcg2N2MieeqkyjeGiLDH5C1C/NSc6JewkFNNpZYzy MxCAOks9TRbbImLjtC4HGN0kmCrl55mUjzejaZWctI6g9K1JtUsKGSNVH r7Z2U1HocaJbDK4SPplRCSR8qo0a8Uxgrv/j+NYcZf+focLlvCsCur65d g==; Message-ID: Date: Mon, 12 Sep 2022 09:17:12 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH] ASoC: ts3a227e: allow enabling the jack detect in driver Content-Language: en-US To: Mark Brown , Astrid Rost CC: Liam Girdwood , Jaroslav Kysela , Takashi Iwai , , alsa-devel-mejlinglistan , References: <20220909093001.13110-1-astrid.rost@axis.com> From: Astrid Rost In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.0.5.60] X-ClientProxiedBy: se-mail04w.axis.com (10.20.40.10) To se-mail05w.axis.com (10.20.40.11) X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Hello, > New properties need to be documented, I'm happy for that to be in the > existing document though obviously a conversion to YAML would be very > much appreciated. However... Yes, I am doing the yaml conversion for the other patch. I guess this one - I will try to do differently. On 9/9/22 19:45, Mark Brown wrote: > ...this is something that should be done in the machine driver rather > than the CODEC, the way the device is wired up in an individual system > may be surprising or the system may have some more specific labelling > that can be usefully applied so this is all deferred to the card. > > It would sense to convert ts3a277e_enable_jack_detect() to be a > component set_jack() operation, that'd enable it to be used more easily > with generic cards (though I see that it's not yet wired up for > audio-graph-card unfortunately). Thank you! Yes, set_jack I did not see. I actually thinking of putting this into simple_card.c. But than it needs to be really generic. I will have a look. Astrid