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=-0.7 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 05787C433B4 for ; Wed, 12 May 2021 20:20:53 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5E29B61408 for ; Wed, 12 May 2021 20:20:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5E29B61408 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=VNBkoavMADOIMZiY6aTx0iI3x5iTF8QcWXP5uyv//7E=; b=narMNZ93YmOqgISvvR1RH8sPh E1BzVUcmwYCXiARDP0tOtocX8jxrdbeM/R7IaD8sUEH1h6FRstpUoxey8qSxq4PWtf6Wkqu+5TzP0 fd+JSXdjtn1MaXcYS5B6XcGT6gWQV9M2B8t/qpQjaTSTRHkfcIg1b6Dla6CRwQ+T66Bao/n/g4g+F /2eVsjN7C6jcSU35BvvBQ/PcbDj/Bso/6ZK/JYhFrDGRUwxJq4SWzaJhJSMaDgs55yAF+SsYFSfE3 XksTKbGM1D09EaAUa9P/ZbIVxTDbLKwLeUke22r+vVkeMCiizDivl/NKH7ldhr2r4RPqUhWRxf83v N/pVsmlRA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lgvIx-003u0n-DR; Wed, 12 May 2021 20:18:04 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgvG3-003tGs-M1 for linux-arm-kernel@desiato.infradead.org; Wed, 12 May 2021 20:15:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=Ess5L+xOXRmxYaXPi1OkUKTPgDo0tGEKtcX8Gli1a7M=; b=fIuz83efwnCkPg2Nj04LSaunw/ OAu+btV6S/zAt1eQptUhDGwvlyWqviTF8Uk2BJ9Ghw/hfE5l3FEcAMJoxT8BiYXaX98x+/tLE5yQG 7Z5CUCe2+CFuv/eT2xKF95WQE4KRG6lniEnP8eF1k5vvA+ssz37ylpEb4/VFO6k8+hzh4C+731/bw lML1LrpXaa3GYbcYHeLw/TsGmogw1z/XVlzh1OF57fDZvbDHlAxMlsSLpsNfgm6bj9D6GvrBk85+G swdV/SfjzhFKJW/wFe4c+aBGER4rzhiayeRmTvdoOcZAjtFyLGB1YoI9jz08wvUFnIdZYtm+JDS0H yoCDvD+Q==; Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgvFz-00AnKX-Uv for linux-arm-kernel@lists.infradead.org; Wed, 12 May 2021 20:15:01 +0000 Received: by mail-wr1-x431.google.com with SMTP id d11so24860475wrw.8 for ; Wed, 12 May 2021 13:14:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=Ess5L+xOXRmxYaXPi1OkUKTPgDo0tGEKtcX8Gli1a7M=; b=bMD1xxDCoYykjIBBe999brSCSiuN3hK3+40TGP10CnhnqZUH4avumUHhe0jPHhpYsK nzJWpPjs5Yc+lHVUKa1cV3kJHdHdK+3d+b9lFiQOzT3gdp/2GIdZQfCUj7F5gBx4h+Eb 50NembGNIrUec+KQYTUi8CLaSiLmMpj1HHj2tHk6Bxu1LHrCj8Usgr6b23cvEP4jkgAH j31VSyiAChSkhpNxliI9cALLQgU0wc2cBLkSuIe+B8XkhjX5TMVcrTDlzIzQyPd/5pdM bTlrFFbdbaHev1D9WC8y8XSoUfJWjWjj4yUnkx1hEfieCDzHPfyunCQOJvBlt4ORGbVN fQGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=Ess5L+xOXRmxYaXPi1OkUKTPgDo0tGEKtcX8Gli1a7M=; b=kuiZiopWj8H0jwpuoMS1pSI0V+fie2qEzdHzyuVwQ6TxX/KdmUTBjC3sjg9BUFSDVv ir+HkrwGUL6pQavXzZvOGUNYE96f2T0p7id8jQswLhvpO4xA4O7dvaJuogLiXYDz7UjV qIrtWQlds0XCAM/647cIEnOtEWYZacrHVjhj2Uztkrug4NrWZnA4DJrow66/qeqy95wW 7HMp+tTbdXVHH80fqJLdJl4FDBRb4V3APOCUiS8WwrD15bA5aAI+IQw9oAGibRjDNhKq dDhCDyHhXQp4UTbHGw/Yas8FWmeI18M1zD6Vs+8/KeDGuc5lgZeLHvAgmfaU7IZtvhuZ FSow== X-Gm-Message-State: AOAM532aGW96fQAcEVyITbWUJFVWk83Ik1oFTYEjFY4Rvyjb3lL/+OMj 1G1Sq/b3Naa3PfhkXgwdrAOj/lQmfFU= X-Google-Smtp-Source: ABdhPJybbYUER9CG6kcFQ36dzqEBntNnGBm+HBlS1sPcUtT0FUIPh559g+wBe0RJQP55zzq6iErIHQ== X-Received: by 2002:adf:e611:: with SMTP id p17mr48475507wrm.161.1620850497911; Wed, 12 May 2021 13:14:57 -0700 (PDT) Received: from Red ([2a01:cb1d:3d5:a100:264b:feff:fe03:2806]) by smtp.googlemail.com with ESMTPSA id z18sm678676wrh.16.2021.05.12.13.14.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 May 2021 13:14:56 -0700 (PDT) Date: Wed, 12 May 2021 22:14:54 +0200 From: Corentin Labbe To: Linus Walleij Cc: Hans Ulli Kroll , Linux ARM , linux-kernel Subject: Re: gemini: sl3516: Mainlining of NS 2502 Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210512_131500_014904_F5D14A57 X-CRM114-Status: GOOD ( 24.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Le Thu, May 06, 2021 at 01:56:28AM +0200, Linus Walleij a =E9crit : > Hi Corentin, > = > I will check the patches you posted too, sorry for being a bit busy > with some merge window and stuff. > = > On Wed, May 5, 2021 at 9:26 PM Corentin Labbe = wrote: > = > > It seems that USB is still a bit buggy, device are detected only if plu= gged before boot. > = > Yeah :/ I don't know that driver very well, only that others use it too > so there might be some people who can help. I haven't mainlined > that patch because there is something that seems wrong about it > but I'm not a USB guy. > = > > I hit a problem on the NS2502, sata drives does not work well: > (...) > > It seems a problem soon after driver probe (qc timeout and HPA error). > > Any idea ? > > > > The SATA works well on my other board (SSI1328) > > having one or two disk does not change the behavour. > = > Could be the SATA muxing, this thing in your device tree: > = > sata: sata@46000000 { > cortina,gemini-ata-muxmode =3D <0>; > cortina,gemini-enable-sata-bridge; > status =3D "okay"; > }; > = > cortina,gemini-ata-muxmode should be 3 for two harddisks > I think. > = I used 0, and only the second slot was working. Using 3 fixed both slots. Thanks _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 B5D13C43617 for ; Wed, 12 May 2021 20:45:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7DB1B61434 for ; Wed, 12 May 2021 20:45:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1387733AbhELUjj (ORCPT ); Wed, 12 May 2021 16:39:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1386794AbhELUWM (ORCPT ); Wed, 12 May 2021 16:22:12 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2476EC06174A for ; Wed, 12 May 2021 13:14:59 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id v12so24848144wrq.6 for ; Wed, 12 May 2021 13:14:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=Ess5L+xOXRmxYaXPi1OkUKTPgDo0tGEKtcX8Gli1a7M=; b=bMD1xxDCoYykjIBBe999brSCSiuN3hK3+40TGP10CnhnqZUH4avumUHhe0jPHhpYsK nzJWpPjs5Yc+lHVUKa1cV3kJHdHdK+3d+b9lFiQOzT3gdp/2GIdZQfCUj7F5gBx4h+Eb 50NembGNIrUec+KQYTUi8CLaSiLmMpj1HHj2tHk6Bxu1LHrCj8Usgr6b23cvEP4jkgAH j31VSyiAChSkhpNxliI9cALLQgU0wc2cBLkSuIe+B8XkhjX5TMVcrTDlzIzQyPd/5pdM bTlrFFbdbaHev1D9WC8y8XSoUfJWjWjj4yUnkx1hEfieCDzHPfyunCQOJvBlt4ORGbVN fQGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=Ess5L+xOXRmxYaXPi1OkUKTPgDo0tGEKtcX8Gli1a7M=; b=ESpBsJ5+dlfhynmEtbe9QvMsnug1oJZA/v5+8py37T5QzXuUl0zGaZ1aPGnXU4Wzg1 hre+gK0LJqe0QE5tGhhO6NfWERlZ00SNizEXvUCg3LNVC3TpeXW4/FTjbyubqql6DcRs NMMPjuP/jK07E1rAECh1jFAYwllIFLsrUkHmLIrVJlYkHWG9O3q45Pmcj9Z2sdBwNM3j DvbuMyO8K/Kwxv0oPn3sZyKpIAtF5jBLgenZOHLEJAhMJSFbHmFMVUk154XcLK/57S59 RwHeeIqesl07Qt7oyd6CD9/0sNB0pFeSi1zVu4LvgooD13yKJKbgtwoaqEbx1lfGiY78 6DuQ== X-Gm-Message-State: AOAM533t/JYYRkOq/5wlJq1YpSJdaIeHdcq4rNyZ3Vl2Xg9DUZmtfBMc rpJzXXjeFnwZNQByu3eeOwI= X-Google-Smtp-Source: ABdhPJybbYUER9CG6kcFQ36dzqEBntNnGBm+HBlS1sPcUtT0FUIPh559g+wBe0RJQP55zzq6iErIHQ== X-Received: by 2002:adf:e611:: with SMTP id p17mr48475507wrm.161.1620850497911; Wed, 12 May 2021 13:14:57 -0700 (PDT) Received: from Red ([2a01:cb1d:3d5:a100:264b:feff:fe03:2806]) by smtp.googlemail.com with ESMTPSA id z18sm678676wrh.16.2021.05.12.13.14.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 May 2021 13:14:56 -0700 (PDT) Date: Wed, 12 May 2021 22:14:54 +0200 From: Corentin Labbe To: Linus Walleij Cc: Hans Ulli Kroll , Linux ARM , linux-kernel Subject: Re: gemini: sl3516: Mainlining of NS 2502 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le Thu, May 06, 2021 at 01:56:28AM +0200, Linus Walleij a écrit : > Hi Corentin, > > I will check the patches you posted too, sorry for being a bit busy > with some merge window and stuff. > > On Wed, May 5, 2021 at 9:26 PM Corentin Labbe wrote: > > > It seems that USB is still a bit buggy, device are detected only if plugged before boot. > > Yeah :/ I don't know that driver very well, only that others use it too > so there might be some people who can help. I haven't mainlined > that patch because there is something that seems wrong about it > but I'm not a USB guy. > > > I hit a problem on the NS2502, sata drives does not work well: > (...) > > It seems a problem soon after driver probe (qc timeout and HPA error). > > Any idea ? > > > > The SATA works well on my other board (SSI1328) > > having one or two disk does not change the behavour. > > Could be the SATA muxing, this thing in your device tree: > > sata: sata@46000000 { > cortina,gemini-ata-muxmode = <0>; > cortina,gemini-enable-sata-bridge; > status = "okay"; > }; > > cortina,gemini-ata-muxmode should be 3 for two harddisks > I think. > I used 0, and only the second slot was working. Using 3 fixed both slots. Thanks