Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp2514796rwl; Sat, 5 Nov 2022 07:52:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6TAIRRXlt9t/5+SDFrJV8A4Z7noSAuKmpsHT/kSRSVeL5kKnhN5PvN5N4XiIoxCzbhwAfj X-Received: by 2002:a17:906:5a50:b0:7ad:d3a4:9df2 with SMTP id my16-20020a1709065a5000b007add3a49df2mr30381804ejc.608.1667659968510; Sat, 05 Nov 2022 07:52:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667659968; cv=none; d=google.com; s=arc-20160816; b=HwYDLkbEoYyVO54BKp8WRSD2mbZfeqbJx1PGyx02m0tMpIcBvgJ3qmeCIbFLaWGNzb YzBXpnaPARjJMV7Mv+6OYnj7WDgUAuPJfKHgbSNyl3LsH9T+oIyZ2HBMhjOFOZIPTmJv oRuuM0aAl90G2db3tC8Rib2tfvyv+58HHVFaxU4Hrm2VVbXiUqm088Re9wlxrbY4094S z3qKQOxbaMg5jpAtEcruy3b0oqavqfhASJhiX4FCVUVxhcuiLTcL30AWKd7g+rX5Z2M5 Cs/lxymhoE8Bx8S1YIo7FNlkh1XNZkh04k4j+qp8JaA0fd0+u0wlXuOUlgHPWT5cGkrA IArw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9kxMnpGBFhK5XDcHK+clK0zA1ORURoSXxATgvn1K+Co=; b=Fxbea5dZ5L8FwdPUp2Vyhbz/Z7jEkHRS5LtXQGBvIAfxbB2m7YxAfamZdpa+1+v0Cs 8mKDRfZMYeVb3oBl4Tag3qO0Bvpo6I3/pQdsG/EPdoBVGLz0Qb+yyqPsxbNU5nFpZMS/ ntrleFlUjKf69A9uhF6//4IXWh5cN9j+Liqiv06/1U3fouBKA9xvr5qQ+Cjz9Ns5eZS8 s1TxzRXDoA1T8uhwkD1ua6l/IXduLsAgeRLegX/u2mrfI3taJyr69ZBX7ilP/62swUYb 4HB8TfQkCarY1JmKKSI4aOlb0U5zFZrFKXDR5gdkvk+jcm9w13TFALrqahCFbXP8XOWj +q4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JlLT3q1R; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y19-20020a50e613000000b004612505ece4si3047527edm.483.2022.11.05.07.52.24; Sat, 05 Nov 2022 07:52:48 -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=@kernel.org header.s=k20201202 header.b=JlLT3q1R; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229603AbiKEOgl (ORCPT + 97 others); Sat, 5 Nov 2022 10:36:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbiKEOgk (ORCPT ); Sat, 5 Nov 2022 10:36:40 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75C34DF88; Sat, 5 Nov 2022 07:36:39 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 1FDEAB8016A; Sat, 5 Nov 2022 14:36:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D78FBC433D6; Sat, 5 Nov 2022 14:36:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667658996; bh=52TKqIbhnS62Q/72czcmLXuVPsKn8wYMZw9uC8i06Ks=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JlLT3q1RETlC0q1kSaJZlmL0yRjHKpzr4uMdnW3YBisdDg4apo+yn8oDhbFsjFnr+ 8e+SZh/2UNV5qFXhfnLskoJ9IA/8R6h98bNPbWo7NiTOBTCx7UaBiBfAu4cdnBGyQE zvRQVJBZDAD3Is6NOuc7jDJio1+Kxh4NWKzPXyYukgWy9neXi8Ou/np0MmVldmbG+j uWwtOxkExRZP+vwrzFttDbBcNSy3BK1Zd+/chOA7TdHIa8aCWPflH9GfALI2Q5oDxf VVy12aQwEun5liImB0oAHOiM+LheKziyXZsFZwd/lGrD7Mq3YooUJnrUk9A5lILVlG tkcAwoFaoylRA== Date: Sat, 5 Nov 2022 20:06:32 +0530 From: Vinod Koul To: Siddharth Vadapalli Cc: robh+dt@kernel.org, lee@kernel.org, krzysztof.kozlowski@linaro.org, krzysztof.kozlowski+dt@linaro.org, kishon@kernel.org, dan.carpenter@oracle.com, rogerq@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v3 0/3] Add support to PHY GMII SEL for J721e CPSW9G QSGMII Message-ID: References: <20221026074532.109220-1-s-vadapalli@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221026074532.109220-1-s-vadapalli@ti.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, 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 26-10-22, 13:15, Siddharth Vadapalli wrote: > Add compatible for J721e CPSW9G, which contains 8 external ports and 1 > internal host port. > > Update existing approach of using compatible to differentiate between > devices that support QSGMII mode and those that don't. The new > approach involves storing the number of qsgmii main ports for the device > in the num_qsgmii_main_ports member of the "struct phy_gmii_sel_soc_data". > This approach makes it scalable for newer devices. Applied, thanks -- ~Vinod