From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.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 3DB7E4EC66C for ; Wed, 30 Sep 2026 13:02:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790773370; cv=none; b=pTjlHIGQLTDaJKTB+ZpsRkjSGQCf/bTw6bJWFDTgJFuchZxCL9MsSR7bDx1B9/nM5xgBRIqbSaCQJa5X3gpDFTFJGhaUXizcEAlNiXprDSFx6z0up1a0TTAZLBKEey3KyPlUxvlzJ3bJ0ONLDxmCxnnHrZlS7n73P45eefJ5gLM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790773370; c=relaxed/simple; bh=4vHh8MmN5f2Z9XIEwQh0PcQ24VZUdkZZXQMWG9k82N0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=UHecKl0jWOXW7K9x7oSj5iNT8XAHMLJwUD19ZgrVZKbYWUDhGOxFG6jcYkvDrU7BaQSWZj/T22cyAetHcL26VaIjMbL1c0sYYO5mWg40VqpEZ0WUbG1V/g+kN3PMSjFHrYtUX4i5Ob2rYBVMUqaHYALUISPF9T3+2Gl6KRWlU5c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=embeddedlinux.blog; spf=pass smtp.mailfrom=embeddedlinux.blog; dkim=pass (2048-bit key) header.d=embeddedlinux.blog header.i=@embeddedlinux.blog header.b=FFjCu1pS; arc=none smtp.client-ip=209.85.216.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=embeddedlinux.blog Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=embeddedlinux.blog Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=embeddedlinux.blog header.i=@embeddedlinux.blog header.b="FFjCu1pS" Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-39647aa9d52so1398994a91.0 for ; Wed, 30 Sep 2026 06:02:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embeddedlinux.blog; s=google; t=1790773357; x=1791378157; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=4vHh8MmN5f2Z9XIEwQh0PcQ24VZUdkZZXQMWG9k82N0=; b=FFjCu1pS5KghVbeqHLhwRGNL80kvHmLAsLE8uL0wfFNMxIt7b2CpoAXhMpAn7nmIqG Adnr0tsm8JsHaHcJXTOz3o5J55xZ7DsVCLsbWqgndDkxx+d8Xl0xltlWSkwrZQaFe2vM zcArLaNq0KaXkK3LMn8HlIhdJJ+CETLHsBafcFqd0a09xjNkU1cnnvXsPHN7bD++uwL6 GvfrtsP+LRLsaaRve9dVFS5iOt1uL/h9spYBFTxSZhJK7G6FRHjkHXqTznDkm4D1HLMx krpJo+pcyffFOmm68m6RVk15EV7b8t4J41wSjUWM/TTQjBesVtsIJcDlc/K4ebd6EUzi B75Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790773357; x=1791378157; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=4vHh8MmN5f2Z9XIEwQh0PcQ24VZUdkZZXQMWG9k82N0=; b=SNSn8Rs7EUPmkCrveYLrwTYdPFt66vckvFteuRGac0bCZXsh0yNV8DKstF325hiD72 /Y4iIx+KkhwLzXAABlwvpVkAOMUM87jN/uUhiBMeaspqklZUwMrMiyTmkoCfA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3a4d18e3b8dmr775583a91.54.1790773356655; Wed, 30 Sep 2026 06:02:36 -0700 (PDT) Received: from ltu.. ([171.245.4.151]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-cc7dab424e8sm853583a12.32.2026.09.30.06.02.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Sep 2026 06:02:34 -0700 (PDT) From: Nguyen Minh Tien To: Wilken Gottwalt Cc: Bjorn Andersson , Baolin Wang , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Philipp Zabel , Andre Przywara , Bastian Germann , linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] riscv: dts: allwinner: d1-t113: Add the hardware spinlock Date: Wed, 30 Sep 2026 20:02:21 +0700 Message-Id: <20260930130221.129529-1-tien.nguyenminh@embeddedlinux.blog> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260927132707.5f484946@posteo.net> References: <20260927025626.69614-1-tien.nguyenminh@embeddedlinux.blog> <20260927025626.69614-4-tien.nguyenminh@embeddedlinux.blog> <20260927132707.5f484946@posteo.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Wilken, > Wouldn't it make more sense to add the "allwinner,sun20i-d1-hwspinlock" line to > the driver in the sun6i_hwspinlock_ids struct, drop > "allwinner,sun6i-a31-hwspinlock" here in the D1 device tree and update the yaml > file accordingly? Thanks for looking at it. Bjorn hasn't replied yet, so I looked a bit more at the naming. I'd like to keep the A31 fallback: it's the usual pattern, other blocks in this dtsi do the same (timer, I2S, LED controller), and Conor already acked the binding in 2/3. If Bjorn prefers a driver entry instead, I'm fine to change it. > Oh, and I may be able to test it against the D1, I own a Sipeed Nezha. That would be great. You don't need FreeRTOS for it: I tested with a small Linux module that takes each lock and checks the status register. I can clean it up for the single-core D1 and send it. Thanks, Tien