From patchwork Thu Aug 17 21:37:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Halaney X-Patchwork-Id: 714456 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60555C677C4 for ; Thu, 17 Aug 2023 21:40:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355375AbjHQVjh (ORCPT ); Thu, 17 Aug 2023 17:39:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355433AbjHQVjV (ORCPT ); Thu, 17 Aug 2023 17:39:21 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D80CE2D62 for ; Thu, 17 Aug 2023 14:38:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1692308315; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=t+Q9qx3hi2h+g9EvT9tp6a1ezCBYFQCJEttZz/Qfdlg=; b=DbapNXWopkv6pquIfsHJz7zG3w+N3yBDfiCiW9Tv0dgYL4m1Zhj7Ks2YvcxqHlcOGpCjz8 lleTGzj0xd/fIJsc2icujbLSwNduFuVMrxd9elkhWAt/AZRbMiMGOa89JLRZz2LjyUDJ9C R1mXxrWYiU5wyV9zEIHBzbb8N1apZo0= Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-447-6a33C2JlObijcM7JkJTvXg-1; Thu, 17 Aug 2023 17:38:33 -0400 X-MC-Unique: 6a33C2JlObijcM7JkJTvXg-1 Received: by mail-qk1-f198.google.com with SMTP id af79cd13be357-76d74dcdf03so35143285a.3 for ; Thu, 17 Aug 2023 14:38:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692308313; x=1692913113; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=t+Q9qx3hi2h+g9EvT9tp6a1ezCBYFQCJEttZz/Qfdlg=; b=dZ4ylgsg3IOtpm+HgDE2IYY/0fo7LklXwBibI+ESO/Ch1ARAUxviZg48hcqe2C7V/h MQhZQQBSOESZmJqX4wqH622DCrH0iGSNVKE1KCHCoaweFsX/McOoC20B5+TspY1wFnNl HYuSaOl6niwafJVi1aO3VHmYMu07oyFEgw+jlVj6MwUo3eKNvTuzEmYVL9yKe77NmUHb kWBzk690QSjV29jXdFT7u1nQy17oJ3rB8DvFjdtU5oprypXJH7EKgSOPoWZ1Rw7ixGx8 HSV1jqGVlDxxVff1FDDyPT06SIK02vXKhJcCNOxmpE5sEONsqPIt9i4FcvW0Jjkwkpbr cOVQ== X-Gm-Message-State: AOJu0Yy/xCh6So4+fjhOkflo3L6T54f2kLCqjRo7m7rTuHuGGOJp8fG7 /bNZkxhIAj9SuYNIuoo8YalMEt8RB7MNWMXqcLnj0DXvfkF0mC8ZYqmVz5eRMK4Lwv+A5Lbpbgw z42xy4ARENS34q6PEXbsxPgqVgmbQ7g== X-Received: by 2002:a37:ac1a:0:b0:76c:a908:a50a with SMTP id e26-20020a37ac1a000000b0076ca908a50amr864839qkm.64.1692308312820; Thu, 17 Aug 2023 14:38:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHq1VG3xXKaLS9P5CbXK1T90KNGC83SeOzg9rVLkO2mrfMJbAHDwmt3qJWv5sUZsTvUTHMI+Q== X-Received: by 2002:a37:ac1a:0:b0:76c:a908:a50a with SMTP id e26-20020a37ac1a000000b0076ca908a50amr864819qkm.64.1692308312563; Thu, 17 Aug 2023 14:38:32 -0700 (PDT) Received: from fedora.redhat.com ([2600:1700:1ff0:d0e0::37]) by smtp.gmail.com with ESMTPSA id s1-20020ae9f701000000b0076c71c1d2f5sm96547qkg.34.2023.08.17.14.38.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Aug 2023 14:38:32 -0700 (PDT) From: Andrew Halaney To: andersson@kernel.org Cc: agross@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, brgl@bgdev.pl, Andrew Halaney Subject: [PATCH 1/2] arm64: dts: qcom: sa8775p-ride: Describe sgmii_phy0 irq Date: Thu, 17 Aug 2023 16:37:16 -0500 Message-ID: <20230817213815.638189-2-ahalaney@redhat.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230817213815.638189-1-ahalaney@redhat.com> References: <20230817213815.638189-1-ahalaney@redhat.com> MIME-Version: 1.0 Content-type: text/plain Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org There's an irq hooked up, so let's describe it. Prior to commit 9757300d2750 ("pinctrl: qcom: Add intr_target_width field to support increased number of interrupt targets") one would not see the IRQ fire, despite some (invasive) debugging showing that the GPIO was in fact asserted, resulting in the interface staying down. Now that the IRQ is properly routed we can describe it. Signed-off-by: Andrew Halaney Reviewed-by: Bartosz Golaszewski --- arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts index 81a7eeb9cfcd..8fde6935cd6e 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts @@ -285,6 +285,7 @@ sgmii_phy0: phy@8 { compatible = "ethernet-phy-id0141.0dd4"; reg = <0x8>; device_type = "ethernet-phy"; + interrupts-extended = <&tlmm 7 IRQ_TYPE_EDGE_FALLING>; reset-gpios = <&pmm8654au_2_gpios 8 GPIO_ACTIVE_LOW>; reset-assert-us = <11000>; reset-deassert-us = <70000>;