From patchwork Thu Nov 3 14:12:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 14907 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp560524wru; Thu, 3 Nov 2022 07:16:25 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5hSFEwkbwSy9oiF+XxDG9VH0TRzWaUXKYdEkIL7ltpd0TAX0qxtZ/4NWGa3WWiKGghpXsX X-Received: by 2002:a63:455e:0:b0:439:9496:ddd8 with SMTP id u30-20020a63455e000000b004399496ddd8mr25990842pgk.261.1667484985302; Thu, 03 Nov 2022 07:16:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667484985; cv=none; d=google.com; s=arc-20160816; b=ueH5gID9nCjdxN2kgcyAivdhyCRwgH8w5b7XwwpU2m+VCfgmA2aL2UCK29r0kJoa3n llwZROBoFWnkP40jGtnNKvZUVpTR82bgoUuRFxVbf8LO1z5z0/li1Akboj64ffy1WpKo FipwE5W4JQA9yIOPtDPMe/L+U9z+HZFKpVreVTYHbEuiy9XxeguzcbI4tiUBIumv6rS8 VSoLZxfioGcSeaeli5AXDfckFMiN7Vp+cm64pjS6zRJoac+Vzec8+/9T24AaDKQdQKPG DsM65UxVm53DAAxgtFMtI5lw0ExibkQfIzZsCQ3Wl+VK3lI3SCTq7LZyJT+ZA8CXZaap A5Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=ikLgX5+rC6etpCFPJGJZsqRLbkT4hXzogxYFAeG3eE0=; b=ks7TQp63UC5QMp7bzeC/k7px1vFOSwBygekAitKbIQX/uekQYY0DtF7TX3/XOwODB3 E3qcadQUqzBXcBpgjo6AzYpn2/pUVCN/rrOmuQjKaRC1UV+RNub2MqwST/91HBhdX7G5 tP6swaXIWJ3P/AjQjOEbaUeSBqF8OqNMZEn0FpgBB+z5uBJxirrjX8wuPqlEcV4pZbML zXJA3APzQ2u5tlOw1/CX+ByWt+qeCtAobT6swRrs47ipxhOdyFdmco+0hXy2rvhK74aW kGOKKQTlTBnXrKqZNbUvavgoa4CEXb1X1+xi8x4whDxEarFXLR1T327mScdBnFkm8QRP +qlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=GxIlWX3o; 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=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 15-20020a630d4f000000b00434ffe3cc11si1247490pgn.870.2022.11.03.07.16.10; Thu, 03 Nov 2022 07:16:25 -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=@samsung.com header.s=mail20170921 header.b=GxIlWX3o; 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=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231398AbiKCONC (ORCPT + 99 others); Thu, 3 Nov 2022 10:13:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231386AbiKCOMt (ORCPT ); Thu, 3 Nov 2022 10:12:49 -0400 Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A87E12D25 for ; Thu, 3 Nov 2022 07:12:42 -0700 (PDT) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20221103141240euoutp016c58532301181c0cd8e61d403f924254~kGI4qPuyJ2369623696euoutp01b for ; Thu, 3 Nov 2022 14:12:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20221103141240euoutp016c58532301181c0cd8e61d403f924254~kGI4qPuyJ2369623696euoutp01b DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1667484760; bh=ikLgX5+rC6etpCFPJGJZsqRLbkT4hXzogxYFAeG3eE0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GxIlWX3o2pwr3Um5Mpb7mSuABrl94qylelYbiTvo/yfExwvIinGkADnzyiTW+x5qY 5UJ3VeLLlQKuYyGR1c6B2Lpmn0gH6+jh3DNAokUp6YjWww62ADPgxJY1PEduqJNhTz HWB6wJ9QERmi9pONtTfa9Hn1ttevRoWhhWU8tm1E= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20221103141240eucas1p1214a82150536870f5d1392a3e326cc3b~kGI4O4Q_X1074310743eucas1p1X; Thu, 3 Nov 2022 14:12:40 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 9C.EB.29727.85CC3636; Thu, 3 Nov 2022 14:12:40 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20221103141239eucas1p167f44609369010a20293d5123214426d~kGI3lHwri2591525915eucas1p1L; Thu, 3 Nov 2022 14:12:39 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20221103141239eusmtrp24f5d9beb1b97a2911cbd2c4e6abc37cc~kGI3hJchK2293622936eusmtrp2c; Thu, 3 Nov 2022 14:12:39 +0000 (GMT) X-AuditID: cbfec7f2-205ff7000001741f-f8-6363cc585153 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 11.ED.10862.75CC3636; Thu, 3 Nov 2022 14:12:39 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20221103141238eusmtip2b65d8b299762ab3b9d2cc75c389d6a6d~kGI2387YI1617316173eusmtip2T; Thu, 3 Nov 2022 14:12:38 +0000 (GMT) From: Marek Szyprowski To: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: Marek Szyprowski , Stefan Agner , Johan Hovold , Thinh Nguyen , Greg Kroah-Hartman , Krzysztof Kozlowski , Rob Herring , Frank Rowand Subject: [PATCH 2/2] of: export of_device_add() Date: Thu, 3 Nov 2022 15:12:33 +0100 Message-Id: <20221103141233.20179-2-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221103141233.20179-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprBKsWRmVeSWpSXmKPExsWy7djP87oRZ5KTDXov8VnMP3KO1WLmm/9s Fs2L17NZNN3oYbXY+3oru8XlXXPYLGac38dksWhZK7PF2iN32S1a9x5ht9i8rp3dYtWCA+wO PB6Lv99j9tg56y67x6ZVnWwed67tYfPYP3cNu0ffllWMHlv2f2b0+LxJLoAjissmJTUnsyy1 SN8ugStjzfb/zAXHWCt235zE1MB4naWLkZNDQsBE4s2DNYxdjFwcQgIrGCWuXZ0L5XxhlHj/ vYMFwvnMKHFhwxFmmJZLMx9CJZYzSsx+9YQdruXqsr3sIFVsAoYSXW+72EBsEYEaiZ0XN7OB FDEL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WLkZNDQsBE4tLMh2C2kMBSRom+lRwQcRmJk9MaWCFsYYk/17rYuhi5gGo+MUocn3qC DSTBJmAo0fUWIiEi0MAosWPyXyYQh1ngBpPEhLl9YFXCAvoS70//ZQSxWQRUJfbO3AJm8wrY Suzbs5QZYoW8xOoNB4BsDg5OATuJt91MIKYQUMm1ndETGPkWMDKsYhRJLS3OTc8tNtIrTswt Ls1L10vOz93ECIyBbcd+btnBuPLVR71DjEwcjIcYJTiYlUR4P21LThbiTUmsrEotyo8vKs1J LT7EaAp0xURmKdHkfGAU5pXEG5oZmBqamFkamFqaGSuJ83oWdCQKCaQnlqRmp6YWpBbB9DFx cEo1MC3U/WTBbOP/Skf2i1s5y9ub17Jkt34693QVZ0PiUen93r+LTRuv5z1mit/ix3h2CsPD 9weN7wjPmJA16a7z5K/cDz/sbNplv0idTa1+br6hbt4ZAc6w5yzfa3sW+0q2x8/RqvD0dtbg 9Xu2qu/2dr/G7jw9f/uQJU7nC9eG/dBKuh3WxMnqfNybxzTupsMy4SeRcQv186e1PLlv7DZL W+2XUoOglWOcnsF14UUv7BI3LDj/7ZpF+KrMD3zdC+VVUua9n+NhWf8iIZJn0+QFClcC7t0X vVxQuDzsE/uOGyvjJxtcPh/qxtZ+d8+MJ9881rB+uOc3ie/K0da8p9tXLjXbvfCU7cXHNyZt /Bn6dKYSS3FGoqEWc1FxIgANDhUICgMAAA== X-CMS-MailID: 20221103141239eucas1p167f44609369010a20293d5123214426d X-Msg-Generator: CA X-RootMTR: 20221103141239eucas1p167f44609369010a20293d5123214426d X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20221103141239eucas1p167f44609369010a20293d5123214426d References: <20221103141233.20179-1-m.szyprowski@samsung.com> X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=unavailable 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748484735548514232?= X-GMAIL-MSGID: =?utf-8?q?1748484735548514232?= Export of_device_add() function to let DWC3 driver (Exynos variant) to instantiate DWC3 core device from the respective child OF-node with a custom, addtional properties added. Signed-off-by: Marek Szyprowski --- drivers/of/device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/of/device.c b/drivers/of/device.c index 8cefe5a7d04e..bc60c9b6863c 100644 --- a/drivers/of/device.c +++ b/drivers/of/device.c @@ -52,6 +52,7 @@ int of_device_add(struct platform_device *ofdev) return device_add(&ofdev->dev); } +EXPORT_SYMBOL(of_device_add); static void of_dma_set_restricted_buffer(struct device *dev, struct device_node *np)