Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5537096rwb; Sun, 4 Dec 2022 23:59:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf7VdwZRZaraR666QSPCy/GqgXY7cAaRaE0aQilBYWNIUxpY5Kf6j05BAdOSOFk7o4Uzo+N/ X-Received: by 2002:a17:90b:48c8:b0:20b:16bc:8493 with SMTP id li8-20020a17090b48c800b0020b16bc8493mr19095643pjb.210.1670227166052; Sun, 04 Dec 2022 23:59:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670227166; cv=none; d=google.com; s=arc-20160816; b=WdzD5w6GwCvlTH6B/UzDOhH6SSmtqT/CRktwxe6jPK+HOVPLdzobiNEVytEY+TshGk pR7XhjYlaALPOBgH1p/4wOvtSybqP1Yix9uuotMF/42vkn6TlueLgkwXHSh0HMIwiQm8 y99x6Up+KMYfaKTcxUi53qN+4mX9CgnsfiE66awFdupZ74CgqjiDrXpYSY8ODRRxJD16 cC+w5Noo46o17QlDaf+I21MPbU7I+JF7V4Wh6XSEQ+zUKCfBmlNzL7+sCBwczIp+2Eur d9kbK1biJwU8JBM/0W/mNn5fICpzK7A03k7O7si8emmeq+0of92y1jDj1XHD6vYsoto2 THuw== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=a64rVG9Ar18ZQniQlMUt+8pfp4eItxEV9w2eYv/pKNY=; b=kVGx2lqMhheBK46HUh7vrS8uE4M8i8OnboTTE8MKbmPTiqn7AEwVLE7ZZcHRTzBrjx mUEwxvtgEyyo5Ye0rMmIbriHmn/kcpBaC8+0+Tne0UopaQdQLs56L+lDAZIBPfFMTBEB m93WPlmCVIzcczTEjh6jS4S1fPzpCT/c0g1jqDE5hF/tUS83jL3NnIwVaTVuJc1avq6N AdpXkBGZC4+wCqb1Qb1r3xLeLRpx/9LX2rgRFl1KOLoQUm3GG5nnsSy4e5wcD+61advW /k3h9ynkcgIcjjb8mpAxA7RNzhnrAuJc/lofjjN1A+4LiUj5ispYUM282sU34oA8QtLe chUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NMAXZbjH; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a11-20020a056a000c8b00b00574e84ed76bsi15098967pfv.81.2022.12.04.23.59.15; Sun, 04 Dec 2022 23:59:26 -0800 (PST) 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=@linaro.org header.s=google header.b=NMAXZbjH; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231678AbiLEHby (ORCPT + 83 others); Mon, 5 Dec 2022 02:31:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230037AbiLEHbv (ORCPT ); Mon, 5 Dec 2022 02:31:51 -0500 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3BE010071 for ; Sun, 4 Dec 2022 23:31:49 -0800 (PST) Received: by mail-lj1-x236.google.com with SMTP id n1so12527793ljg.3 for ; Sun, 04 Dec 2022 23:31:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=a64rVG9Ar18ZQniQlMUt+8pfp4eItxEV9w2eYv/pKNY=; b=NMAXZbjHwIbXkRNbg6BrJIBwvsV6jrLt7CDPT075W1TEEoNSVbA04pL3R/u2BeeBMg L+oM2LahFuGws4kT5G+DWaz4N57J9hUSu0YfHCRr0S9Vf2KZmOJ8VJWZFxDxDeUK9XKe bCwIQeLCHITtSEZDVqo7KXns+H/Zh373Exvp6+fKUunKH1Z4aO6d8g1dZMkkzwjHex7m 03DNVJA3NozFKwSimo1AxF8Qsda7FsdOD5zT2tYHf6Ck7pWG/QDfJn0sssIF9qcjFFaJ 3ap7iGSLvGjJ1DVZinCNVPrJODfYSCvAHUJgIAANwdkbNmdAcDgBcpajiwAgrrOdBx4r 9qMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to: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=a64rVG9Ar18ZQniQlMUt+8pfp4eItxEV9w2eYv/pKNY=; b=b8M/gh+4q1NYGjW4fHiCxavt8kvAujSabVUAqPP40PJd8BPNl8pbvsSggr7wLH2mF2 Sh0ZNzlw9QXvnHThijlP+W7WgaFiUn/pa2GhadCPCfBW3Rl++OfFUg/YzsaCyvbbtlCs Id7nEPqWgnm7jyIXTAzqrPZhjXTW/hkFUfKHAXVIfqdJjzNUJJDjgxP6VKNCJIJ+hwil ThdIE2nKECLxEr7o/LlYeh9B+OLeoLQY1fEx6SbIBuGYKGeQAFOt6+lb7WRfMfrZ32jq mfjtnDxo9EyHvRcdd4mwn65R5vifUbYvCHof/fo7f/8IRo1qjFbju3qtp6Sfw6qn2cko P64w== X-Gm-Message-State: ANoB5plkaIeve7hyiwHo8WsXMbmq/WiylwzoJC2lhupzlfdeU7b1pJxv UDZBOvFMRpwYfotNJnRUPCOpdQ== X-Received: by 2002:a2e:c52:0:b0:277:9bf:9411 with SMTP id o18-20020a2e0c52000000b0027709bf9411mr18528188ljd.504.1670225508159; Sun, 04 Dec 2022 23:31:48 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id k8-20020a05651210c800b004acff58a951sm2022349lfg.133.2022.12.04.23.31.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 04 Dec 2022 23:31:47 -0800 (PST) Message-ID: <380178d3-7248-4200-d9db-2fd8584eb386@linaro.org> Date: Mon, 5 Dec 2022 08:31:46 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [RFC PATCH v1 1/2] dt-bindings: usb: samsung,exynos-xhci: support Samsung Exynos xHCI Controller Content-Language: en-US To: Jung Daehwan Cc: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Mathias Nyman , Arnd Bergmann , Linus Walleij , Colin Ian King , Artur Bujdoso , Juergen Gross , Tomer Maimon , "open list:USB SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/SAMSUNG S3C, S5P AND EXYNOS ARM ARCHITECTURES" , "open list:ARM/SAMSUNG S3C, S5P AND EXYNOS ARM ARCHITECTURES" , open list , sc.suh@samsung.com, taehyun.cho@samsung.com, jh0801.jung@samsung.com, eomji.oh@samsung.com References: <1669860811-171746-1-git-send-email-dh10.jung@samsung.com> <1669860811-171746-2-git-send-email-dh10.jung@samsung.com> <20221205020634.GA54922@ubuntu> From: Krzysztof Kozlowski In-Reply-To: <20221205020634.GA54922@ubuntu> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 On 05/12/2022 03:06, Jung Daehwan wrote: > On Thu, Dec 01, 2022 at 09:59:06AM +0100, Krzysztof Kozlowski wrote: >> On 01/12/2022 03:13, Daehwan Jung wrote: >>> Add the Samsung Exynos xHCI Controller bindings with DT schema format. >>> >>> Signed-off-by: Daehwan Jung >>> --- >>> .../bindings/usb/samsung,exynos-xhci.yaml | 25 +++++++++++++++++++ >>> 1 file changed, 25 insertions(+) >>> create mode 100644 Documentation/devicetree/bindings/usb/samsung,exynos-xhci.yaml >>> >>> diff --git a/Documentation/devicetree/bindings/usb/samsung,exynos-xhci.yaml b/Documentation/devicetree/bindings/usb/samsung,exynos-xhci.yaml >>> new file mode 100644 >>> index 000000000000..c5dde53b6491 >>> --- /dev/null >>> +++ b/Documentation/devicetree/bindings/usb/samsung,exynos-xhci.yaml >>> @@ -0,0 +1,25 @@ >>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >>> +%YAML 1.2 >>> +--- >>> +$id: https://protect2.fireeye.com/v1/url?k=7899b46f-19e45c17-78983f20-74fe485fffb1-728a1b33a5d009dd&q=1&e=bdc50247-e986-43da-a15e-03ac6c3a25e8&u=http%3A%2F%2Fdevicetree.org%2Fschemas%2Fusb%2Fsamsung%2Cexynos-xhci.yaml%23 >>> +$schema: https://protect2.fireeye.com/v1/url?k=ea1282f0-8b6f6a88-ea1309bf-74fe485fffb1-536f21757c62f28b&q=1&e=bdc50247-e986-43da-a15e-03ac6c3a25e8&u=http%3A%2F%2Fdevicetree.org%2Fmeta-schemas%2Fcore.yaml%23 >>> + >>> +title: Samsung Exynos xHCI >>> + >>> +maintainers: >>> + - Daehwan Jung >>> + >>> +properties: >>> + compatible: >>> + const: samsung,exynos-xhci >>> + >>> +required: >>> + - compatible >>> + >>> +additionalProperties: false >>> + >> >> These do not look like complete bindings... What type of device has no >> resources at all, just compatible? >> >> Best regards, >> Krzysztof >> >> > > It gets resources from dwc->xhci_resources as you can see > dwc3_host_init(usb/dwc3/host.c). I think it doesn't need to get another resource. You refer to driver, but we talk about hardware. Not driver. Your hardware has no resources, so this does not look like complete binding. Best regards, Krzysztof