From patchwork Mon Dec 25 05:39:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Ding, Shenghao" X-Patchwork-Id: 183124 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp244670dyb; Sun, 24 Dec 2023 21:42:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IGuNAaCO81et/kzBLigYy0+aTuqPEeMd49/SgMo+c2IzIZrMX9WRSO8JbmDXIYXGOPhTlxt X-Received: by 2002:a17:906:1010:b0:a26:af11:4d1f with SMTP id 16-20020a170906101000b00a26af114d1fmr2208789ejm.98.1703482925130; Sun, 24 Dec 2023 21:42:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703482925; cv=none; d=google.com; s=arc-20160816; b=ChCAp5urbRL0V2GDeAdyn1vR8txawOD6NJ936IOYpHYiUkrMiSfLVc1xhroKMNMf9G dQgXhMhYAYnQK6NxE2OjEDLo3ZB7SyiRF/o/RgTN0B7zwxYwEaZ9QnQ+T7C5JhwbyQ2e 9lpDTTdEQwCghTZcKIJglQCgQkz951W8BIWvdmNKfH+hW820648R/C4NSEuv5+cj5G2N dROwIx0YLS65O9nSb1zbFcc1t1+oNdtBFpC7+jdBdZC3xsCBe4L+JNsA95qiqAF4yQY6 58WaG3vDtFhQPf5cGtUkPSrNRr8hi7n2eBkE66MOlOB3VNOxoyrEEyLqJN6ie+Dt9dKA rC9A== ARC-Message-Signature: i=1; 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:message-id:date:subject:cc:to :from:dkim-signature; bh=lbV2Hq/3rS7COuxdm4zdcZSLkIVz4F3DtABgamkDASM=; fh=nmpqriIAxzz9z4/piqOabUsFkiEK8VDv7G5j+pvfHas=; b=ES9BqzUme7HURa5kN6ehtTfI1UH0KbjvelouGeBC8Nds3ktJZ49MrovlEHkFpSsiDx dvYzK4adA+gIJWO96ikyMBeUu+ZjIC/OcCbNqquo6G6ciUMV6H643qrwXMKtBuTEitfV xAlnJw/gP2pbpS8219J+Zl66bohBr5fn1DX+QChTYJPXIZx/n1cY01J1QN5pr9/UMxFt 52AO40sCl5QdkkUxQKquw3jBgSCfijIkazqsOHQ+RgZNY9UNVjoI/ANZ665yCNw1M05k E/eySbSwN3rz3ZM0zNO2B4Idin0R09yrjCAYl6VN1zAmV0aa3CQRYJwmo/NYcu94P6xt bOTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DXxqZL2L; spf=pass (google.com: domain of linux-kernel+bounces-10896-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10896-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id bq22-20020a170906d0d600b00a26ac33a230si3543907ejb.114.2023.12.24.21.42.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Dec 2023 21:42:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10896-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DXxqZL2L; spf=pass (google.com: domain of linux-kernel+bounces-10896-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10896-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.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 am.mirrors.kernel.org (Postfix) with ESMTPS id B21301F214A3 for ; Mon, 25 Dec 2023 05:42:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AEEB78C03; Mon, 25 Dec 2023 05:41:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="DXxqZL2L" X-Original-To: linux-kernel@vger.kernel.org Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (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 A76B110FE; Mon, 25 Dec 2023 05:41:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3BP5dm4M040586; Sun, 24 Dec 2023 23:39:48 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1703482788; bh=lbV2Hq/3rS7COuxdm4zdcZSLkIVz4F3DtABgamkDASM=; h=From:To:CC:Subject:Date; b=DXxqZL2LD4LpQSLINhR/aN0S9P4UzSYsP4F6pzvlUq1oyoVhDsZ1OK1q1ZxWkiHPz N5LGPmxwEWZYU7IkC76e3zc1ygoj/5IpjJreWuG8SUJ5PppwN6UlkzI+X4GR8X3FkR MJIiqgasUjXIg7jUFwydMaURZjdXJPhPDDjbj7jE= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3BP5dmSd020659 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 24 Dec 2023 23:39:48 -0600 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Sun, 24 Dec 2023 23:39:48 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Sun, 24 Dec 2023 23:39:47 -0600 Received: from LT5CG31242FY.dhcp.ti.com ([10.250.160.240]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3BP5defc118972; Sun, 24 Dec 2023 23:39:40 -0600 From: Shenghao Ding To: , , CC: , , , , , , , , <13916275206@139.com>, , , , , , , , Shenghao Ding Subject: [PATCH v3 1/5] ASoC: dt-bindings: move tas2563 from tas2562.yaml to tas2781.yaml Date: Mon, 25 Dec 2023 13:39:27 +0800 Message-ID: <20231225053932.1138-1-shenghao-ding@ti.com> X-Mailer: git-send-email 2.33.0.windows.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786231311838953884 X-GMAIL-MSGID: 1786231311838953884 Move tas2563 from tas2562.yaml to tas2781.yaml, because tas2563 only work in bypass-DSP mode with tas2562 driver. In oder to enable DSP mode for tas2563, it has been moved to tas2781 driver. As to the hardware part, such as register setting and DSP firmware, all these are stored in the binary firmware. What tas2781 drivder dooes is to parse the firmware and download them to the tas2781 or tas2563, then power on tas2781 or tas2563. So, tas2781 driver can be resued as tas2563 driver。 Only attention will be paid to downloading corresponding firmware. Signed-off-by: Shenghao Ding --- Change in v3: - remove tas2563, which will be move to tas2781 driver - Add more comments on why move tas2563 to tas2781 driver - provide rationale in terms of bindings and hardware, not in terms of driver. Or at least not only. --- Documentation/devicetree/bindings/sound/tas2562.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/tas2562.yaml b/Documentation/devicetree/bindings/sound/tas2562.yaml index f01c0dde0cf7..d28c102c0ce7 100644 --- a/Documentation/devicetree/bindings/sound/tas2562.yaml +++ b/Documentation/devicetree/bindings/sound/tas2562.yaml @@ -18,7 +18,6 @@ description: | Specifications about the audio amplifier can be found at: https://www.ti.com/lit/gpn/tas2562 - https://www.ti.com/lit/gpn/tas2563 https://www.ti.com/lit/gpn/tas2564 https://www.ti.com/lit/gpn/tas2110 @@ -29,7 +28,6 @@ properties: compatible: enum: - ti,tas2562 - - ti,tas2563 - ti,tas2564 - ti,tas2110