Received: by 2002:ab2:61d1:0:b0:1f7:886a:16b6 with SMTP id d17csp1890495lqm; Fri, 3 May 2024 11:16:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWuiBkgYDsePcdZvacSYzd5W6TqG9wWmeOfl/Z3S9XtYSEYv2TImgHnoyMZL7fAwC9xZhPmjVk4SHkXygtf49nP1emjSIb/gB5tcAa6Jg== X-Google-Smtp-Source: AGHT+IFZdyek+PJBZxDI2nFgSyQICTV0UxMHu/3jCKoTCvCWJW/c2rW3dRs7bjqrZ9L6aGfqKVNu X-Received: by 2002:a17:903:1108:b0:1e5:5bd7:e2b7 with SMTP id n8-20020a170903110800b001e55bd7e2b7mr3452863plh.34.1714760205848; Fri, 03 May 2024 11:16:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714760205; cv=pass; d=google.com; s=arc-20160816; b=TfPBWBNytOC1tYbHHcY4XXt47W1ljcvudAK8iGV9NsXjqB7twlsbLX0mqVW7e9AMII Fq6DoB29Qo1dyJruUUVW/cKzFRbhQIRbF5YcTBmrOA/2esFIreQHt7mKmJ0pc7hWjin4 lIVF2sPfb72/sk8bmVWJwacUaZ1u8TaT9vs7VqGLhT83/xoBcq4IQ9zwbWENkWArl+eQ flRseKP9lUW/6m9XS+gb5wF3XCJbQLonDQoU42w4lMIkuVN5fBBwp78BVfeQPanfrQMx PMvLd799+DPfPsgYNpr/9hwLCD1+A5SYvg/BC60+qE8PNQU58foNIjx8U77LbokYSSSI QliQ== 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:dkim-filter; bh=yPBgqwMnI41nWZODa1VgPt3i2GC2rS8MFNAk6cyPzOk=; fh=R8WbChUwtQ5+yQXAwrnzGaf4beruK5792StYR78cZiM=; b=RwJ0jlHWbRuryNm/5CF2maLjoShzc+E2S9WvOhUvtM3/+pyvVq1BNNajXGMwpQBv9+ eytrXXbs26QEImNP6nJ2om65WK117hfkPf/ab4h4uq0D53u9aTfkaudRNQ2qw52BRvHs XiqEpFTojuDubyBh0zmDvwSdBZlD/cSmLESe3HYlR565jSZ6XrgSXG5RTVqdzzaf8cPN Y/RTpbzgD25g4149EowzqGbvufYIiJzklLltwpvQnFPBT8Vi9yc3uflN30iL0JHe/Bdq z8O9DzneXsU4R6VnCRl2kZVw8mY3j3FPP0xmwk1Qa8oY8AuV3QK1ZA0phlFMwPTiwnbX ckuw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=rfIuhLjI; arc=pass (i=1 spf=pass spfdomain=linux.microsoft.com dkim=pass dkdomain=linux.microsoft.com dmarc=pass fromdomain=linux.microsoft.com); spf=pass (google.com: domain of linux-kernel+bounces-168020-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168020-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ju14-20020a170903428e00b001e49428f307si3265738plb.329.2024.05.03.11.16.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 11:16:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168020-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=rfIuhLjI; arc=pass (i=1 spf=pass spfdomain=linux.microsoft.com dkim=pass dkdomain=linux.microsoft.com dmarc=pass fromdomain=linux.microsoft.com); spf=pass (google.com: domain of linux-kernel+bounces-168020-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168020-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 7C801282878 for ; Fri, 3 May 2024 18:16:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 08201158DDD; Fri, 3 May 2024 18:15:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="rfIuhLjI" Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EBE41158D8B; Fri, 3 May 2024 18:15:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=13.77.154.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714760114; cv=none; b=s6ztKaRecBEDhDEkyEX/KxMjUdp1fOJPrJJ+tPFLtdNPWxBwUO0jlRSxFRT0+M4X2AEb/Yb5eLTHE9zJ2o+P7Oz0DuCGDNaJh0Io8sYh+OOB8s7ipSdR/pa9knLvuK9iqoBR6/Wqnnh2e8oqSept3/Ewq3P197c1/F56qJGuyQc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714760114; c=relaxed/simple; bh=/aYJQmDrN0FjxDnsO86KPcv39pHYSL0uw6dCOx4k64U=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=g1IaNJWqUqXfi27fxIRXtxKkz4UrHF11YDI/TCrtfKzBY8QJWEhGXxBWvv7crXpT9iIb7iTtRM0ky1V3jKX15e1p/wSo6X5L8eHkhhuinh0IBerPKYSvfEswBI8tPzOrBN/T/VoLS+0aylD522ElBcEK2nweMRMp0RwfWSMbnt8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com; spf=pass smtp.mailfrom=linux.microsoft.com; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b=rfIuhLjI; arc=none smtp.client-ip=13.77.154.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.microsoft.com Received: from rrs24-12-35.corp.microsoft.com (unknown [131.107.8.16]) by linux.microsoft.com (Postfix) with ESMTPSA id 94110207DBCD; Fri, 3 May 2024 11:15:12 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 94110207DBCD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1714760112; bh=yPBgqwMnI41nWZODa1VgPt3i2GC2rS8MFNAk6cyPzOk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rfIuhLjI+nWz0/jefMYCdRu7z0QgobTqyW1zPxD1TwVuhO2KKg4Ni+oUzq+I/XukX 26wOMVdahTeJFCuTMXyhhL9PrgBR+9uKmYavaTygXiazKO27T4YFTO11R8/TSNfP4p ujdsIXqG0jDhaZR3+9auXK+74XTO2IjfoQcNBz50= From: Easwar Hariharan To: Hans Verkuil , Mauro Carvalho Chehab , linux-media@vger.kernel.org (open list:COBALT MEDIA DRIVER), linux-kernel@vger.kernel.org (open list) Cc: Wolfram Sang , amd-gfx@lists.freedesktop.org (open list:RADEON and AMDGPU DRM DRIVERS), dri-devel@lists.freedesktop.org (open list:DRM DRIVERS), linux-kernel@vger.kernel.org (open list), intel-gfx@lists.freedesktop.org (open list:INTEL DRM DISPLAY FOR XE AND I915 DRIVERS), intel-xe@lists.freedesktop.org (open list:INTEL DRM DISPLAY FOR XE AND I915 DRIVERS), nouveau@lists.freedesktop.org (open list:DRM DRIVER FOR NVIDIA GEFORCE/QUADRO GPUS), linux-i2c@vger.kernel.org (open list:I2C SUBSYSTEM HOST DRIVERS), linux-media@vger.kernel.org (open list:BTTV VIDEO4LINUX DRIVER), linux-fbdev@vger.kernel.org (open list:FRAMEBUFFER LAYER), Easwar Hariharan Subject: [PATCH v2 05/12] media: cobalt: Make I2C terminology more inclusive Date: Fri, 3 May 2024 18:13:26 +0000 Message-Id: <20240503181333.2336999-6-eahariha@linux.microsoft.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240503181333.2336999-1-eahariha@linux.microsoft.com> References: <20240503181333.2336999-1-eahariha@linux.microsoft.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 I2C v7, SMBus 3.2, and I3C 1.1.1 specifications have replaced "master/slave" with more appropriate terms. Inspired by and following on to Wolfram's series to fix drivers/i2c/[1], fix the terminology for users of I2C_ALGOBIT bitbanging interface, now that the approved verbiage exists in the specification. Compile tested, no functionality changes intended [1]: https://lore.kernel.org/all/20240322132619.6389-1-wsa+renesas@sang-engineering.com/ Signed-off-by: Easwar Hariharan --- drivers/media/pci/cobalt/cobalt-i2c.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/media/pci/cobalt/cobalt-i2c.c b/drivers/media/pci/cobalt/cobalt-i2c.c index 10c9ee33f73e..011130aef2ca 100644 --- a/drivers/media/pci/cobalt/cobalt-i2c.c +++ b/drivers/media/pci/cobalt/cobalt-i2c.c @@ -45,10 +45,10 @@ struct cobalt_i2c_regs { /* I2C stop condition */ #define M00018_CR_BITMAP_STO_MSK (1 << 6) -/* I2C read from slave */ +/* I2C read from target */ #define M00018_CR_BITMAP_RD_MSK (1 << 5) -/* I2C write to slave */ +/* I2C write to target */ #define M00018_CR_BITMAP_WR_MSK (1 << 4) /* I2C ack */ @@ -59,7 +59,7 @@ struct cobalt_i2c_regs { /* SR[7:0] - Status register */ -/* Receive acknowledge from slave */ +/* Receive acknowledge from target */ #define M00018_SR_BITMAP_RXACK_MSK (1 << 7) /* Busy, I2C bus busy (as defined by start / stop bits) */ -- 2.34.1