From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CEA2C494A12 for ; Tue, 9 Jun 2026 15:13:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781018018; cv=none; b=hln+yLqY8ZewJJ0NoxR+UDeWWPeky0AVhzILaxR5gUYs4Xvn4hEkkvzeqxNukI8ayb50g+CtKeAedaKzRPO3qkW/w+QUBfd4Vl53XEswIw0CCa073zdd7D3vdHFC7q8d4GnHnoolL/Ko4QbIoX0MV8ddX5kHx2uWhF8TO/xDFCM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781018018; c=relaxed/simple; bh=s24y9GPV7y+NJAKmvwvAX1cER3c+JYcl/Cz6+DphJa0=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=IObbUK0jju1uCFsJwi7eXOcaN0+c3Rv16SNX3r1mlQI0GIZAcE+rosHhCLYi8oWWPRALOGkFIcxxwe8Lubq3WfLByLrv9An2EMEpPJv0f6isJYrU185KApxt9SCCQy1BASBfWUW2Tf51C/V/D/hdmZYuIh8iwZksDNpkyL9nU2s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=aNvmHBx2; arc=none smtp.client-ip=209.85.208.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aNvmHBx2" Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-69155ca09d8so4129536a12.3 for ; Tue, 09 Jun 2026 08:13:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781018007; x=1781622807; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=3neVONgdAVcEZX3f1l1KWGoYXB46SXm/tOXseRIlMNM=; b=aNvmHBx2tHLb1lluUrYs1uQzVJcvwHSyvnhBJFTOWpn/IZLK9O06PRCpz+IJ90keLP g24YjrWQNGyzoVkhvKukEngRyFm0AoW8aLvnezAZNa0LxFi/IaRwuDuFfEMKMuGp8BsK LehignkKO11waRS0BofFk3GywQZKqx/pheAP0ZyqF4xO5NLE9oVDLLPrpJGz54zjIPQM JaS3KBYZP2r4JRzZII8eGBBZAeG4jJiYjdgwEKAct5HBVAxesGsRdOrx6EBpR6Aro0kK WZHl+V3eW1nvqpHTdk+jYWNqzTEsfbg1xIW3Q7sZ5k/2NJd7UtkfArzBj5dbYRj4jzOp DJ6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781018007; x=1781622807; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=3neVONgdAVcEZX3f1l1KWGoYXB46SXm/tOXseRIlMNM=; b=KQdkyo/zwBi+egj6uJGB1ozzy2Gdx7Vq1pDNAg7fjhrfEMHWxvNdwNsNe17j1Q1GpU 4X6ujflj2k1JXtqG8IVz9InW7NG8Nj4kuq//h34waW4UELido+YW/NCcthcTROCv7XJq Lv9jEcET8BphfIyY5mDoWqFE/8T6tDwLqxNIANkfjnKIM1Bgn+8V2wNGd2HfHurYVrjV xnRAuNXd1SomUdgthZXJ/jsYO6hgUMN7Zr2xJ6LvsNT7RdUohU480mdSM3P3LFwhtivz 24q+6q5RrUwISQck1KE/oo9m8JL3nZvdeG1PvqyisOKPkgWGPbDU1lSow+PQClFcuJ/k tAcA== X-Forwarded-Encrypted: i=1; AFNElJ/nDPGGS2WA4rsQM26hXwhLImDhG0fA4JKDud8ZrJqv56ve94Pdfuop4FgBEf9Wd3gw4xJw7TyGZhEJ@vger.kernel.org X-Gm-Message-State: AOJu0YxrHPEirqWE04Pt+Xz1H5QK+kU4zr4dzLVsQus3XwvG8fSFN4Xs uVwM4Tj+ezx3gjomGzqCc0KCCyCtGkmyMUzDKYodts8R0+mUvD3Z00ZD X-Gm-Gg: Acq92OGX/+mYVasuAkutUblSkYaDlhlaALBaRRcBsUN7Khy7DQXDdMh73dZWwec2F0A rAYbzLNZ5XXqYO+99sGsmy176rFK5miVmln2XmIjRJp2nS9o9XiAFFeAudjHxjLIcnsJws56KHU L98vzubXn8+aB4GnSzEbuvt5PnV64R+XANkBO0JZ9TCw4Jo7Fcu1RyvzKLYucVrLfanW4jmmo+o fqYp16/4i0zSkVWK6Qrv2qdZE/W+5yR2a+OwAaSeGqJec3QHqBs3p5YrCf8c3ZgSpBSYM2mRwz1 u0blgTUv/+qWmfJqv2xXeRyUVk/km2ay+J+qo6zbS2SCs1A3oXZwe2ybo5zwyH112NQS4JOWe0e yQ1CRqR2qpq+UNECQ1lUDwYV6YxWItEwCxGd0RljoKSdQQOJy6Lt10u06aAmdsBDE+bi77FuC3Q 4AS0jIRsLRlBUsLWbjtQSM1/JkC5E5xNbO X-Received: by 2002:a17:906:d552:b0:bd9:2b46:99b0 with SMTP id a640c23a62f3a-bf93a00a5c3mr170280066b.49.1781018006681; Tue, 09 Jun 2026 08:13:26 -0700 (PDT) Received: from Ansuel-XPS24 ([2.195.136.12]) by smtp.googlemail.com with ESMTPSA id a640c23a62f3a-bf0517721e5sm1073637866b.9.2026.06.09.08.13.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2026 08:13:26 -0700 (PDT) From: Christian Marangi To: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Simon Horman , Jonathan Corbet , Shuah Khan , Christian Marangi , Lorenzo Bianconi , Heiner Kallweit , Russell King , Saravana Kannan , Philipp Zabel , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, llvm@lists.linux.dev Subject: [PATCH net-next v6 08/12] of: property: fw_devlink: Add support for "pcs-handle" Date: Tue, 9 Jun 2026 17:12:04 +0200 Message-ID: <20260609151212.29469-9-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260609151212.29469-1-ansuelsmth@gmail.com> References: <20260609151212.29469-1-ansuelsmth@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add support for parsing PCS binding so that fw_devlink can enforce the dependency with Ethernet port. Signed-off-by: Christian Marangi --- drivers/of/property.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/of/property.c b/drivers/of/property.c index 136946f8b746..e6584a2f705d 100644 --- a/drivers/of/property.c +++ b/drivers/of/property.c @@ -1392,6 +1392,7 @@ DEFINE_SIMPLE_PROP(access_controllers, "access-controllers", "#access-controller DEFINE_SIMPLE_PROP(pses, "pses", "#pse-cells") DEFINE_SIMPLE_PROP(power_supplies, "power-supplies", NULL) DEFINE_SIMPLE_PROP(mmc_pwrseq, "mmc-pwrseq", NULL) +DEFINE_SIMPLE_PROP(pcs_handle, "pcs-handle", "#pcs-cells") DEFINE_SUFFIX_PROP(regulators, "-supply", NULL) DEFINE_SUFFIX_PROP(gpio, "-gpio", "#gpio-cells") @@ -1548,6 +1549,7 @@ static const struct supplier_bindings of_supplier_bindings[] = { { .parse_prop = parse_interrupts, }, { .parse_prop = parse_interrupt_map, }, { .parse_prop = parse_access_controllers, }, + { .parse_prop = parse_pcs_handle, }, { .parse_prop = parse_regulators, }, { .parse_prop = parse_gpio, }, { .parse_prop = parse_gpios, }, -- 2.53.0