Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3215521lqp; Tue, 26 Mar 2024 03:05:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCULj+0d0KMHkP/SS9ZqndiZ+U9Cw4X5WzohD6t88bHlzrvHXd6lf/1Hlcyn3P6nturO3w2G6gwNWuCVIF0hHE100paTqcc/t9DdV8M2vw== X-Google-Smtp-Source: AGHT+IFLWD9sywoDu3RDmfc+VwvGL6LuTudSgC0kCzrjx0xgxlQ13vs+VILJOgYEqKRunZGHtQmQ X-Received: by 2002:a05:6a00:139b:b0:6e7:386d:ac95 with SMTP id t27-20020a056a00139b00b006e7386dac95mr10904872pfg.1.1711447503210; Tue, 26 Mar 2024 03:05:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711447503; cv=pass; d=google.com; s=arc-20160816; b=pPFAoyw1V6RBfdjYB65PBZt+uZ8hxJx0+yn/3HFYYnlnbqBa+Z+9KtMNpGkQ9dHqYx vS+ZZhdUvBhq1xFS6vSBYPrpkYWmx1zEjnU8wRjf+6atHM2Af9AHnmPNc29u8sivvIz7 YrJ0/8P1Zt94mzD05wGc5UpE54Q3TmF+oR3k0Yl6egVKKxjGGCB9R5LZ3tXh1oA2uXZn UIu6E95o4L7orxA/xh3jj/6OdhB637YIbvpr4efl5eEKWKafmhLWZw5nIW3BvgSc3wHc mfid5ocNagqFZMKWrLuAc7tqdEkN1tvfO94Hwzuex7TUcB2mjDGafue2c6tmRtMrnEpH u/7A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=xOZ9rQtTl96OnEgm3RV/loz/qLmM+acWJEk5RlkzUlQ=; fh=DQfWcJ7a6lABpgAjlslbt+lALChD4jPOSQFW0XC7h54=; b=cGv0TI0pOowcmpdIYYYXpsr6rv6I2Amvn97vPq/b6DWyIiGssxsQD0bfwK53/Zs/MO ZkFRUVACOhVbbIBaRAlo87XBcCGBTF+sq9ofmKrFExX5DHhi6CHwjtD4gsvigVzATfWI UWl9Ncuwvkt8vg9WmHHm8da8MrN+3fWHS3H+0CNMQz5ZvaXgNubg/VlrI+Vz6bMiCx8N idsTnRjQDJ5RBOCyEAH/iZP17vp1sCQw7LLWXvuRWVGEbJ5O2cjOAVHU3DopsUToCEBI WDn1cpMhwazaCDoOwl4FI3VcEdKdPtlBNAiQ+rS8IxHVy+C3l1AZqHccphOfWcgzwO+s P0fQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XLydjVmy; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-118604-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118604-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id b12-20020a655ccc000000b005e525ed7336si9451288pgt.85.2024.03.26.03.05.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 03:05:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118604-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XLydjVmy; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-118604-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118604-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 5CC58B237BF for ; Tue, 26 Mar 2024 09:02:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F00F6BB46; Tue, 26 Mar 2024 09:01:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="XLydjVmy" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 179995A116; Tue, 26 Mar 2024 09:01:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711443695; cv=none; b=Ol54mNAtxoCnAVUczBtb9HBaaSW3duSRkUP94Pm7DIpxkrRp8TM+dUX6o0vqlYKpm+rKQgnuqZeuHJee7x1mkKzi6yVR6jJg0/XTA4qGA8qlReubjxBw1aizY1V1XluvrYv5aYcjQfYKeMMJ2uWB5iGfEcb8EVGZ8M+hv644R3Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711443695; c=relaxed/simple; bh=fI/ZOOnPs8ra4ukyZ3lcLRv1xqdItGb5OJoMllvqB68=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=sKJwbhu/6xXY6Er+tRFtvZYnoqoBt++GoeGgeeFzbv9M5Nt40LP6+chudSt9wgJkcmyk42bTQI4sCHR71hmIR2ljF2Z6iA5oYal7INf061NGxIQjJFulrut4Q+QonL+r9FfkMa06+60iUBesGeHC9/RlWzme0QixEvZ5KB4iFwc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=XLydjVmy; arc=none smtp.client-ip=198.175.65.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711443694; x=1742979694; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=fI/ZOOnPs8ra4ukyZ3lcLRv1xqdItGb5OJoMllvqB68=; b=XLydjVmykZA8IudLbaN7lpAJk+4pUTy7iruAZtbJWFKiwzjEQKWd7tUt 0CScgRNQaaQ3vyN8MUjyZLerHqYV4xsSOi89AyispdeoU5EYHsvUpRKJ3 jBHtNDBY2GPRG435HceyTFnSEkB94GslCFjmhFxc3kGRgE2sJyXKjO6g5 0oNTHqMuPGit57bbIPZgCCbvmsx98hF9V2eVDL/kFuxNhbtOk9TzrhjHB YW+SoRhgVopLB/hlImFsyusstlaR3mpRYTbBwvGN9Li+S8xBQwznGJ2uU 8QbQ4vrKtbSjh6fA7iYAF9cdsuClbmIRcOW13aHBQDyXUKxOhyUWp/X23 g==; X-IronPort-AV: E=McAfee;i="6600,9927,11024"; a="6343356" X-IronPort-AV: E=Sophos;i="6.07,155,1708416000"; d="scan'208";a="6343356" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2024 02:01:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,155,1708416000"; d="scan'208";a="20614515" Received: from yungchua-ws.ostc.intel.com (HELO yungchua-ws.intel.com) ([10.54.69.90]) by orviesa005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Mar 2024 02:01:28 -0700 From: Bard Liao To: linux-sound@vger.kernel.org, vkoul@kernel.org Cc: vinod.koul@linaro.org, linux-kernel@vger.kernel.org, pierre-louis.bossart@linux.intel.com, bard.liao@intel.com Subject: [PATCH 4/7] soundwire: reconcile dp0_prop and dpn_prop Date: Tue, 26 Mar 2024 09:01:19 +0000 Message-Id: <20240326090122.1051806-5-yung-chuan.liao@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240326090122.1051806-1-yung-chuan.liao@linux.intel.com> References: <20240326090122.1051806-1-yung-chuan.liao@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Pierre-Louis Bossart The definitions for DP0 are missing a set of fields that are required to reuse the same configuration code as DPn. Signed-off-by: Pierre-Louis Bossart Reviewed-by: Rander Wang Signed-off-by: Bard Liao --- include/linux/soundwire/sdw.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/soundwire/sdw.h b/include/linux/soundwire/sdw.h index e5d0aa58e7f6..e3a4bccc2a7e 100644 --- a/include/linux/soundwire/sdw.h +++ b/include/linux/soundwire/sdw.h @@ -235,7 +235,8 @@ enum sdw_clk_stop_mode { * @BRA_flow_controlled: Slave implementation results in an OK_NotReady * response * @simple_ch_prep_sm: If channel prepare sequence is required - * @imp_def_interrupts: If set, each bit corresponds to support for + * @ch_prep_timeout: Port-specific timeout value, in milliseconds + * @imp_def_interrupts: If set, each bit corresponds to support for * implementation-defined interrupts * * The wordlengths are specified by Spec as max, min AND number of @@ -249,6 +250,7 @@ struct sdw_dp0_prop { u32 *words; bool BRA_flow_controlled; bool simple_ch_prep_sm; + u32 ch_prep_timeout; bool imp_def_interrupts; }; -- 2.34.1