From patchwork Thu Sep 14 11:30:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ken Lin X-Patchwork-Id: 13385051 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01olkn2030.outbound.protection.outlook.com [40.92.107.30]) (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 65783208C8 for ; Thu, 14 Sep 2023 11:30:54 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N/3a4GCf46VO/SgxL5FGEx+Ip0Vub9P0YbfJRRWQJY0XazQcHHlzoGnRCRf7gvL4kYKXNbWFcAUcDSI3cdzSk5wxGkE3tcO+LD+7oR2hWIZ/C5tDamFhE13bA0x5FtugC2KhxJBwMoPqR5Yl1G7tz6ee67zGSTHP4SqI5i+EPI4NSxYATx3BieWGrqJmVaT23XpyjC5ujXL16py8btzMI1otwq4wY66tL3KJyvG9a4sf84WhKL53Xw3dkcr5ELP/hs8o0IPD93nHAUjmv1hIAucbP+d/7CN4/CGCTyL443AtpI5Hw46YszbWxZ+HEzLg84paGgU3c9lgyj06i865uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7VXog/0xqoXOi9PoJ6xSuC7HF0UF8wE3XAgjuHASgdU=; b=AGcRmNc+l2exNOgKoDWFUHU9+rB99JFLF1C2aNQyR+Xbw+/ywbAE76KY3p4O9L8Bvt+0dMZA3LKkyuKU52PeWDbWlsk/U/fRg73xnozKAbmpBZdGreloUPD03WWeRLJoegKS9uCss3fT7tbSIH11dYZo09KaZigG7lXz0xIfcVst56FVq04sUV0J1K16ONYyqScDlYNiIilmoiPtJ52eeF5uzqft0oUt6StaiPOqtkCbgTsiZOTjgspwDTMwfK/CYVE7IwkadsXFNOVrrbaNUGGzm4BEYtY3ifcTvNduy8nYfH+1uPvkP4+Vk2PW66LxYdZKO6PLJtImFrop8iPAiQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7VXog/0xqoXOi9PoJ6xSuC7HF0UF8wE3XAgjuHASgdU=; b=uMoKkyHtB4pBogvQCCMXIOCsZZZhjUzmF4dVezXDT1K6hUAti9nNtzTFc3s0P5y1p41YmufwoKtk9MCc0DjiQVuK3tVjRHi9d1rYG6gQfVUIHWUZuiTnAreooQVxaEGFB4vsz8YZjV3OmvWzX4Cssg9L1dF8LpXEnQ2r+31ernLqS38yWLdLOS1JqX3da7Mml+eAEXy8A0MTfzA4U5Nk4m7jtngyDWAbn+Qhun7oGB9pUr0Z5PvU+fYEx0SbaB4WybCG6pQFjj3sglud+GEkiajku+FjR6O7wkf+4Cg/jwO8ykTmpIadWh8tZTix2UchJJ9YQK1qrXTlUwN5fHGRcw== Received: from KL1PR01MB3809.apcprd01.prod.exchangelabs.com (2603:1096:820:41::14) by PSBPR01MB3607.apcprd01.prod.exchangelabs.com (2603:1096:301:10::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.20; Thu, 14 Sep 2023 11:30:50 +0000 Received: from KL1PR01MB3809.apcprd01.prod.exchangelabs.com ([fe80::fa4e:3c3d:23cc:79b5]) by KL1PR01MB3809.apcprd01.prod.exchangelabs.com ([fe80::fa4e:3c3d:23cc:79b5%6]) with mapi id 15.20.6792.020; Thu, 14 Sep 2023 11:30:50 +0000 From: Ken Lin To: LKML Cc: groeck@chromium.org, Benson Leung , Hans Verkuil , Kevin Chiu , Mauro Carvalho Chehab , Reka Norman , Rory Liu , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Zoey Wu , chrome-platform@lists.linux.dev, linux-media@vger.kernel.org Subject: [v2] media: platform: cros-ec: Add Taranza to the match table Date: Thu, 14 Sep 2023 19:30:34 +0800 Message-ID: X-Mailer: git-send-email 2.25.1 X-TMN: [zabyN1Y7wJdEFxmBXrcSAoMqWlD+7HZT] X-ClientProxiedBy: PS2PR01CA0014.apcprd01.prod.exchangelabs.com (2603:1096:300:2d::26) To KL1PR01MB3809.apcprd01.prod.exchangelabs.com (2603:1096:820:41::14) X-Microsoft-Original-Message-ID: <20230914193006.1.I3e77e62101570491a2e135dde745294d230cd6b1@changeid> Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: KL1PR01MB3809:EE_|PSBPR01MB3607:EE_ X-MS-Office365-Filtering-Correlation-Id: b10126fa-f8c0-4979-98e2-08dbb5160be6 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: c9XcQvuh5b1OHXHR/sLB7/4aERDiwzlDlbSEXYiEa2LCEfSmGgrvM1qBDm1ny03vbPEdOVxyEjAnrv+9Ndf8jASp3DMco3zWRs0xckERcUJqw8BT+9J1oMIvQOl0qX1I9Yqy1/Tzc/dLDFDlbeUYmA49OaStVt1Sv8NBHxguQw/Ss6j2zc7zzERBoialpe4v+GCBRzPyLC2vxxu7NC8q2T9o9mVws7aIpu1CEr6juMlbizSZJyTl3u4pl/3/+H0sawb/d3iBPEgz92G0BL26ZlMTRaSIXj9OyMaWz1A8kFnUezVG2ngvJeECv2iC/wD4L/n5bsvKYXmbEatgYSk6byJy0QeGYO5F5dKqOiQyS1RUt0zsrLUNCM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7X5vfPftFLEYNOprPZsrK+ES5q1CeTOBZtPwKRbYlmL13eGXAa3F5J5bQi1Clnn3PFRbqnZAaD+e653TdlrJ3L1wNjCR8CdcsqNSYhczy0d8JWsLWH8dd0qmc8Auvr9uimd10jRn9iXHqlN5YuzuBp7KP2frKOA3k9baoXpx+8XsQGscyQjtmWmj+o/hDrH06Kxzc9r4WdojIdf15guMCaXW/nDXReGWPLvaoXo4bBkqvJ8UVlq7iQNwllpxQTnM+e4E3XsPy8fGvDY10+5Icjef7RoYRW5pK6yJ5klThmjggrzjDkwc8CTT953ufSLqLHgrGjpnBWqGtAFeicHcC4kAnr38wxoESvRyWDm9g7RREE/LN9R/5te8xm2A9vxq36p0wd4LwDTWj8iG65nxZLZjRNV3963kENMlrBH/Qw== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-d8e84.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: b10126fa-f8c0-4979-98e2-08dbb5160be6 X-MS-Exchange-CrossTenant-AuthSource: KL1PR01MB3809.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2023 11:30:50.6463 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PSBPR01MB3607 Taranza has two HDMI ports which support CEC: Port D is EC port 0 Port B is EC port 1 Signed-off-by: Ken Lin --- Changes in v2: Use a NULL-terminated conns array for the match table entry --- drivers/media/cec/platform/cros-ec/cros-ec-cec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/cec/platform/cros-ec/cros-ec-cec.c b/drivers/media/cec/platform/cros-ec/cros-ec-cec.c index 920aed0d1929..66e96abc9abf 100644 --- a/drivers/media/cec/platform/cros-ec/cros-ec-cec.c +++ b/drivers/media/cec/platform/cros-ec/cros-ec-cec.c @@ -298,6 +298,7 @@ static const char *const fizz_conns[] = { "Port B", NULL }; static const char *const dibbi_conns[] = { "Port D", "Port B", NULL }; static const char *const constitution_conns[] = { "Port B", "Port A", NULL }; static const char *const boxy_conns[] = { "Port D", NULL }; +static const char *const taranza_conns[] = { "Port D", "Port B", NULL }; static const struct cec_dmi_match cec_dmi_match_table[] = { /* Google Fizz */ @@ -322,6 +323,8 @@ static const struct cec_dmi_match cec_dmi_match_table[] = { { "Google", "Constitution", "0000:00:02.0", constitution_conns }, /* Google Boxy */ { "Google", "Boxy", "0000:00:02.0", boxy_conns }, + /* Google Taranza */ + { "Google", "Taranza", "0000:00:02.0", taranza_conns }, }; static struct device *cros_ec_cec_find_hdmi_dev(struct device *dev,