Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp578414rdb; Sat, 30 Sep 2023 17:42:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGQM/nK7do3fIsgV+qpOTZwH5Y5g+QJaiQcQLGn9N0cdcc8quVPlKFVsz6ali+mXZ+ztihS X-Received: by 2002:a05:6a00:1586:b0:68f:cc0e:355d with SMTP id u6-20020a056a00158600b0068fcc0e355dmr8459919pfk.25.1696120965670; Sat, 30 Sep 2023 17:42:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696120965; cv=none; d=google.com; s=arc-20160816; b=hXeNhW3UAXKxGleYhI8nhtePlPlmj49JalVvyo75KtZb56b+7qocmYzgT/h/p+pMgL TxBG8DS8SwX4uPc30Jrig34peri5XxYBTWrYF1jfCgeUjTVl+iXwx5nGIJZs4LgMOMNT Lv9mzaqhOXKArHEeNPcaQ7Tk76aTheO5xFGbbKalt6irmRXR4gjOtjc1LBYJC9d0G16/ q1fE6M2zkUo+Hv9TH7huedLtul7VN/ZIuD5bsYLS/sW+sNkE6rlTNcScqMI6EY7vFnF8 cj62SxHuN+HybU/9v5t+KAPFx2DQRe8TBQ09JWw2qoXdgnsykTT9ShsdMuvCNWVkR8Ud 2kaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=2B8e2RLbhf6NIZj5B6D1EhLGeVOUc1Kv8+5YDYEVIuY=; fh=yNR44/TyWsrEMjcKMwzFTeHfthZ5ztu3wjbuLyUiNjg=; b=0YC0Q9XRXW1MeicmeruW2e4eUx+FzzbTpI6rLmMPYeCcOWH1cy+09IHTnN9SPe/vnN KStYk5SXwuhNdjmRm7UfkjrHH/FElQWqnGfk6ZsQrJDsEuv2LbnooyhWZLsPp7I7arBe OdUwhK3faSE2UHIJe+x1/X19pxovWJp9n2wABrh3LManjx2F5YJqh6yyfnec+R8kZtFf QthkBUyyhOVCgfwk0/RSfwdJ7mlmVGpRyzR7Geq8lGXcy5CA3/hXQkijn5H3tPREzc0c ZQXuIHbZQu2GsjB8MrsoVBAnuYE6C+ah93TqiWq6ronnuu85FEdkR2+RyiNwrayXItQf 4egA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i3iRxEfW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id w29-20020a63935d000000b00564274c2947si4683242pgm.637.2023.09.30.17.42.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Sep 2023 17:42:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i3iRxEfW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 539A080608E3; Sat, 30 Sep 2023 08:55:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232986AbjI3PzE (ORCPT + 99 others); Sat, 30 Sep 2023 11:55:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231715AbjI3PzD (ORCPT ); Sat, 30 Sep 2023 11:55:03 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A394B3 for ; Sat, 30 Sep 2023 08:55:00 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-53447d0241eso13058348a12.3 for ; Sat, 30 Sep 2023 08:55:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696089298; x=1696694098; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=2B8e2RLbhf6NIZj5B6D1EhLGeVOUc1Kv8+5YDYEVIuY=; b=i3iRxEfWwj4FG0zG8qxGQvd9j0dFXnFqx7NDtP7qfiub/vqg3m8RPmVsFg1uZ7P6Q3 PLyZw3aGz8HhAFiWcY8ZQxgjMPctg6kHMHpf3v0jZRXup6ynAok8zXN2rLkmojFUdw04 h+7aENdPX+g4PWFtRhYulIB5MWF9tPxe9/2d6wyQsEe+wX6PrzkFnkH/ExRy+hNXMiI7 BmLB/Q5+NS2e6s6nJ6dpnzF3Piy5lqSOg9UAkuQJA7kq+oQkXlMWRx/yzoODCs+bMaoL Ew/+wq7Uxp5MTYKgJBjzGAL4U8MB9OI55Un3OpRwL4lQejo4leNRKJEaBBDnuaqv/q+/ xLgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696089298; x=1696694098; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2B8e2RLbhf6NIZj5B6D1EhLGeVOUc1Kv8+5YDYEVIuY=; b=ZeV+gCllLPJ06EwomN4lp2HJ2KIGMqX7ir72mOzSI/v10fRotiFu8SxpDlWORUcK5b I7A3KM56WcYMkW3B6qrGje1f7elAVd+P6X8CPq9t5u1O4/Sdn2rBocufAua829DC/DtS M84UmMttaG0N80mqRJCxRxuKv0YGwfpiHnIi6v5NcMBI/0QBj5jwcXn52qVMCUP93rar BzYak0qUs8E7t6WGl1xqrp+D4ZwJSMyNxlkVDmDB4IYr6Evgp+dqbS+cDDCJP2itzCk0 g9MsRtMnoGlW3U+3bz0BJWsiFpcu/YK+Oic8J+yxHjXwt05x68HurzRX0WxfjXENNMMn C85A== X-Gm-Message-State: AOJu0YwsI3x3UiE5Z7XECNmrCuLTRyye96CORalgGzSw+invPUMzOh/I VOsGcmp6AZg4V46ra6JpZVkL8A== X-Received: by 2002:a17:906:301a:b0:9a1:6318:4d39 with SMTP id 26-20020a170906301a00b009a163184d39mr6169887ejz.29.1696089298440; Sat, 30 Sep 2023 08:54:58 -0700 (PDT) Received: from [192.168.8.76] ([88.155.12.231]) by smtp.gmail.com with ESMTPSA id lf11-20020a170907174b00b009ad81554c1bsm14108157ejc.55.2023.09.30.08.54.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 30 Sep 2023 08:54:57 -0700 (PDT) Message-ID: <2720c275-9fc8-426f-b72d-56a06afec6fe@linaro.org> Date: Sat, 30 Sep 2023 17:54:51 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 3/3] usb: chipidea: Add support for NPCM Content-Language: en-US To: Tomer Maimon , peter.chen@kernel.org, gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, xu.yang_2@nxp.com, peng.fan@nxp.com, avifishman70@gmail.com, tali.perry1@gmail.com, joel@jms.id.au, venture@google.com, yuenn@google.com, benjaminfair@google.com, j.neuschaefer@gmx.net Cc: openbmc@lists.ozlabs.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20230927095509.267029-1-tmaimon77@gmail.com> <20230927095509.267029-4-tmaimon77@gmail.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5c3p0b2Yua296bG93c2tpQGxpbmFyby5vcmc+wsGUBBMBCgA+FiEE m9B+DgxR+NWWd7dUG5NDfTtBYpsFAmI+BxMCGwMFCRRfreEFCwkIBwIGFQoJCAsCBBYCAwEC HgECF4AACgkQG5NDfTtBYptgbhAAjAGunRoOTduBeC7V6GGOQMYIT5n3OuDSzG1oZyM4kyvO Xeodvv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ail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Sat, 30 Sep 2023 08:55:05 -0700 (PDT) On 27/09/2023 11:55, Tomer Maimon wrote: > Add Nuvoton NPCM BMC SoCs support to USB ChipIdea driver. > NPCM SoC include ChipIdea IP block that used for USB device controller > mode. ... > + ci = devm_kzalloc(&pdev->dev, sizeof(*ci), GFP_KERNEL); > + if (!ci) > + return -ENOMEM; > + platform_set_drvdata(pdev, ci); > + > + ci->core_clk = devm_clk_get_optional(dev, NULL); > + if (IS_ERR(ci->core_clk)) > + return PTR_ERR(ci->core_clk); > + > + ret = clk_prepare_enable(ci->core_clk); > + if (ret) { > + dev_err(dev, "failed to enable the clock: %d\n", ret); > + return ret; return dev_err_probe() ... > + > +module_platform_driver(npcm_udc_driver); > + > +MODULE_DESCRIPTION("NPCM USB device controller driver"); > +MODULE_AUTHOR("Tomer Maimon "); > +MODULE_ALIAS("platform:npcm-udc"); Nope... if you need it, your tables are wrong. Best regards, Krzysztof