Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp360333rdh; Sat, 23 Sep 2023 13:52:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH3Jqa0U3vC1+9mB7UQLFJZtMpLswZl3TcR5BNZ17Pnp2l1ltY+n2SfEur5GBzMDRdla3a6 X-Received: by 2002:a17:902:b942:b0:1b9:de67:286f with SMTP id h2-20020a170902b94200b001b9de67286fmr2719380pls.49.1695502361811; Sat, 23 Sep 2023 13:52:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695502361; cv=none; d=google.com; s=arc-20160816; b=YrOeI9U4uChPOqWsVL7qvc/GBNuu+5ykK81sqrpmWvc4WNsel7x6WdFAr5SArTyKEO RdptrdHQxGBSdViOiRAZd1fZdb0PDRqt3+F06I3F8BxlAK4yQvZ3Uwubfo7XgMHl7Ct8 chpgSAm7btWRBHUuIk/hoxSi1DPKUjnBdhZjEt+ayw9h+3BTKd/M5ITXbwnHOW4iEa9R WhTCW78SrbiSf0D+DYL9PpM4ifqeei8QfAEWUpu6zpPA/qbnoxQcJdK68gesfPENOkF4 6vJYIppBSbA/ZZiqjui0Hnyg6IKTFE7mMANNF8GDDkehrZQBaUoU+sVACuu7CYnOa8dM RqOg== 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=38HTal4f4sXppv8oLqqAylKmEA9yjUTc4W6rtp1s3qw=; fh=FlvzMC0zD+TDJQvNNDUNATkTljyJSS4j0bvnFvqTU7c=; b=zkHRgItvVUHI4R+BCP6NF3KsI9o+YJ5E2tUCwt44EBzOBtI14qLSgaCOSeb9W0BslI PCWN1ybFCZVB133pYe8ewsRNx5OnqMn2Zdr2YX+rAYPikco2u4tNfU1HKfhOmdf3QZzZ vVzUcUy7XabxSeLwoRCeLvaYdg+1pa/sc0rVmCzGATn1i8N3Um5l9wfWEurInsKUFkRB WFWV684huoJoDgyEYHUrYl+nKDAQaAb4vLz6MZbEo6Lke3RILnhOuzLW6ljY0cb/s8jf evizGHkFn9zWJJ5f6PAgwkDPbUWjCrHXsvgNAdX2j1K1l6+nEDzBn1KIdN8PJRFYJ2P0 vweQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="bR4F/CJX"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id o7-20020a170902d4c700b001c57c952622si6453182plg.446.2023.09.23.13.52.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Sep 2023 13:52:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="bR4F/CJX"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 8694F835DBDF; Sat, 23 Sep 2023 04:46:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230500AbjIWLqY (ORCPT + 99 others); Sat, 23 Sep 2023 07:46:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229655AbjIWLqW (ORCPT ); Sat, 23 Sep 2023 07:46:22 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01562199 for ; Sat, 23 Sep 2023 04:46:16 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-986d8332f50so449492466b.0 for ; Sat, 23 Sep 2023 04:46:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695469574; x=1696074374; darn=vger.kernel.org; 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=38HTal4f4sXppv8oLqqAylKmEA9yjUTc4W6rtp1s3qw=; b=bR4F/CJXaDrRO73kPTdk75S6knjhpkVarRbKE6QbyAmkyfN2wrWcbKenECJD5hBmlY CZI4vmn/wBFZYxT/Rbqp44WWrrhVDGJXdRi7toH1qeizPx3IyOrbvZD4KCseblgkSTMt CH2PxqZA839uY1Kq65Ci69EFBRq94HiJ0QmbEJSgOhFpQuxquPFueLKf4uu23i8Pe99f YzzxaABn/TniOtfZKsYiVCQDnouH86oMcHkJaaQuQ+z11MkVt/Idxx+qJBHd8l+ZJ6vu Gzc42qKVkmt3MgmEgCnw00G1l28IZsk6TErSK3E8vuhTMQDOcldjjlpPpSAgZy/RSIlu AWPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695469574; x=1696074374; 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=38HTal4f4sXppv8oLqqAylKmEA9yjUTc4W6rtp1s3qw=; b=va1HgpfwWxHDfTpyEOiUcJU8n2gZ91GRfzWYAPEnzHvj4JsjyEFk73Rs15jse1TyD/ KZU4jHeMCf7G8FNAmaCcFP1KnKhUgTdCf80wb0VKtWqjdhKhiCVR2Bw9a418JkxIr8iB 825IWr3lgVAghEAsjZyv8YgyYWaYJn9HzReWPp/5p/q/7mHM7oUN56Jt8JR4pqyRHgoh u915MUvIBdeCWfWKNM2Tfh5WPaF/hPycPpybb60tNf+XNjKIanoq57P27jzZcJKLirJf Tyz1ciCyS9RaTayAXa467VeSo5QFprfpPIMbuK55wah8+OeFtxOneqVP6LZjKUC0/NMT uFug== X-Gm-Message-State: AOJu0YxSR8ktfEkfIoDZnbzgb/o/OzG2Agl8ZLDiPwBtYFlQJV58rGhC 4xCcBODQBc9BDfb+fikUzuFWQJ7nKab9M29UPLsluw== X-Received: by 2002:a17:906:9c2:b0:9ae:5492:640 with SMTP id r2-20020a17090609c200b009ae54920640mr1472224eje.32.1695469574497; Sat, 23 Sep 2023 04:46:14 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.100]) by smtp.gmail.com with ESMTPSA id j19-20020a170906051300b009937e7c4e54sm3879169eja.39.2023.09.23.04.46.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Sep 2023 04:46:13 -0700 (PDT) Message-ID: Date: Sat, 23 Sep 2023 13:46:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v1 1/2] dt-binding: usb: ci-hdrc-usb2: document Nuvoton NPCM supprt Content-Language: en-US To: Tomer Maimon , Rob Herring Cc: peter.chen@kernel.org, gregkh@linuxfoundation.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, openbmc@lists.ozlabs.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20230918165958.2659-1-tmaimon77@gmail.com> <20230918165958.2659-2-tmaimon77@gmail.com> <20230919162837.GA4051010-robh@kernel.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=1.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email 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 (pete.vger.email [0.0.0.0]); Sat, 23 Sep 2023 04:46:23 -0700 (PDT) X-Spam-Level: * On 21/09/2023 15:17, Tomer Maimon wrote: > Hi Rob, > > Again thanks for your suggestion I took a look at the > drivers/usb/roles and I am not sure it answers NPCM ChipIdae case. > For example, in the NPCM845 we have ten UDC ChipIdea modules (UDC0-9). > Only UDC8 and UDC9 are muxed with USB host0 and USB host1. > NPCM UDC and NPCM USB host are different HW modules therefore different drivers. > > The ChipIdea driver uses its own internal USB role function to switch > between ChipIdea UDC and ChipIdea USB host and we can't replace it > with a unique NPCM USB role function also we need to set the mux only > at the probe stage. > > This is why I have added nuvoton,sysgcr property to the NPCM ChipIdea driver. > > With the above do you think I should do it differently? Your entire rationale above explains drivers, so it is not proper justification for bindings. How your probe stage has anything to do with bindings? If drivers do not work or miss something, change them. Best regards, Krzysztof