From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0CBBFD609D5 for ; Tue, 16 Dec 2025 16:57:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vmXpljdGjI64uomgIdoDAQJ8pUor5uu935vlPC665mo=; b=aPhtm+JbuQXlJ5 FihS9nSWPiwKTMrHBp8aNwyVD7qNDCCj6On+qleej3LvAEdDoVW7qjrvjECeNRTZt9a/cuuvgJGbX zmaQ6r9cRR6E9yBp8IaMFPNXhr5Ry6/YxEH75enEir/MEMFf6DOIUKkfyJbGNAtVWKqi4+Cola2uc itmqdG8qTHaiRg0/q98YJObk66w5VGqROqglgKkhj5X/3ubTJxQZn+r6oFJ50C3k8p99hxGl31yOb 0nm8JyqubPovg+0aAlD2tz0FlGdwrgDeIdrZtIhRa6D8uhieTXVXFWN0QcP4KNAbUhV8Ri32+lTni 5gunG5mhmWfBeh26tDug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vVYMC-00000005ZPb-3Jgw; Tue, 16 Dec 2025 16:57:04 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vVYMB-00000005ZO6-3jWG for linux-i3c@bombadil.infradead.org; Tue, 16 Dec 2025 16:57:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=P3+qWOWGc60SNceGhAziYjbCttvVL4EpNwSBQbfwrhw=; b=VBA6rhT1m6Jg1Ps4Ehel82V57+ JnsuyDUsl3aEOdz19Yoft80A8U1iyEkLtFtkZlmM51x5TY2M1be6nn+si6T3XwqEW8SofNv+nlA4+ HF2N9qDQ8HDwDH/IVs1m3pMjdacqx0TIVZf4xHRFBrs3sS4k4CsQ/3y1co1wuFcuWUquX65tTlBVD /7f5fCR0DqENHXgr9/clJmo6DVnWbENCpFHCKxKIkQSqbBYMIHQ7rsaaYb9tmMGffVNy2tVsKuKGO 6heqo9wFf2a5Qs5ocYcuXGqSxRErdoGadDNng10tik+5YsSf4L8fbdfVImgub+RkiJYPNxOy5XnOV NXFRd9eQ==; Received: from mgamail.intel.com ([192.198.163.11]) by desiato.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vVXUf-00000005ChZ-1e0E for linux-i3c@lists.infradead.org; Tue, 16 Dec 2025 16:01:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1765904220; x=1797440220; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=W7hmJd7/+DDl/8vKqRYoVxth8SmaabAzCc3ay+y1488=; b=D94pHQmDYOBG07bpXL1O4ZdU/G3Y4y5W0FuhkS/wLfvve9Mm7QpjCnlf roD+C50H6u2F81Rb6KZ8q2cnraymRzuCbfdHAx+dc1iEwcz8w2rCk/RXE NEyPUM4D3/UXpEC5HRJb+0CXlVP06+qlvbgwA4PuioLE6J9LAsz2tUlQ2 NtNhpd7Oud3n0sbmWgtihwKaUzZtf6fALriGwHZxAZlr1kl1nTioWg52y 5JHpxVL6KKcTP9kgeqU1LvxcJ39GhEUJQCrmxn+t1523i4LDEobNNz2wD /7AYY8gO/OfCd13iWATDmp91qT385IyUEOHXX3UwOXYuvI5/QMlX6LPZo w==; X-CSE-ConnectionGUID: mhUVIaDTS6m8l6lOO2o8nw== X-CSE-MsgGUID: B/TXtxlzQU2M/ox/936uFQ== X-IronPort-AV: E=McAfee;i="6800,10657,11644"; a="78466719" X-IronPort-AV: E=Sophos;i="6.21,153,1763452800"; d="scan'208";a="78466719" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Dec 2025 08:56:54 -0800 X-CSE-ConnectionGUID: dEAwTDjzSty4j8k1Ojnu0A== X-CSE-MsgGUID: LUUdwXl0QP6HeyBYBu40Cg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,153,1763452800"; d="scan'208";a="197817583" Received: from rvuia-mobl.ger.corp.intel.com (HELO ahunter6-desk) ([10.245.244.195]) by orviesa009-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Dec 2025 08:56:53 -0800 From: Adrian Hunter To: alexandre.belloni@bootlin.com Cc: Frank.Li@nxp.com, linux-i3c@lists.infradead.org Subject: [PATCH V3 01/11] i3c: mipi-i3c-hci: Remove duplicate blank lines Date: Tue, 16 Dec 2025 18:56:32 +0200 Message-ID: <20251216165642.164583-2-adrian.hunter@intel.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251216165642.164583-1-adrian.hunter@intel.com> References: <20251216165642.164583-1-adrian.hunter@intel.com> MIME-Version: 1.0 Organization: Intel Finland Oy, Registered Address: c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo, Business Identity Code: 0357606 - 4, Domiciled in Helsinki X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251216_160145_802452_9DB9FDB0 X-CRM114-Status: GOOD ( 12.34 ) X-BeenThere: linux-i3c@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-i3c" Errors-To: linux-i3c-bounces+linux-i3c=archiver.kernel.org@lists.infradead.org Remove duplicate blank lines from mipi-i3c-hci code. Signed-off-by: Adrian Hunter Reviewed-by: Frank Li --- Changes in V3: None Changes in V2: Add Frank's Rev'd-by drivers/i3c/master/mipi-i3c-hci/cmd_v1.c | 2 -- drivers/i3c/master/mipi-i3c-hci/cmd_v2.c | 2 -- drivers/i3c/master/mipi-i3c-hci/core.c | 2 -- drivers/i3c/master/mipi-i3c-hci/dat_v1.c | 1 - drivers/i3c/master/mipi-i3c-hci/dma.c | 2 -- drivers/i3c/master/mipi-i3c-hci/ext_caps.c | 1 - drivers/i3c/master/mipi-i3c-hci/ext_caps.h | 1 - drivers/i3c/master/mipi-i3c-hci/hci.h | 5 ----- drivers/i3c/master/mipi-i3c-hci/pio.c | 1 - 9 files changed, 17 deletions(-) diff --git a/drivers/i3c/master/mipi-i3c-hci/cmd_v1.c b/drivers/i3c/master/mipi-i3c-hci/cmd_v1.c index eb8a3ae2990d..fe260461e7e6 100644 --- a/drivers/i3c/master/mipi-i3c-hci/cmd_v1.c +++ b/drivers/i3c/master/mipi-i3c-hci/cmd_v1.c @@ -15,7 +15,6 @@ #include "dat.h" #include "dct.h" - /* * Address Assignment Command */ @@ -100,7 +99,6 @@ #define CMD_M0_VENDOR_INFO_PRESENT W0_BIT_( 7) #define CMD_M0_TID(v) FIELD_PREP(W0_MASK( 6, 3), v) - /* Data Transfer Speed and Mode */ enum hci_cmd_mode { MODE_I3C_SDR0 = 0x0, diff --git a/drivers/i3c/master/mipi-i3c-hci/cmd_v2.c b/drivers/i3c/master/mipi-i3c-hci/cmd_v2.c index efb4326a25b7..3729e6419581 100644 --- a/drivers/i3c/master/mipi-i3c-hci/cmd_v2.c +++ b/drivers/i3c/master/mipi-i3c-hci/cmd_v2.c @@ -16,7 +16,6 @@ #include "cmd.h" #include "xfer_mode_rate.h" - /* * Unified Data Transfer Command */ @@ -62,7 +61,6 @@ #define CMD_A0_ASSIGN_ADDRESS(v) FIELD_PREP(W0_MASK( 14, 8), v) #define CMD_A0_TID(v) FIELD_PREP(W0_MASK( 6, 3), v) - static unsigned int get_i3c_rate_idx(struct i3c_hci *hci) { struct i3c_bus *bus = i3c_master_get_bus(&hci->master); diff --git a/drivers/i3c/master/mipi-i3c-hci/core.c b/drivers/i3c/master/mipi-i3c-hci/core.c index 607d77ab0e54..211321f73e02 100644 --- a/drivers/i3c/master/mipi-i3c-hci/core.c +++ b/drivers/i3c/master/mipi-i3c-hci/core.c @@ -21,7 +21,6 @@ #include "cmd.h" #include "dat.h" - /* * Host Controller Capabilities and Operation Registers */ @@ -109,7 +108,6 @@ #define DEV_CTX_BASE_LO 0x60 #define DEV_CTX_BASE_HI 0x64 - static inline struct i3c_hci *to_i3c_hci(struct i3c_master_controller *m) { return container_of(m, struct i3c_hci, master); diff --git a/drivers/i3c/master/mipi-i3c-hci/dat_v1.c b/drivers/i3c/master/mipi-i3c-hci/dat_v1.c index 85c4916972e4..cc5d2deb23ab 100644 --- a/drivers/i3c/master/mipi-i3c-hci/dat_v1.c +++ b/drivers/i3c/master/mipi-i3c-hci/dat_v1.c @@ -15,7 +15,6 @@ #include "hci.h" #include "dat.h" - /* * Device Address Table Structure */ diff --git a/drivers/i3c/master/mipi-i3c-hci/dma.c b/drivers/i3c/master/mipi-i3c-hci/dma.c index 951abfea5a6f..3eb67e29b706 100644 --- a/drivers/i3c/master/mipi-i3c-hci/dma.c +++ b/drivers/i3c/master/mipi-i3c-hci/dma.c @@ -20,7 +20,6 @@ #include "cmd.h" #include "ibi.h" - /* * Software Parameter Values (somewhat arb itrary for now). * Some of them could be determined at run time eventually. @@ -124,7 +123,6 @@ #define DATA_BUF_IOC BIT(30) /* Interrupt on Completion */ #define DATA_BUF_BLOCK_SIZE GENMASK(15, 0) - struct hci_rh_data { void __iomem *regs; void *xfer, *resp, *ibi_status, *ibi_data; diff --git a/drivers/i3c/master/mipi-i3c-hci/ext_caps.c b/drivers/i3c/master/mipi-i3c-hci/ext_caps.c index 7714f00ea9cc..40939af0b0e3 100644 --- a/drivers/i3c/master/mipi-i3c-hci/ext_caps.c +++ b/drivers/i3c/master/mipi-i3c-hci/ext_caps.c @@ -16,7 +16,6 @@ #include "ext_caps.h" #include "xfer_mode_rate.h" - /* Extended Capability Header */ #define CAP_HEADER_LENGTH GENMASK(23, 8) #define CAP_HEADER_ID GENMASK(7, 0) diff --git a/drivers/i3c/master/mipi-i3c-hci/ext_caps.h b/drivers/i3c/master/mipi-i3c-hci/ext_caps.h index 9df17822fdb4..b15e629951f0 100644 --- a/drivers/i3c/master/mipi-i3c-hci/ext_caps.h +++ b/drivers/i3c/master/mipi-i3c-hci/ext_caps.h @@ -13,7 +13,6 @@ /* MIPI vendor IDs */ #define MIPI_VENDOR_NXP 0x11b - int i3c_hci_parse_ext_caps(struct i3c_hci *hci); #endif diff --git a/drivers/i3c/master/mipi-i3c-hci/hci.h b/drivers/i3c/master/mipi-i3c-hci/hci.h index 249ccb13c909..3f88b67bc5cc 100644 --- a/drivers/i3c/master/mipi-i3c-hci/hci.h +++ b/drivers/i3c/master/mipi-i3c-hci/hci.h @@ -62,7 +62,6 @@ struct i3c_hci { void *vendor_data; }; - /* * Structure to represent a master initiated transfer. * The rnw, data and data_len fields must be initialized before calling any @@ -108,7 +107,6 @@ static inline void hci_free_xfer(struct hci_xfer *xfer, unsigned int n) kfree(xfer); } - /* This abstracts PIO vs DMA operations */ struct hci_io_ops { bool (*irq_handler)(struct i3c_hci *hci); @@ -126,21 +124,18 @@ struct hci_io_ops { extern const struct hci_io_ops mipi_i3c_hci_pio; extern const struct hci_io_ops mipi_i3c_hci_dma; - /* Our per device master private data */ struct i3c_hci_dev_data { int dat_idx; void *ibi_data; }; - /* list of quirks */ #define HCI_QUIRK_RAW_CCC BIT(1) /* CCC framing must be explicit */ #define HCI_QUIRK_PIO_MODE BIT(2) /* Set PIO mode for AMD platforms */ #define HCI_QUIRK_OD_PP_TIMING BIT(3) /* Set OD and PP timings for AMD platforms */ #define HCI_QUIRK_RESP_BUF_THLD BIT(4) /* Set resp buf thld to 0 for AMD platforms */ - /* global functions */ void mipi_i3c_hci_resume(struct i3c_hci *hci); void mipi_i3c_hci_pio_reset(struct i3c_hci *hci); diff --git a/drivers/i3c/master/mipi-i3c-hci/pio.c b/drivers/i3c/master/mipi-i3c-hci/pio.c index 710faa46a00f..142f3f79415b 100644 --- a/drivers/i3c/master/mipi-i3c-hci/pio.c +++ b/drivers/i3c/master/mipi-i3c-hci/pio.c @@ -15,7 +15,6 @@ #include "cmd.h" #include "ibi.h" - /* * PIO Access Area */ -- 2.51.0 -- linux-i3c mailing list linux-i3c@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-i3c