Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1557193pxb; Thu, 16 Sep 2021 09:51:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxm76mEQCwqPc6pVA/YuYNZcVfKyYyy56+XrQ2t4cxF3pJvy3SL+P2tlCyuAmcpVX2fulo+ X-Received: by 2002:aa7:ce14:: with SMTP id d20mr7458281edv.132.1631811109949; Thu, 16 Sep 2021 09:51:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631811109; cv=none; d=google.com; s=arc-20160816; b=g6oWBWhZyOEUYpEs5pYYdTv2tQ3vg/56KGWGPTOc2eRzRZrvq0DQRl5F4krgXC0Dsh Owau5i0snXJInXjKlKjEiTDMKXe/Vu3Oa2yCcDUZpa5Ese01RVFOWxS5iSFXL077G8Ry EVN5ozIjn9sfC4FVufz00CrTih5efl7Rg3XYjGopMoHzOXgxSD8mOKXXauCdbs4oGRo2 kIEiHwFgTZ4W6ObrRx6fxhgnyJryyFSyHweq7Dv/YEvs6pFebwXeSM6snuhPZ3pI1Jqy JTN+cYPjqmc/750jdXKlNu+GuGfvpNYA6f0gsQj3Ess4mpPGcMxZoN1jLRUcMEvR/raP KaXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=zdLzB38bYZXL0dg8aKgPyxaiLgAjHHa5wUzoMFEhh7Y=; b=Gtw+DIMQGysBLZegRBGkCZDF+4xDEbl0jikhlWbKfdr2ATOod1+XSbYn1I7PYeeTh+ vxFS8Oumi2LFVBHM41w0BV8Fxvu4GdTFXV36WM+XRlWuAfyR9VPr0/z4gbhCs8D/E9u/ aydwg0NqbWTtzIfVaROPtJW1bMfqa3JKUU2caGgZQWYl94cdFk7W6v5Y52PuBROver5G Co9rt6Oun8ncNgrVuUb164AcBXvtHqx3yuP/VhnlSvUOyj/skgj9RBHj5H0ppd+BgFVo 567smax0ukIsAzfv72+O3BNuyWJaDC9ftBejwqXMKYbVqRhOXnBcMjnfJVwwUe5a9UAT W5ew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y6si4269007ejk.63.2021.09.16.09.51.23; Thu, 16 Sep 2021 09:51:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344848AbhIPQtQ (ORCPT + 99 others); Thu, 16 Sep 2021 12:49:16 -0400 Received: from mga14.intel.com ([192.55.52.115]:11538 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244356AbhIPQmq (ORCPT ); Thu, 16 Sep 2021 12:42:46 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10109"; a="222263863" X-IronPort-AV: E=Sophos;i="5.85,298,1624345200"; d="scan'208";a="222263863" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2021 09:36:36 -0700 X-IronPort-AV: E=Sophos;i="5.85,298,1624345200"; d="scan'208";a="554156676" Received: from xuanguan-mobl.amr.corp.intel.com (HELO [10.213.180.84]) ([10.213.180.84]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2021 09:36:35 -0700 Subject: Re: [PATCH v3 16/30] ABI: sysfs-bus-soundwire-slave: use wildcards on What definitions To: Mauro Carvalho Chehab , Linux Doc Mailing List , Greg Kroah-Hartman Cc: Jonathan Corbet , Vinod Koul , linux-kernel@vger.kernel.org References: <416f4a746c116147abb08fb0155a6a4ed065dfd7.1631782432.git.mchehab+huawei@kernel.org> From: Pierre-Louis Bossart Message-ID: <9a379f0a-e076-844c-fb5d-130359e36754@linux.intel.com> Date: Thu, 16 Sep 2021 11:36:33 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <416f4a746c116147abb08fb0155a6a4ed065dfd7.1631782432.git.mchehab+huawei@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/16/21 3:59 AM, Mauro Carvalho Chehab wrote: > An "N" upper letter is not a wildcard, nor can easily be identified > by script, specially since the USB sysfs define things like. > bNumInterfaces. Use, instead, , in order to let script/get_abi.pl > to convert it into a Regex. > > Signed-off-by: Mauro Carvalho Chehab Reviewed-by: Pierre-Louis Bossart I also realized that we have a similar with the 'master' case more sysfs-bus-soundwire-master What: /sys/bus/soundwire/devices/sdw-master-N/revision /sys/bus/soundwire/devices/sdw-master-N/clk_stop_modes /sys/bus/soundwire/devices/sdw-master-N/clk_freq /sys/bus/soundwire/devices/sdw-master-N/clk_gears /sys/bus/soundwire/devices/sdw-master-N/default_col /sys/bus/soundwire/devices/sdw-master-N/default_frame_rate /sys/bus/soundwire/devices/sdw-master-N/default_row /sys/bus/soundwire/devices/sdw-master-N/dynamic_shape /sys/bus/soundwire/devices/sdw-master-N/err_threshold /sys/bus/soundwire/devices/sdw-master-N/max_clk_freq If there is an update we should modify this as well for consistency with sdw-master-? > --- > .../ABI/testing/sysfs-bus-soundwire-slave | 60 +++++++++---------- > 1 file changed, 30 insertions(+), 30 deletions(-) > > diff --git a/Documentation/ABI/testing/sysfs-bus-soundwire-slave b/Documentation/ABI/testing/sysfs-bus-soundwire-slave > index d324aa0b678f..fbf55834dfee 100644 > --- a/Documentation/ABI/testing/sysfs-bus-soundwire-slave > +++ b/Documentation/ABI/testing/sysfs-bus-soundwire-slave > @@ -64,37 +64,37 @@ Description: SoundWire Slave Data Port-0 DisCo properties. > Data port 0 are used by the bus to configure the Data Port 0. > > > -What: /sys/bus/soundwire/devices/sdw:.../dpN_src/max_word > - /sys/bus/soundwire/devices/sdw:.../dpN_src/min_word > - /sys/bus/soundwire/devices/sdw:.../dpN_src/words > - /sys/bus/soundwire/devices/sdw:.../dpN_src/type > - /sys/bus/soundwire/devices/sdw:.../dpN_src/max_grouping > - /sys/bus/soundwire/devices/sdw:.../dpN_src/simple_ch_prep_sm > - /sys/bus/soundwire/devices/sdw:.../dpN_src/ch_prep_timeout > - /sys/bus/soundwire/devices/sdw:.../dpN_src/imp_def_interrupts > - /sys/bus/soundwire/devices/sdw:.../dpN_src/min_ch > - /sys/bus/soundwire/devices/sdw:.../dpN_src/max_ch > - /sys/bus/soundwire/devices/sdw:.../dpN_src/channels > - /sys/bus/soundwire/devices/sdw:.../dpN_src/ch_combinations > - /sys/bus/soundwire/devices/sdw:.../dpN_src/max_async_buffer > - /sys/bus/soundwire/devices/sdw:.../dpN_src/block_pack_mode > - /sys/bus/soundwire/devices/sdw:.../dpN_src/port_encoding > +What: /sys/bus/soundwire/devices/sdw:.../dp_src/max_word > + /sys/bus/soundwire/devices/sdw:.../dp_src/min_word > + /sys/bus/soundwire/devices/sdw:.../dp_src/words > + /sys/bus/soundwire/devices/sdw:.../dp_src/type > + /sys/bus/soundwire/devices/sdw:.../dp_src/max_grouping > + /sys/bus/soundwire/devices/sdw:.../dp_src/simple_ch_prep_sm > + /sys/bus/soundwire/devices/sdw:.../dp_src/ch_prep_timeout > + /sys/bus/soundwire/devices/sdw:.../dp_src/imp_def_interrupts > + /sys/bus/soundwire/devices/sdw:.../dp_src/min_ch > + /sys/bus/soundwire/devices/sdw:.../dp_src/max_ch > + /sys/bus/soundwire/devices/sdw:.../dp_src/channels > + /sys/bus/soundwire/devices/sdw:.../dp_src/ch_combinations > + /sys/bus/soundwire/devices/sdw:.../dp_src/max_async_buffer > + /sys/bus/soundwire/devices/sdw:.../dp_src/block_pack_mode > + /sys/bus/soundwire/devices/sdw:.../dp_src/port_encoding > > - /sys/bus/soundwire/devices/sdw:.../dpN_sink/max_word > - /sys/bus/soundwire/devices/sdw:.../dpN_sink/min_word > - /sys/bus/soundwire/devices/sdw:.../dpN_sink/words > - /sys/bus/soundwire/devices/sdw:.../dpN_sink/type > - /sys/bus/soundwire/devices/sdw:.../dpN_sink/max_grouping > - /sys/bus/soundwire/devices/sdw:.../dpN_sink/simple_ch_prep_sm > - /sys/bus/soundwire/devices/sdw:.../dpN_sink/ch_prep_timeout > - /sys/bus/soundwire/devices/sdw:.../dpN_sink/imp_def_interrupts > - /sys/bus/soundwire/devices/sdw:.../dpN_sink/min_ch > - /sys/bus/soundwire/devices/sdw:.../dpN_sink/max_ch > - /sys/bus/soundwire/devices/sdw:.../dpN_sink/channels > - /sys/bus/soundwire/devices/sdw:.../dpN_sink/ch_combinations > - /sys/bus/soundwire/devices/sdw:.../dpN_sink/max_async_buffer > - /sys/bus/soundwire/devices/sdw:.../dpN_sink/block_pack_mode > - /sys/bus/soundwire/devices/sdw:.../dpN_sink/port_encoding > + /sys/bus/soundwire/devices/sdw:.../dp_sink/max_word > + /sys/bus/soundwire/devices/sdw:.../dp_sink/min_word > + /sys/bus/soundwire/devices/sdw:.../dp_sink/words > + /sys/bus/soundwire/devices/sdw:.../dp_sink/type > + /sys/bus/soundwire/devices/sdw:.../dp_sink/max_grouping > + /sys/bus/soundwire/devices/sdw:.../dp_sink/simple_ch_prep_sm > + /sys/bus/soundwire/devices/sdw:.../dp_sink/ch_prep_timeout > + /sys/bus/soundwire/devices/sdw:.../dp_sink/imp_def_interrupts > + /sys/bus/soundwire/devices/sdw:.../dp_sink/min_ch > + /sys/bus/soundwire/devices/sdw:.../dp_sink/max_ch > + /sys/bus/soundwire/devices/sdw:.../dp_sink/channels > + /sys/bus/soundwire/devices/sdw:.../dp_sink/ch_combinations > + /sys/bus/soundwire/devices/sdw:.../dp_sink/max_async_buffer > + /sys/bus/soundwire/devices/sdw:.../dp_sink/block_pack_mode > + /sys/bus/soundwire/devices/sdw:.../dp_sink/port_encoding > > Date: May 2020 > >