From patchwork Mon Jul 10 09:48:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kumar, Udit" X-Patchwork-Id: 117801 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp4918720vqx; Mon, 10 Jul 2023 03:19:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlFcGLl3L+cmY6QHpx/WeiVcCdm3+uvvWaTrwYaWiwday5hYsn2eDvGMUL28abY5UOO09GXb X-Received: by 2002:a17:902:7781:b0:1b7:f98d:5567 with SMTP id o1-20020a170902778100b001b7f98d5567mr11610300pll.68.1688984340796; Mon, 10 Jul 2023 03:19:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688984340; cv=none; d=google.com; s=arc-20160816; b=KTBHrw00XSm/a9S/yrFGSQ/n9RQs/ZhtTptfG5/vfSDdznOHeZEZUyFtIHNXFDObYL YpjPgiOavqmwIirH3I8TtyxqTMz0k4d153ai+XUVEWH+8n4zHQxYOHK2A4408zxQtgMq lD0J6IqQi7Pp+qX+3XN2H1uwBWZ/Fc0Oxo0FxU0hCXIdZDtRax+lxptQU6Uae8dC3nNL wkt5K4FG+17z2pELS1LYBLfbTsYX7VaijNIQPycnlf3UGgIX9IjInBwVsedEwWMxJcms VnHV9gROk9uzf2rCcj9ApaCylAvGDPaq6sburGmCHjXMHeK72uBW7X7jsEo/70NBlDKz uhyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=zDGEcLXLb/jmYr7sBksF2Y6lvpdbjUzDyNzFNGroX/E=; fh=Ix8U1qUU4Bsbx6yr3gGFkBTKdnmez4CSS9l+UmYcQqY=; b=BewV2Wc1fQUmtLTMQ123XXDfGS18kOVNQnj4aQP2n+UW2GhFgtuG6ipzhINN0CM+g8 8zAFXdAFkizi/HzU2CU+dR5E676sHea5x/S6vYT1Nszx5qy8J9xqiIQRo99qfvqfZMhi FKtynsMTHektuN9p2vYxzj9LXeRurg9f/YwrxFeFvx4au1Pz4MxQLZOb43kXruINpGS8 DnJO8sfDRK33s8QQ4ZZERy/Y/tZhMPjhiw2Z4W4LPwyZvBekDbI48+6g/3bpKoO0u4/K 37/3zAe7xVrjG08HcMQlI8DUU9AWmRGa6egM/OBQ2aFzfbmNFqWlUSdeadydNGBUiCyw Mvuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=p7ciZghw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a19-20020a1709027d9300b001b811261289si8412552plm.482.2023.07.10.03.18.47; Mon, 10 Jul 2023 03:19:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=p7ciZghw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232444AbjGJJwU (ORCPT + 99 others); Mon, 10 Jul 2023 05:52:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231136AbjGJJvl (ORCPT ); Mon, 10 Jul 2023 05:51:41 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1CA4E67; Mon, 10 Jul 2023 02:48:17 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 36A9m7kg130589; Mon, 10 Jul 2023 04:48:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1688982487; bh=zDGEcLXLb/jmYr7sBksF2Y6lvpdbjUzDyNzFNGroX/E=; h=From:To:CC:Subject:Date; b=p7ciZghwzHQV6xLzL1+gEy1v+I9ls09Gm4XGfy87ar69VRNFInXEK6V767x6iahVF p/rHc8bq/uG9IibxUgF0VAAmgxPHJy1tRRjRsAMn8PVJOZo6vSxcCQK2/grhOZ9k55 ym9ISs4VqO51lo5CFOXzWp0cEqebZfRA506zC+NA= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36A9m7Di121026 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 10 Jul 2023 04:48:07 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 10 Jul 2023 04:48:07 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE106.ent.ti.com (10.64.6.27) 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; Mon, 10 Jul 2023 04:48:07 -0500 Received: from udit-HP-Z2-Tower-G9-Workstation-Desktop-PC.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 36A9m4rW013958; Mon, 10 Jul 2023 04:48:05 -0500 From: Udit Kumar To: , , <=martin.petersen@oracle.com>, , , CC: Udit Kumar Subject: [PATCH] scsi: ufs: TI UFS host controller expose device tree aliases Date: Mon, 10 Jul 2023 15:18:01 +0530 Message-ID: <20230710094801.183149-1-u-kumar1@ti.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771028443918339776 X-GMAIL-MSGID: 1771028443918339776 When TI UFS host controller driver is built as kernel module, It was not getting auto loaded due to missing aliases in modules. This patch adds device tree related aliases. Signed-off-by: Udit Kumar --- drivers/ufs/host/ti-j721e-ufs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/ufs/host/ti-j721e-ufs.c b/drivers/ufs/host/ti-j721e-ufs.c index 122d650d0810..117eb7da92ac 100644 --- a/drivers/ufs/host/ti-j721e-ufs.c +++ b/drivers/ufs/host/ti-j721e-ufs.c @@ -81,6 +81,8 @@ static const struct of_device_id ti_j721e_ufs_of_match[] = { { }, }; +MODULE_DEVICE_TABLE(of, ti_j721e_ufs_of_match); + static struct platform_driver ti_j721e_ufs_driver = { .probe = ti_j721e_ufs_probe, .remove = ti_j721e_ufs_remove,