From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 183A3C433DF for ; Thu, 4 Jun 2020 16:08:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E6A2A2072E for ; Thu, 4 Jun 2020 16:08:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=marek-ca.20150623.gappssmtp.com header.i=@marek-ca.20150623.gappssmtp.com header.b="a1QKMWej" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729708AbgFDQIt (ORCPT ); Thu, 4 Jun 2020 12:08:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729704AbgFDQIs (ORCPT ); Thu, 4 Jun 2020 12:08:48 -0400 Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B46DC08C5C1 for ; Thu, 4 Jun 2020 09:08:48 -0700 (PDT) Received: by mail-qk1-x741.google.com with SMTP id n141so6576866qke.2 for ; Thu, 04 Jun 2020 09:08:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marek-ca.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=CvC1fr9DHUx1eySPx6Z5ziIOx+iRh9HidbAiYXl9oUc=; b=a1QKMWejX4JXFneJkps82Y7XMEYg/+9HaO+iVTyst3zuIW5K7Zi/jDz4vb31Kw4bDW ZyL9+zL3rQFnefPvBZayEPCwBoZg1SC5RvZ3mILl+p7O2stJBWzcPpfXOc8Ep33xSNwz 2Q8HCUij8VEPGRtDR7j7xkDwM0QL7dw2WJ9qoP5Jz+LYVys2D7TxF9gtgdTuby0VvL+F nn1ApHIzP6u3v9bbdS38K9Sv7EQTmwXPYguNllWpzoqcX0MC3C/xUGsNCWC7FjZ6gaxt hee/SsuivwYYcJJ2PcNOQ5iF0UfPV+xN1u9+HMFjDYTFwNJ4fT0YUEkPVMqynWToHUJF 0o9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=CvC1fr9DHUx1eySPx6Z5ziIOx+iRh9HidbAiYXl9oUc=; b=NsM4Qr4zHgmOe6KgsQqnl1Pj4AOIIE83JZWXHO0thbUAOu2w9c5ufbpD4bscVUGHti ttVJRLYg9ZmrYoLilpk7aIGDds3KgDoUWWr0xzlDuq9kNxfxIpPqEZnYLZ4Yc5rxAxma k0HTN+5FEIYUCBGfLqSpAQ6THmpjf+gnA+qPY/1kdvKa+I1hEwd7OH/XfxveQtDtthLN lurO8L1PmLpIPWAa/xLv+tS09ZL6FN/cqaN5UYT+Zd4g8gxEp5ynWu0VKaELMGBw1WcD DCHTUkLn3YO5pwRjrb0AYSkiOs196izgDW4k5MmrA5qz+gcpmUz+KzP9mQGrfRXw4goG i2yA== X-Gm-Message-State: AOAM530198pHf/AFzDiM8BgjvbNEKrAYZjb/nFCsyvaNBMUrsblnTZPi alCNL3BEFwmFChF0ENgnhW0icg== X-Google-Smtp-Source: ABdhPJxNi7acIYvvdOAj4Iemrb5EcFB3U4dSwhOTCOTWDkvx1IWZ7y8LSlmXC2IGY+9DLow8U7/YpQ== X-Received: by 2002:a37:9d52:: with SMTP id g79mr5391209qke.331.1591286927657; Thu, 04 Jun 2020 09:08:47 -0700 (PDT) Received: from [192.168.0.189] ([147.253.86.153]) by smtp.gmail.com with ESMTPSA id 185sm4614162qke.92.2020.06.04.09.08.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Jun 2020 09:08:46 -0700 (PDT) Subject: Re: [PATCH 0/6] arm64: dts: qcom: smmu/USB nodes and HDK855/HDK865 dts To: Manivannan Sadhasivam Cc: linux-arm-msm@vger.kernel.org, Andy Gross , Bjorn Andersson , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list , Rob Herring References: <20200524023815.21789-1-jonathan@marek.ca> <20200604135221.GH16719@Mani-XPS-13-9360> <200d1f60-781b-51c7-1a38-c955f59919de@marek.ca> <20200604155825.GI16719@Mani-XPS-13-9360> From: Jonathan Marek Message-ID: Date: Thu, 4 Jun 2020 12:09:09 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20200604155825.GI16719@Mani-XPS-13-9360> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 6/4/20 11:58 AM, Manivannan Sadhasivam wrote: > On Thu, Jun 04, 2020 at 10:06:19AM -0400, Jonathan Marek wrote: >> On 6/4/20 9:52 AM, Manivannan Sadhasivam wrote: >>> Hi, >>> >>> On Sat, May 23, 2020 at 10:38:06PM -0400, Jonathan Marek wrote: >>>> Add dts nodes for apps_smmu and USB for both sm8150 and sm8250. >>>> >>> >>> I've tested this series on an SM8250 based board and able to get Type C (USB0) >>> working. There are also couple of Type A ports (USB1) on that board behind a >>> USB hub. It is probing fine but I don't see any activity while connecting a >>> USB device. Will continue to debug and once I get them working, I'll add my >>> Tested-by tag. >>> >> >> HDK865 also has a couple Type A ports, I am using them with devices already >> plugged in during boot and I haven't hit a problem like that, but I think >> I've seen the same issue when hotplugging. IIRC the behavior was a bit >> weird, like plugging a device in the Type A port (USB1) nothing would >> happen, but unplugging/replugging the type C port (USB0) would cause the >> Type A port device to start working.. >> >> Have you tried with the devices already plugged in before booting? >> > > Tried it but no luck :/ Also plugging and removing Type C doesn't make any > difference. > This one might be obvious, but do you have 5V power coming out of the type A ports? > Thanks, > Mani > >>> Thanks, >>> Mani >>> >>>> Also add initial dts files for HDK855 and HDK865, based on mtp dts, with a >>>> few changes. Notably, the HDK865 dts has regulator config changed a bit based >>>> on downstream (I think sm8250-mtp.dts is wrong and copied too much from sm8150). >>>> >>>> Jonathan Marek (6): >>>> arm64: dts: qcom: sm8150: add apps_smmu node >>>> arm64: dts: qcom: sm8250: add apps_smmu node >>>> arm64: dts: qcom: sm8150: Add secondary USB and PHY nodes >>>> arm64: dts: qcom: sm8250: Add USB and PHY device nodes >>>> arm64: dts: qcom: add sm8150 hdk dts >>>> arm64: dts: qcom: add sm8250 hdk dts >>>> >>>> arch/arm64/boot/dts/qcom/Makefile | 2 + >>>> arch/arm64/boot/dts/qcom/sm8150-hdk.dts | 461 ++++++++++++++++++++++++ >>>> arch/arm64/boot/dts/qcom/sm8150.dtsi | 180 +++++++++ >>>> arch/arm64/boot/dts/qcom/sm8250-hdk.dts | 454 +++++++++++++++++++++++ >>>> arch/arm64/boot/dts/qcom/sm8250.dtsi | 287 +++++++++++++++ >>>> 5 files changed, 1384 insertions(+) >>>> create mode 100644 arch/arm64/boot/dts/qcom/sm8150-hdk.dts >>>> create mode 100644 arch/arm64/boot/dts/qcom/sm8250-hdk.dts >>>> >>>> -- >>>> 2.26.1 >>>>