From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (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 BD8091CF2BA for ; Wed, 2 Oct 2024 18:35:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727894102; cv=none; b=JUiaQCalyHivRrTG454dkmLGU9lDJuEeZfJT9DG1S4NZh2cPk7NM0Gv/mR49JnPD+MYlztrNeiRUbFM96+/gJGL0DUkim6FpmXIykFcjAURiJU6mHAKQDBOEZyYJoO9ui3AqTKk4bzYpwzyaX2TR4dM7wflJH522EkQ+OtzKvog= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727894102; c=relaxed/simple; bh=4mOa3i0op2Pd4Qv4ekVZza/cC60XQdp58G07WH/bwuk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=E6cN1IWyjthaFJTbTQOQP9eo4FxPzqe5nstyYW0JxqpedXzT3icTx1oSIk+qxuvisDbBR180Mg+LNgmPKW35497lRV6oEYiI7gkDtN9awP5ZH1ZfcqdQgYCNUN0Nl3p02oi8Dqih/uSbMUQ9xDBGW/HpRvaQ9gqHlZP1UnNlD3E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tenstorrent.com; spf=pass smtp.mailfrom=tenstorrent.com; dkim=pass (2048-bit key) header.d=tenstorrent.com header.i=@tenstorrent.com header.b=N8IEU5pu; arc=none smtp.client-ip=209.85.214.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tenstorrent.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tenstorrent.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tenstorrent.com header.i=@tenstorrent.com header.b="N8IEU5pu" Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-20b90ab6c19so767365ad.0 for ; Wed, 02 Oct 2024 11:35:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenstorrent.com; s=google; t=1727894100; x=1728498900; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=2bn2F/yqD7qU/04cqSEQXSLsFN+5ARfldGIgsw/yx6w=; b=N8IEU5puvbxPLucPJc3ufjkilft89dUJxRPIfS5RrKgYvOi/K8W3bmLhVnpCZYA9FV 80Bk5ckUgiRhjWByZpOgkOvRVzKkhGl8bInt2FabSUV1W+BBuxj8KA/MqfI3uYSzHGjp UZZUMnGNbivZ98sI3uLjHcos/cJMhQpcBBQNeJA8Jp4Uo3lSLfZGgkZPZIsfpOXlf0q7 SwBccXXm+qcPzH5ufHgifzqS58D/uVEcR1/A7NnJ6fOmgCXWLw4HWt3Aohyc9XfkW2i8 iaAZ4VK7CzFnK5DIjebtpTQza01ueIZ00/9ujurp9Bzv9QT8jr7Frugx6ZXAXgIlyljU 9dCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727894100; x=1728498900; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2bn2F/yqD7qU/04cqSEQXSLsFN+5ARfldGIgsw/yx6w=; b=a1uRgCwHf63xgSvBl0YoSj6EbZtQaGYHwFAv4PwdwJNtUZuO/cxBgPtRDETelDJIUV 1pQDlQMqtsc5ylbQbEDQhC+/0SJmltuKdHakn5SovqElSmq4SStYWRy+Pe5tbVJWnLic B+DRtfKE1AN+Yl8vLfN2Ehg1tHPBQX7zHT2oYMXlze/9E97EuJwSCf0LO4EuNbvKZeyr hvu+GBYmawKP1yfS7+GHgTwIh7fwFjvb+JVSJFDoGU0tmQtc/craJoM42k+jE6wxeXRJ WTde2er0S3bPQwgKEipEaHayaBN+O7f7zi2emUv7J82M5r1qHaSEFxpoHRV0UXFIVTxJ kt0Q== X-Forwarded-Encrypted: i=1; AJvYcCV0ccHY9ALUzeyJGAjjcYq/k98G7bOj+lD2YmVzC3yF7196CnzACCqIXk3GGnsDSdi1uXIQ2kDYxsXc@vger.kernel.org X-Gm-Message-State: AOJu0Yz05bnxctBDwLmjiXymP52FFKxtBdhbbczhCIFR8UN4gw4rQTo9 ix5RjPCI7ILbl9iekqguhxVRcBFiw8ox+Ppbo3vYirUCTy0wZ2mHB2FZYmyhpyA= X-Google-Smtp-Source: AGHT+IGyYDFCPfBUD6cqyyaq/aeFBAk0GqWubZItpSq29H18WWXrjLh/21OEwSnJg9ub9uTxFHI7LQ== X-Received: by 2002:a17:902:dac4:b0:20b:13a8:9f67 with SMTP id d9443c01a7336-20bc59ec852mr70149115ad.1.1727894100059; Wed, 02 Oct 2024 11:35:00 -0700 (PDT) Received: from x1 (71-34-69-82.ptld.qwest.net. [71.34.69.82]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20b5b167128sm69551315ad.283.2024.10.02.11.34.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Oct 2024 11:34:59 -0700 (PDT) Date: Wed, 2 Oct 2024 11:34:57 -0700 From: Drew Fustini To: Linus Walleij Cc: Drew Fustini , Guo Ren , Fu Wei , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Emil Renner Berthing , Thomas Bonnefille , linux-riscv@lists.infradead.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/8] pinctrl: Add T-Head TH1520 SoC pin controllers Message-ID: References: <20240930-th1520-pinctrl-v3-0-32cea2bdbecb@tenstorrent.com> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Tue, Oct 01, 2024 at 02:13:20PM +0200, Linus Walleij wrote: > On Mon, Sep 30, 2024 at 9:51 PM Drew Fustini wrote: > > > This adds a pin control driver created by Emil for the T-Head TH1520 > > RISC-V SoC used on the Lichee Pi 4A and BeagleV Ahead boards and updates > > the device trees to make use of it. > > Thanks Drew, v3 looks good. I've merged it to an immutable branch: > https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git/log/?h=ib-thead-th1520 > > Then I merged that into my "devel" branch for v6.13. Thanks for taking this. Will that also end up in linux-next eventually? I'm working on a TH1520 Ethernet driver which depends on the pinctrl driver. Andrew Lunn replied to me that all the dependencies need to be in linux-next [1]. > You can merge the DTS/DTSI files through the SoC tree, FWIW: > Acked-by: Linus Walleij Thanks, I'll take the dts through my thead tree [2]. > I think I'll make a stab at using guarded mutexes etc and see what > you think about it! Do you mean using scoped_guard() for thp->mutex in th1520_pinctrl_dt_node_to_map()? thanks, drew [1] https://lore.kernel.org/linux-riscv/99af411c-ff40-4396-a6e2-5aac179ba1be@lunn.ch/T/#t [2] https://github.com/pdp7/linux/tree/thead-dt-for-next